Code Monkey home page Code Monkey logo

compilador_julia's Introduction

Hey, I'm Arthur Olga

Brazilian Computer Engineering Student. Passionate about AI and Machine Learning

Connect with me:

arthurolga arthur-q-m-olga-212aab119



Languages and Frameworks

Data Science

python scikit_learn tensorflow opencv

Web and Mobile Dev

react reactnative redux nextjs javascript html5 nodejs figma csharp materialize

Utilities and Databases

docker git mongodb mysql

Other

c cplusplus illustrator photoshop unity

compilador_julia's People

Contributors

arthurolga avatar

Watchers

 avatar  avatar

compilador_julia's Issues

autoIssue

Aluno: arthurolga
Release 2.4.* não encontrada!

autoIssue

Aluno: arthurolga

teste45: falha, não deu erro mais deveria (algo deveria ter saido no stderr)
input do teste:




   x = true 
  if ( x)
    println( 42 )
  end


teste58: falha
input do teste:



local a::String
     a = 1  * "a" 
    println(  a )


output esperado:
1a

output recebido:

a

teste60: falha, não deu erro mais deveria (algo deveria ter saido no stderr)
input do teste:




    if("a")
        println( 1)
    end


teste62: falha, não deu erro mais deveria (algo deveria ter saido no stderr)
input do teste:




    if("a")
        println( 1)
    end


autoIssue

Aluno: arthurolga

teste2: falha
input do teste:


println(5*5)
println(5/5)
println(0/5)
println(1/2)
println(50*50)

output esperado:
25
1
0
0
2500

output recebido:

Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 690, in
main()
File "main.py", line 686, in main
Parser.run(expression)
File "main.py", line 676, in run
Parser.parseProgram(tokenizer).evaluate(globalSymbolTable)
File "/home/raul/Documentos/Github/LogCompTester/Compilers/src/arthurolga/nodes.py", line 210, in evaluate
self.children[i].evaluate(symbolTable)
File "/home/raul/Documentos/Github/LogCompTester/Compilers/src/arthurolga/nodes.py", line 217, in evaluate
print(self.children[0].evaluate(symbolTable))
File "/home/raul/Documentos/Github/LogCompTester/Compilers/src/arthurolga/nodes.py", line 71, in evaluate
symbolTable) * self.children[1].evaluate()
TypeError: evaluate() missing 1 required positional argument: 'symbolTable'

teste4: falha
input do teste:


local x1::Int
local y2::Int
local z_final::Int
x1 = 3 #= bla bla x1 = 9999998 =#
y2 = 4
z_final = x1 + y2 *33
println(z_final)

output esperado:
135

output recebido:

Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 690, in
main()
File "main.py", line 686, in main
Parser.run(expression)
File "main.py", line 676, in run
Parser.parseProgram(tokenizer).evaluate(globalSymbolTable)
File "/home/raul/Documentos/Github/LogCompTester/Compilers/src/arthurolga/nodes.py", line 210, in evaluate
self.children[i].evaluate(symbolTable)
File "/home/raul/Documentos/Github/LogCompTester/Compilers/src/arthurolga/nodes.py", line 167, in evaluate
value = self.children[1].evaluate(symbolTable)
File "/home/raul/Documentos/Github/LogCompTester/Compilers/src/arthurolga/nodes.py", line 46, in evaluate
symbolTable) + self.children[1].evaluate(symbolTable)
File "/home/raul/Documentos/Github/LogCompTester/Compilers/src/arthurolga/nodes.py", line 71, in evaluate
symbolTable) * self.children[1].evaluate()
TypeError: evaluate() missing 1 required positional argument: 'symbolTable'

teste5: falha
input do teste:


local x1::Int
local y2::Int
local z_final::Int
x1 = 3
y2 = 4
z_final = (x1 + y2) *33
println(z_final)

output esperado:
231

output recebido:

Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 690, in
main()
File "main.py", line 686, in main
Parser.run(expression)
File "main.py", line 676, in run
Parser.parseProgram(tokenizer).evaluate(globalSymbolTable)
File "/home/raul/Documentos/Github/LogCompTester/Compilers/src/arthurolga/nodes.py", line 210, in evaluate
self.children[i].evaluate(symbolTable)
File "/home/raul/Documentos/Github/LogCompTester/Compilers/src/arthurolga/nodes.py", line 167, in evaluate
value = self.children[1].evaluate(symbolTable)
File "/home/raul/Documentos/Github/LogCompTester/Compilers/src/arthurolga/nodes.py", line 71, in evaluate
symbolTable) * self.children[1].evaluate()
TypeError: evaluate() missing 1 required positional argument: 'symbolTable'

teste7: falha
input do teste:


local x1::Int
local y1::Int
x1 = 3
x1 = x1 +1

println(x1)

y1 = x1 *100
println(y1)

output esperado:
4
400

output recebido:

4

Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 690, in
main()
File "main.py", line 686, in main
Parser.run(expression)
File "main.py", line 676, in run
Parser.parseProgram(tokenizer).evaluate(globalSymbolTable)
File "/home/raul/Documentos/Github/LogCompTester/Compilers/src/arthurolga/nodes.py", line 210, in evaluate
self.children[i].evaluate(symbolTable)
File "/home/raul/Documentos/Github/LogCompTester/Compilers/src/arthurolga/nodes.py", line 167, in evaluate
value = self.children[1].evaluate(symbolTable)
File "/home/raul/Documentos/Github/LogCompTester/Compilers/src/arthurolga/nodes.py", line 71, in evaluate
symbolTable) * self.children[1].evaluate()
TypeError: evaluate() missing 1 required positional argument: 'symbolTable'

teste9: falha
input do teste:


local x1::Int

x1 = 3
x1 = (x1 +1 * 3)
println(x1)

output esperado:
6

output recebido:

Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 690, in
main()
File "main.py", line 686, in main
Parser.run(expression)
File "main.py", line 676, in run
Parser.parseProgram(tokenizer).evaluate(globalSymbolTable)
File "/home/raul/Documentos/Github/LogCompTester/Compilers/src/arthurolga/nodes.py", line 210, in evaluate
self.children[i].evaluate(symbolTable)
File "/home/raul/Documentos/Github/LogCompTester/Compilers/src/arthurolga/nodes.py", line 167, in evaluate
value = self.children[1].evaluate(symbolTable)
File "/home/raul/Documentos/Github/LogCompTester/Compilers/src/arthurolga/nodes.py", line 46, in evaluate
symbolTable) + self.children[1].evaluate(symbolTable)
File "/home/raul/Documentos/Github/LogCompTester/Compilers/src/arthurolga/nodes.py", line 71, in evaluate
symbolTable) * self.children[1].evaluate()
TypeError: evaluate() missing 1 required positional argument: 'symbolTable'

teste37: falha
input do teste:


local x::Int
local y::Int
    x = readline()
    y = x*2
    println(y)


stdin do teste:
42
output esperado:
84

output recebido:

Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 690, in
main()
File "main.py", line 686, in main
Parser.run(expression)
File "main.py", line 676, in run
Parser.parseProgram(tokenizer).evaluate(globalSymbolTable)
File "/home/raul/Documentos/Github/LogCompTester/Compilers/src/arthurolga/nodes.py", line 210, in evaluate
self.children[i].evaluate(symbolTable)
File "/home/raul/Documentos/Github/LogCompTester/Compilers/src/arthurolga/nodes.py", line 167, in evaluate
value = self.children[1].evaluate(symbolTable)
File "/home/raul/Documentos/Github/LogCompTester/Compilers/src/arthurolga/nodes.py", line 71, in evaluate
symbolTable) * self.children[1].evaluate()
TypeError: evaluate() missing 1 required positional argument: 'symbolTable'

autoIssue

Aluno: arthurolga

teste3: falha
input do teste:


x1 = 3
y2 = 4
z_final = x1 + y2
println(z_final)

output esperado:
7

output recebido:

Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 283, in
main()
File "main.py", line 279, in main
Parser.run(expression)
File "main.py", line 269, in run
tokenizer) #Parser.parseExpression(tokenizer).evaluate()
File "main.py", line 234, in parseBlock
Parser.parseCommand(tokenizer)
File "main.py", line 207, in parseCommand
tokenizer.selectNext()
File "main.py", line 132, in selectNext
" Unindentified character: {}".format(current_c))
ValueError: Unindentified character: _

teste4: falha
input do teste:


x1 = 3 #= bla bla x1 = 9999998 =#
y2 = 4
z_final = x1 + y2 *33
println(z_final)

output esperado:
135

output recebido:

Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 283, in
main()
File "main.py", line 279, in main
Parser.run(expression)
File "main.py", line 269, in run
tokenizer) #Parser.parseExpression(tokenizer).evaluate()
File "main.py", line 234, in parseBlock
Parser.parseCommand(tokenizer)
File "main.py", line 207, in parseCommand
tokenizer.selectNext()
File "main.py", line 132, in selectNext
" Unindentified character: {}".format(current_c))
ValueError: Unindentified character: _

teste5: falha
input do teste:


x1 = 3
y2 = 4
z_final = (x1 + y2) *33
println(z_final)

output esperado:
231

output recebido:

Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 283, in
main()
File "main.py", line 279, in main
Parser.run(expression)
File "main.py", line 269, in run
tokenizer) #Parser.parseExpression(tokenizer).evaluate()
File "main.py", line 234, in parseBlock
Parser.parseCommand(tokenizer)
File "main.py", line 207, in parseCommand
tokenizer.selectNext()
File "main.py", line 132, in selectNext
" Unindentified character: {}".format(current_c))
ValueError: Unindentified character: _

teste16: falha
input do teste:


x_1x = 42
println(x_1x)

output esperado:
42

output recebido:

Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 283, in
main()
File "main.py", line 279, in main
Parser.run(expression)
File "main.py", line 269, in run
tokenizer) #Parser.parseExpression(tokenizer).evaluate()
File "main.py", line 234, in parseBlock
Parser.parseCommand(tokenizer)
File "main.py", line 207, in parseCommand
tokenizer.selectNext()
File "main.py", line 132, in selectNext
" Unindentified character: {}".format(current_c))
ValueError: Unindentified character: _

autoIssue

Aluno: arthurolga

teste13: falha
input do teste:


1/1

output esperado:
1

output recebido:

1.0

teste15: falha
input do teste:


3168/99

output esperado:
32

output recebido:

32.0

teste17: falha
input do teste:


2*4/2

output esperado:
4

output recebido:

4.0

teste18: falha
input do teste:


0/1

output esperado:
0

output recebido:

0.0

teste19: falha
input do teste:


8  * 9 / 2

output esperado:
36

output recebido:

36.0

teste23: falha
input do teste:


1/2

output esperado:
0

output recebido:

0.5

autoIssue

Aluno: arthurolga

teste25: falha
input do teste:


#= A =# 1 #= A =#

output esperado:
1

output recebido:

Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 124, in
main()
File "main.py", line 120, in main
Parser.run(expression)
File "main.py", line 114, in run
result = Parser.parseExpression(tokenizer)
File "main.py", line 107, in parseExpression
raise ValueError(" Character not expected: {}".format(tokenizer.actual.value))
ValueError: Character not expected: 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.