compiler-logic's People
compiler-logic's Issues
Problemas na 1.1
teste1: falha
input do teste:
1+1
output esperado:
2
output recebido:
No coment string:1+1
RESCODE 1.0+1.0
2.00
teste2: falha
input do teste:
21+21
output esperado:
42
output recebido:
No coment string:21+21
RESCODE 21.0+21.0
42.00
teste3: falha
input do teste:
1-1
output esperado:
0
output recebido:
No coment string:1-1
RESCODE 1.0-1.0
0.00
teste4: falha
input do teste:
50-150
output esperado:
-100
output recebido:
No coment string:50-150
RESCODE 50.0-150.0
-100.00
teste9: falha
input do teste:
100 + 100
output esperado:
200
output recebido:
No coment string:100 + 100
RESCODE 100.0+100.0
200.00
teste10: falha
input do teste:
100 + 100 - 100+1
output esperado:
101
output recebido:
No coment string:100 + 100 - 100+1
RESCODE 100.0+100.0-100.0+1.0
101.00
teste11: falha
input do teste:
100 + 100 - 100+1 -101 - 900
output esperado:
-900
output recebido:
No coment string:100 + 100 - 100+1 -101 - 900
RESCODE 100.0+100.0-100.0+1.0-101.0-900.0
-900.00
teste12: falha
input do teste:
1*1
output esperado:
1
output recebido:
No coment string:1*1
RESCODE 1.0
1.00
teste13: falha
input do teste:
1/1
output esperado:
1
output recebido:
No coment string:1/1
RESCODE 1.0
1.00
teste14: falha
input do teste:
32*985
output esperado:
31520
output recebido:
No coment string:32*985
RESCODE 31520.0
31520.00
teste15: falha
input do teste:
3168/99
output esperado:
32
output recebido:
No coment string:3168/99
RESCODE 32.0
32.00
teste16: falha
input do teste:
2+5*4
output esperado:
22
output recebido:
No coment string:2+5*4
RESCODE 2.0+20.0
22.00
teste17: falha
input do teste:
2*4/2
output esperado:
4
output recebido:
No coment string:2*4/2
RESCODE 4.0
4.00
teste18: falha
input do teste:
0/1
output esperado:
0
output recebido:
No coment string:0/1
RESCODE
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 191, in
main()
File "main.py", line 187, in main
print("{:.2f}".format(round(Parser().run(comando), 2)))
File "main.py", line 175, in run
return Parser().parseExpression()
File "main.py", line 165, in parseExpression
return resultado
UnboundLocalError: local variable 'resultado' referenced before assignment
teste19: falha
input do teste:
8 * 9 / 2
output esperado:
36
output recebido:
No coment string:8 * 9 / 2
RESCODE 36.0
36.00
teste23: falha
input do teste:
1/2
output esperado:
0
output recebido:
No coment string:1/2
RESCODE 0.5
0.50
teste24: falha
input do teste:
/* A /* 1 */ 2
output esperado:
2
output recebido:
No coment string:/* A 2
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 191, in
main()
File "main.py", line 187, in main
print("{:.2f}".format(round(Parser().run(comando), 2)))
File "main.py", line 175, in run
return Parser().parseExpression()
File "main.py", line 137, in parseExpression
Parser.multiDiv()
File "main.py", line 121, in multiDiv
raise Exception ("Comando errado")
Exception: Comando errado
teste25: falha
input do teste:
/* A */ 1 /* A */
output esperado:
1
output recebido:
No coment string: 1
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 191, in
main()
File "main.py", line 187, in main
print("{:.2f}".format(round(Parser().run(comando), 2)))
File "main.py", line 175, in run
return Parser().parseExpression()
File "main.py", line 137, in parseExpression
Parser.multiDiv()
File "main.py", line 124, in multiDiv
raise Exception ("Comando errado")
Exception: Comando errado
teste26: falha
input do teste:
1 + /* 2 */ 3
output esperado:
4
output recebido:
No coment string:1 + 3
RESCODE 1.0+3.0
4.00
Problemas na 1.0
teste5: falha, não deu erro mais deveria (algo deveria ter saido no stderr)
input do teste:
1 1
teste6: falha, não deu erro mais deveria (algo deveria ter saido no stderr)
input do teste:
1+
Problemas na v2.3.1
lucafs/Compilador-L-gica
teste26: falha
input do teste:
{
if (! (1==0)) {
println(1);
}
else{
println(0);
}
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 594, in
main()
File "main.py", line 591, in main
resultado.Evaluate(ST)
File "main.py", line 219, in Evaluate
x.Evaluate(ST)
File "main.py", line 206, in Evaluate
if(self.children[0].Evaluate(ST)[1] == "string"):
File "main.py", line 174, in Evaluate
variableType2 = self.children[1].Evaluate(ST)[1]
IndexError: list index out of range
teste27: falha
input do teste:
{
if (! (((1>0) || (1==0)) && (0==9))){
println(1);
}
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 594, in
main()
File "main.py", line 591, in main
resultado.Evaluate(ST)
File "main.py", line 219, in Evaluate
x.Evaluate(ST)
File "main.py", line 206, in Evaluate
if(self.children[0].Evaluate(ST)[1] == "string"):
File "main.py", line 174, in Evaluate
variableType2 = self.children[1].Evaluate(ST)[1]
IndexError: list index out of range
teste67: falha
input do teste:
{
if (!(false)){
println(1);
}
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 594, in
main()
File "main.py", line 591, in main
resultado.Evaluate(ST)
File "main.py", line 219, in Evaluate
x.Evaluate(ST)
File "main.py", line 206, in Evaluate
if(self.children[0].Evaluate(ST)[1] == "string"):
File "main.py", line 174, in Evaluate
variableType2 = self.children[1].Evaluate(ST)[1]
IndexError: list index out of range
teste68: falha
input do teste:
{
if (true && (!(1==1))){
println(1);
}
else{
println(2);
}
}
output esperado:
2
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 594, in
main()
File "main.py", line 591, in main
resultado.Evaluate(ST)
File "main.py", line 219, in Evaluate
x.Evaluate(ST)
File "main.py", line 206, in Evaluate
if(self.children[0].Evaluate(ST)[1] == "string"):
File "main.py", line 174, in Evaluate
variableType2 = self.children[1].Evaluate(ST)[1]
File "main.py", line 174, in Evaluate
variableType2 = self.children[1].Evaluate(ST)[1]
IndexError: list index out of range
Problemas na 1.2
teste23: falha
input do teste:
/* A /* 1 */ 2
output esperado:
2
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 215, in
main()
File "main.py", line 209, in main
resultado = Parser().run(comando)
File "main.py", line 196, in run
return Parser().parseExpression()
File "main.py", line 84, in parseExpression
Parser.tokens.selectNext()
File "main.py", line 57, in selectNext
if(teveEspaco == 1 and self.actual.type == "NUM" and tToken_finder(self.origin[self.position]) == "NUM"):
AttributeError: 'NoneType' object has no attribute 'type'
teste24: 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 215, in
main()
File "main.py", line 209, in main
resultado = Parser().run(comando)
File "main.py", line 196, in run
return Parser().parseExpression()
File "main.py", line 84, in parseExpression
Parser.tokens.selectNext()
File "main.py", line 57, in selectNext
if(teveEspaco == 1 and self.actual.type == "NUM" and tToken_finder(self.origin[self.position]) == "NUM"):
AttributeError: 'NoneType' object has no attribute 'type'
teste29: falha
input do teste:
(1+1)*3
output esperado:
6
output recebido:
2
teste30: falha
input do teste:
(1+/*A */1)*10
output esperado:
20
output recebido:
2
teste31: falha
input do teste:
(1+1)*(2+2)
output esperado:
8
output recebido:
2
teste39: falha
input do teste:
--2
output esperado:
2
output recebido:
-2
teste40: falha
input do teste:
- -2
output esperado:
2
output recebido:
-2
teste41: falha
input do teste:
--2+40
output esperado:
42
output recebido:
38
teste42: falha
input do teste:
40--2
output esperado:
42
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 215, in
main()
File "main.py", line 209, in main
resultado = Parser().run(comando)
File "main.py", line 196, in run
return Parser().parseExpression()
File "main.py", line 109, in parseExpression
raise Exception('Comando errado2')
Exception: Comando errado2
teste43: falha
input do teste:
44---2
output esperado:
42
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 215, in
main()
File "main.py", line 209, in main
resultado = Parser().run(comando)
File "main.py", line 196, in run
return Parser().parseExpression()
File "main.py", line 109, in parseExpression
raise Exception('Comando errado2')
Exception: Comando errado2
teste44: falha
input do teste:
40+-+-2
output esperado:
42
output recebido:
38
Problemas na 2.2
teste22: falha
input do teste:
{
if ((1==1) || (1==0)){
println(1);
}
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 485, in
main()
File "main.py", line 480, in main
resultado = Parser().run(comando)
File "main.py", line 465, in run
res = Parser().parseBlock()
File "main.py", line 381, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 449, in parseCommand
raise Exception("IF ERROR")
Exception: IF ERROR
teste23: falha
input do teste:
{
f = 5;
if (f == 5){
println(f);
}
}
output esperado:
5
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 485, in
main()
File "main.py", line 480, in main
resultado = Parser().run(comando)
File "main.py", line 465, in run
res = Parser().parseBlock()
File "main.py", line 381, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 444, in parseCommand
if_node.children.append(Parser.parseCommand())
File "main.py", line 456, in parseCommand
Parser.parseBlock()
File "main.py", line 389, in parseBlock
raise Exception("{ not found")
Exception: { not found
teste24: falha
input do teste:
{
if ((1==1) && (1==0)){
println(0);
}
else{
println(1);
}
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 485, in
main()
File "main.py", line 480, in main
resultado = Parser().run(comando)
File "main.py", line 465, in run
res = Parser().parseBlock()
File "main.py", line 381, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 444, in parseCommand
if_node.children.append(Parser.parseCommand())
File "main.py", line 456, in parseCommand
Parser.parseBlock()
File "main.py", line 389, in parseBlock
raise Exception("{ not found")
Exception: { not found
teste25: falha
input do teste:
{
if ((1<2) || (0>2)){
println(1);
}
else{
println(0);
}
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 485, in
main()
File "main.py", line 480, in main
resultado = Parser().run(comando)
File "main.py", line 465, in run
res = Parser().parseBlock()
File "main.py", line 381, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 449, in parseCommand
raise Exception("IF ERROR")
Exception: IF ERROR
teste26: falha
input do teste:
{
if (! (1==0)) {
println(1);
}
else{
println(0);
}
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 485, in
main()
File "main.py", line 480, in main
resultado = Parser().run(comando)
File "main.py", line 465, in run
res = Parser().parseBlock()
File "main.py", line 381, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 441, in parseCommand
if_node.children.append(Parser.parseOrexPR())
File "main.py", line 248, in parseOrexPR
res = Parser.parseAndexPR()
File "main.py", line 259, in parseAndexPR
res = Parser.parseEqePR()
File "main.py", line 270, in parseEqePR
res = Parser.parseRelexPR()
File "main.py", line 282, in parseRelexPR
res = Parser.parseExpression()
File "main.py", line 298, in parseExpression
res = Parser.parseTerm()
File "main.py", line 314, in parseTerm
res = Parser.parseFactor()
File "main.py", line 371, in parseFactor
raise Exception ("Factor error")
Exception: Factor error
teste27: falha
input do teste:
{
if (! (((1>0) || (1==0)) && (0==9))){
println(1);
}
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 485, in
main()
File "main.py", line 480, in main
resultado = Parser().run(comando)
File "main.py", line 465, in run
res = Parser().parseBlock()
File "main.py", line 381, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 441, in parseCommand
if_node.children.append(Parser.parseOrexPR())
File "main.py", line 248, in parseOrexPR
res = Parser.parseAndexPR()
File "main.py", line 259, in parseAndexPR
res = Parser.parseEqePR()
File "main.py", line 270, in parseEqePR
res = Parser.parseRelexPR()
File "main.py", line 282, in parseRelexPR
res = Parser.parseExpression()
File "main.py", line 298, in parseExpression
res = Parser.parseTerm()
File "main.py", line 314, in parseTerm
res = Parser.parseFactor()
File "main.py", line 371, in parseFactor
raise Exception ("Factor error")
Exception: Factor error
teste28: falha
input do teste:
{
a = 0;
while (a < 3){
a = a +1;
println(a);
}
}
output esperado:
1
2
3
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 485, in
main()
File "main.py", line 480, in main
resultado = Parser().run(comando)
File "main.py", line 465, in run
res = Parser().parseBlock()
File "main.py", line 381, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 430, in parseCommand
while_node.children.append(Parser.parseCommand())
File "main.py", line 456, in parseCommand
Parser.parseBlock()
File "main.py", line 389, in parseBlock
raise Exception("{ not found")
Exception: { not found
teste29: falha
input do teste:
{
a = 1;
while (a < 3){
a = a +1;
println(a);
}
}
output esperado:
2
3
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 485, in
main()
File "main.py", line 480, in main
resultado = Parser().run(comando)
File "main.py", line 465, in run
res = Parser().parseBlock()
File "main.py", line 381, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 430, in parseCommand
while_node.children.append(Parser.parseCommand())
File "main.py", line 456, in parseCommand
Parser.parseBlock()
File "main.py", line 389, in parseBlock
raise Exception("{ not found")
Exception: { not found
teste30: falha
input do teste:
{
a = 0;
b = 1;
while ((a < 99999) && (b ==1)){
a = a +1;
println(a);
if (a == 5){
b = 0;
}
}
println(a);
}
output esperado:
1
2
3
4
5
5
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 485, in
main()
File "main.py", line 480, in main
resultado = Parser().run(comando)
File "main.py", line 465, in run
res = Parser().parseBlock()
File "main.py", line 381, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 430, in parseCommand
while_node.children.append(Parser.parseCommand())
File "main.py", line 456, in parseCommand
Parser.parseBlock()
File "main.py", line 389, in parseBlock
raise Exception("{ not found")
Exception: { not found
teste33: falha
input do teste:
{
if (((1==1) || (1==1) || (1==1)) || ((1==0) && (1==0) && (1==0))){
println(1);
}
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 485, in
main()
File "main.py", line 480, in main
resultado = Parser().run(comando)
File "main.py", line 465, in run
res = Parser().parseBlock()
File "main.py", line 381, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 441, in parseCommand
if_node.children.append(Parser.parseOrexPR())
File "main.py", line 248, in parseOrexPR
res = Parser.parseAndexPR()
File "main.py", line 259, in parseAndexPR
res = Parser.parseEqePR()
File "main.py", line 270, in parseEqePR
res = Parser.parseRelexPR()
File "main.py", line 282, in parseRelexPR
res = Parser.parseExpression()
File "main.py", line 298, in parseExpression
res = Parser.parseTerm()
File "main.py", line 314, in parseTerm
res = Parser.parseFactor()
File "main.py", line 355, in parseFactor
raise Exception ("Parenteses não fechados")
Exception: Parenteses não fechados
teste34: falha
input do teste:
{
if (-5 < 4){
println(1);
}
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 485, in
main()
File "main.py", line 480, in main
resultado = Parser().run(comando)
File "main.py", line 465, in run
res = Parser().parseBlock()
File "main.py", line 381, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 444, in parseCommand
if_node.children.append(Parser.parseCommand())
File "main.py", line 456, in parseCommand
Parser.parseBlock()
File "main.py", line 389, in parseBlock
raise Exception("{ not found")
Exception: { not found
teste35: falha
input do teste:
{
x = readln();
println(x);
}
Timeout, teste demorou mais de 10.0 segundo para rodar, assumo que entrou em um loop infinito
teste36: falha
input do teste:
{
x = readln();
x = readln();
println(x);
}
Timeout, teste demorou mais de 10.0 segundo para rodar, assumo que entrou em um loop infinito
teste37: falha
input do teste:
{
x = readln();
y = x*2;
println(y);
}
Timeout, teste demorou mais de 10.0 segundo para rodar, assumo que entrou em um loop infinito
teste38: falha
input do teste:
{
x = readln();
y = readln();
println(x+y);
}
Timeout, teste demorou mais de 10.0 segundo para rodar, assumo que entrou em um loop infinito
teste40: falha
input do teste:
{
if (10 < 20) {
println(1);
}
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 485, in
main()
File "main.py", line 480, in main
resultado = Parser().run(comando)
File "main.py", line 465, in run
res = Parser().parseBlock()
File "main.py", line 381, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 444, in parseCommand
if_node.children.append(Parser.parseCommand())
File "main.py", line 456, in parseCommand
Parser.parseBlock()
File "main.py", line 389, in parseBlock
raise Exception("{ not found")
Exception: { not found
teste41: falha
input do teste:
{
if (30 < 20) {
println(0);
}
else{
println(1);
}
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 485, in
main()
File "main.py", line 480, in main
resultado = Parser().run(comando)
File "main.py", line 465, in run
res = Parser().parseBlock()
File "main.py", line 381, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 444, in parseCommand
if_node.children.append(Parser.parseCommand())
File "main.py", line 456, in parseCommand
Parser.parseBlock()
File "main.py", line 389, in parseBlock
raise Exception("{ not found")
Exception: { not found
Problemas na v2.4.0
lucafs/Compilador-L-gica
teste26: falha
input do teste:
int main()
{
if (! (1==0)) {
println(1);
}
else{
println(0);
}
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 827, in
main()
File "main.py", line 824, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 262, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 282, in Evaluate
x.Evaluate(ST)
File "main.py", line 227, in Evaluate
if(self.children[0].Evaluate(ST)[1] == "string"):
File "main.py", line 195, in Evaluate
variableType2 = self.children[1].Evaluate(ST)[1]
IndexError: list index out of range
teste27: falha
input do teste:
int main()
{
if (! (((1>0) || (1==0)) && (0==9))){
println(1);
}
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 827, in
main()
File "main.py", line 824, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 262, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 282, in Evaluate
x.Evaluate(ST)
File "main.py", line 227, in Evaluate
if(self.children[0].Evaluate(ST)[1] == "string"):
File "main.py", line 195, in Evaluate
variableType2 = self.children[1].Evaluate(ST)[1]
IndexError: list index out of range
teste67: falha
input do teste:
int main(){
if (!(false)){
println(1);
}
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 827, in
main()
File "main.py", line 824, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 262, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 282, in Evaluate
x.Evaluate(ST)
File "main.py", line 227, in Evaluate
if(self.children[0].Evaluate(ST)[1] == "string"):
File "main.py", line 195, in Evaluate
variableType2 = self.children[1].Evaluate(ST)[1]
IndexError: list index out of range
teste68: falha
input do teste:
int main(){
if (true && (!(1==1))){
println(1);
}
else{
println(2);
}
}
output esperado:
2
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 827, in
main()
File "main.py", line 824, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 262, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 282, in Evaluate
x.Evaluate(ST)
File "main.py", line 227, in Evaluate
if(self.children[0].Evaluate(ST)[1] == "string"):
File "main.py", line 195, in Evaluate
variableType2 = self.children[1].Evaluate(ST)[1]
File "main.py", line 195, in Evaluate
variableType2 = self.children[1].Evaluate(ST)[1]
IndexError: list index out of range
teste94: falha, não deu erro mais deveria (algo deveria ter saido no stderr)
input do teste:
/*Error: tipo de retorno*/
int soma(int x, int y)
{
int res;
res = x + y;
return "somei";
}
int main()
{
string x;
x = soma(3,2);
println(x);
}
Problemas na 1.0
teste5: falha, não deu erro mais deveria (algo deveria ter saido no stderr)
input do teste:
1 1
teste6: falha, não deu erro mais deveria (algo deveria ter saido no stderr)
input do teste:
1+
Problemas na 1.2
teste10: falha
input do teste:
100 + 100 - 100+1 -101 - 900
output esperado:
-900
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 165, in
main()
File "main.py", line 159, in main
resultado = Parser().run(comando)
File "main.py", line 146, in run
return Parser().parseExpression()
File "main.py", line 115, in parseExpression
res += int(Parser.parseTerm())
File "main.py", line 125, in parseTerm
res = int(Parser.parseFactor())
File "main.py", line 84, in parseFactor
Parser.tokens.selectNext()
File "main.py", line 69, in selectNext
raise Exception ("Espaço entre numeros")
Exception: Espaço entre numeros
teste12: falha
input do teste:
1/1
output esperado:
1
output recebido:
2
teste14: falha
input do teste:
3168/99
output esperado:
32
output recebido:
3267
teste16: falha
input do teste:
2*4/2
output esperado:
4
output recebido:
10
teste17: falha
input do teste:
0/1
output esperado:
0
output recebido:
1
teste18: falha
input do teste:
8 * 9 / 2
output esperado:
36
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 165, in
main()
File "main.py", line 159, in main
resultado = Parser().run(comando)
File "main.py", line 146, in run
return Parser().parseExpression()
File "main.py", line 110, in parseExpression
res = Parser.parseTerm()
File "main.py", line 125, in parseTerm
res = int(Parser.parseFactor())
File "main.py", line 84, in parseFactor
Parser.tokens.selectNext()
File "main.py", line 69, in selectNext
raise Exception ("Espaço entre numeros")
Exception: Espaço entre numeros
teste22: falha
input do teste:
1/2
output esperado:
0
output recebido:
3
teste24: 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 165, in
main()
File "main.py", line 159, in main
resultado = Parser().run(comando)
File "main.py", line 146, in run
return Parser().parseExpression()
File "main.py", line 110, in parseExpression
res = Parser.parseTerm()
File "main.py", line 125, in parseTerm
res = int(Parser.parseFactor())
File "main.py", line 84, in parseFactor
Parser.tokens.selectNext()
File "main.py", line 69, in selectNext
raise Exception ("Espaço entre numeros")
Exception: Espaço entre numeros
teste35: falha, não deu erro mais deveria (algo deveria ter saido no stderr)
input do teste:
1+1)
Problemas na 3.0
O codigo asm gerado para a parte de if/else está incorreto
Problemas na 2.0
teste5: falha, não deu erro mais deveria (algo deveria ter saido no stderr)
input do teste:
1 1
teste7: falha, não deu erro mais deveria (algo deveria ter saido no stderr)
input do teste:
,
teste38: falha
input do teste:
-1
output esperado:
-1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 206, in
main()
File "main.py", line 201, in main
resultado = resultado.Evaluate()
File "main.py", line 41, in Evaluate
return -self.children[0].Evaluate()
TypeError: bad operand type for unary -: 'str'
teste39: falha
input do teste:
--2
output esperado:
2
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 206, in
main()
File "main.py", line 201, in main
resultado = resultado.Evaluate()
File "main.py", line 41, in Evaluate
return -self.children[0].Evaluate()
File "main.py", line 41, in Evaluate
return -self.children[0].Evaluate()
TypeError: bad operand type for unary -: 'str'
teste40: falha
input do teste:
- -2
output esperado:
2
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 206, in
main()
File "main.py", line 201, in main
resultado = resultado.Evaluate()
File "main.py", line 41, in Evaluate
return -self.children[0].Evaluate()
File "main.py", line 41, in Evaluate
return -self.children[0].Evaluate()
TypeError: bad operand type for unary -: 'str'
teste41: falha
input do teste:
--2+40
output esperado:
42
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 206, in
main()
File "main.py", line 201, in main
resultado = resultado.Evaluate()
File "main.py", line 46, in Evaluate
return int(self.children[0].Evaluate()) + int(self.children[1].Evaluate())
File "main.py", line 41, in Evaluate
return -self.children[0].Evaluate()
File "main.py", line 41, in Evaluate
return -self.children[0].Evaluate()
TypeError: bad operand type for unary -: 'str'
teste42: falha
input do teste:
40--2
output esperado:
42
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 206, in
main()
File "main.py", line 201, in main
resultado = resultado.Evaluate()
File "main.py", line 48, in Evaluate
return int(self.children[0].Evaluate()) - int(self.children[1].Evaluate())
File "main.py", line 41, in Evaluate
return -self.children[0].Evaluate()
TypeError: bad operand type for unary -: 'str'
teste43: falha
input do teste:
44---2
output esperado:
42
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 206, in
main()
File "main.py", line 201, in main
resultado = resultado.Evaluate()
File "main.py", line 48, in Evaluate
return int(self.children[0].Evaluate()) - int(self.children[1].Evaluate())
File "main.py", line 41, in Evaluate
return -self.children[0].Evaluate()
File "main.py", line 41, in Evaluate
return -self.children[0].Evaluate()
TypeError: bad operand type for unary -: 'str'
teste44: falha
input do teste:
40+-+-2
output esperado:
42
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 206, in
main()
File "main.py", line 201, in main
resultado = resultado.Evaluate()
File "main.py", line 46, in Evaluate
return int(self.children[0].Evaluate()) + int(self.children[1].Evaluate())
File "main.py", line 41, in Evaluate
return -self.children[0].Evaluate()
File "main.py", line 39, in Evaluate
return self.children[0].Evaluate()
File "main.py", line 41, in Evaluate
return -self.children[0].Evaluate()
TypeError: bad operand type for unary -: 'str'
Problemas na 2.3
teste8: falha, não deu erro mais deveria (algo deveria ter saido no stderr)
input do teste:
{
int x1;
x1 = 3;
x1 = x1 +1;
println(X1);
}
teste13: falha, não deu erro mais deveria (algo deveria ter saido no stderr)
input do teste:
{
println(x);
}
teste44: falha
input do teste:
{
int x;
x = true;
if (x){
println(42);
}
}
output esperado:
42
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 578, in
main()
File "main.py", line 575, in main
resultado.Evaluate(ST)
File "main.py", line 200, in Evaluate
x.Evaluate(ST)
File "main.py", line 142, in Evaluate
raise Exception("Can't cast the "+ name +" variable")
Exception: Can't cast the x variable
teste49: falha
input do teste:
{
bool x;
int y;
x = false+1;
y = x;
println(y);
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 578, in
main()
File "main.py", line 575, in main
resultado.Evaluate(ST)
File "main.py", line 200, in Evaluate
x.Evaluate(ST)
File "main.py", line 142, in Evaluate
raise Exception("Can't cast the "+ name +" variable")
Exception: Can't cast the x variable
teste58: falha
input do teste:
{
string msg;
msg = "oi";
if (msg == "oi") {
println("sim");
} else {
println("nao");
}
}
output esperado:
sim
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 578, in
main()
File "main.py", line 575, in main
resultado.Evaluate(ST)
File "main.py", line 200, in Evaluate
x.Evaluate(ST)
File "main.py", line 189, in Evaluate
if (self.children[0].Evaluate(ST)[0]):
File "main.py", line 165, in Evaluate
raise Exception ("Can't make Boolean Operations with strings")
Exception: Can't make Boolean Operations with strings
teste60: falha, não deu erro mais deveria (algo deveria ter saido no stderr)
input do teste:
{
if("a"){
println(1);
}
}
teste69: falha
input do teste:
{
string msg;
msg = "tchau";
if (msg == "oi") {
println("sim");
} else {
println("nao");
}
}
output esperado:
nao
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 578, in
main()
File "main.py", line 575, in main
resultado.Evaluate(ST)
File "main.py", line 200, in Evaluate
x.Evaluate(ST)
File "main.py", line 189, in Evaluate
if (self.children[0].Evaluate(ST)[0]):
File "main.py", line 165, in Evaluate
raise Exception ("Can't make Boolean Operations with strings")
Exception: Can't make Boolean Operations with strings
teste70: falha
input do teste:
{
bool a;
int b;
int c;
b = 789;
c = 689;
a = (b && c) + 1;
c = a;
println(c);
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 578, in
main()
File "main.py", line 575, in main
resultado.Evaluate(ST)
File "main.py", line 200, in Evaluate
x.Evaluate(ST)
File "main.py", line 142, in Evaluate
raise Exception("Can't cast the "+ name +" variable")
Exception: Can't cast the a variable
teste71: falha
input do teste:
{
bool a;
int b;
int c;
b = 789;
c = 689;
a = (b && c) + 1;
c = a + 1;
println(c);
}
output esperado:
2
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 578, in
main()
File "main.py", line 575, in main
resultado.Evaluate(ST)
File "main.py", line 200, in Evaluate
x.Evaluate(ST)
File "main.py", line 142, in Evaluate
raise Exception("Can't cast the "+ name +" variable")
Exception: Can't cast the a variable
teste72: falha
input do teste:
{
bool a;
int b;
int c;
b = 32;
c = 32;
a = true;
if ((b && c) == a) {
println(1);
}else{
println(2);
}
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 578, in
main()
File "main.py", line 573, in main
resultado = Parser().run(comando)
File "main.py", line 558, in run
res = Parser().parseBlock()
File "main.py", line 457, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 536, in parseCommand
if_node.children.append(Parser.parseCommand())
File "main.py", line 548, in parseCommand
return Parser.parseBlock()
File "main.py", line 457, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 548, in parseCommand
return Parser.parseBlock()
File "main.py", line 465, in parseBlock
raise Exception("{ not found")
Exception: { not found
Problemas na 2.1
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 299, in
main()
File "main.py", line 293, in main
resultado = Parser().run(comando)
File "main.py", line 278, in run
res = Parser().parseBlock()
File "main.py", line 229, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 257, in parseCommand
raise Exception("COMMAND ERROR")
Exception: COMMAND ERROR
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 299, in
main()
File "main.py", line 293, in main
resultado = Parser().run(comando)
File "main.py", line 278, in run
res = Parser().parseBlock()
File "main.py", line 229, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 257, in parseCommand
raise Exception("COMMAND ERROR")
Exception: COMMAND ERROR
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 299, in
main()
File "main.py", line 293, in main
resultado = Parser().run(comando)
File "main.py", line 278, in run
res = Parser().parseBlock()
File "main.py", line 229, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 257, in parseCommand
raise Exception("COMMAND ERROR")
Exception: COMMAND ERROR
teste6: falha
input do teste:
x1 = 3;
x1 = x1 +1;
println(x1);
output esperado:
4
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 299, in
main()
File "main.py", line 293, in main
resultado = Parser().run(comando)
File "main.py", line 278, in run
res = Parser().parseBlock()
File "main.py", line 229, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 257, in parseCommand
raise Exception("COMMAND ERROR")
Exception: COMMAND ERROR
teste7: falha
input do teste:
x1 = 3;
x1 = x1 +1;
println(x1);
y1 = x1 *100;
println(y1);
output esperado:
4
400
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 299, in
main()
File "main.py", line 293, in main
resultado = Parser().run(comando)
File "main.py", line 278, in run
res = Parser().parseBlock()
File "main.py", line 229, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 257, in parseCommand
raise Exception("COMMAND ERROR")
Exception: COMMAND ERROR
teste10: 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 299, in
main()
File "main.py", line 293, in main
resultado = Parser().run(comando)
File "main.py", line 278, in run
res = Parser().parseBlock()
File "main.py", line 229, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 257, in parseCommand
raise Exception("COMMAND ERROR")
Exception: COMMAND ERROR
teste16: falha
input do teste:
x_1x = 13;
println(x_1x);
output esperado:
13
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 299, in
main()
File "main.py", line 293, in main
resultado = Parser().run(comando)
File "main.py", line 278, in run
res = Parser().parseBlock()
File "main.py", line 229, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 257, in parseCommand
raise Exception("COMMAND ERROR")
Exception: COMMAND ERROR
teste19: falha
input do teste:
x1 = 8;
y2 = 5;
z_final = (x1 + y2) * ---37;
println(z_final);
output esperado:
-481
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 299, in
main()
File "main.py", line 293, in main
resultado = Parser().run(comando)
File "main.py", line 278, in run
res = Parser().parseBlock()
File "main.py", line 229, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 257, in parseCommand
raise Exception("COMMAND ERROR")
Exception: COMMAND ERROR
teste20: falha
input do teste:
x1 = 8;
y2 = 5;
z_final = (x1 + y2) * ---37;;;;;
println(z_final);
output esperado:
-481
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 299, in
main()
File "main.py", line 293, in main
resultado = Parser().run(comando)
File "main.py", line 278, in run
res = Parser().parseBlock()
File "main.py", line 229, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 257, in parseCommand
raise Exception("COMMAND ERROR")
Exception: COMMAND ERROR
Problemas na v0.1
teste1: falha
input do teste:
1+1
output esperado:
2
output recebido:
Mas algo saiu no stderror(que não deveria):
python3: can't open file 'main.py': [Errno 2] No such file or directory
teste2: falha
input do teste:
21+21
output esperado:
42
output recebido:
Mas algo saiu no stderror(que não deveria):
python3: can't open file 'main.py': [Errno 2] No such file or directory
teste3: falha
input do teste:
1-1
output esperado:
0
output recebido:
Mas algo saiu no stderror(que não deveria):
python3: can't open file 'main.py': [Errno 2] No such file or directory
teste4: falha
input do teste:
50-150
output esperado:
-100
output recebido:
Mas algo saiu no stderror(que não deveria):
python3: can't open file 'main.py': [Errno 2] No such file or directory
Problemas na v2.4
lucafs/Compilador-L-gica
teste3: falha
input do teste:
int main(){int x1;
x1 = 3;
int y2;
y2 = 4;
int z_final;
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 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the x1 variable
teste4: falha
input do teste:
int main(){
int x1;
int y2;
int z_final;
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 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the x1 variable
teste5: falha
input do teste:
int main(){
int x1;
int y2;
int z_final;
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 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the x1 variable
teste6: falha
input do teste:
int main(){
int x1;
x1 = 3;
x1 = x1 +1;
println(x1);
}
output esperado:
4
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the x1 variable
teste7: falha
input do teste:
int main(){
int x1;
x1 = 3;
x1 = x1 +1;
println(x1);
int y1;
y1 = x1 *100;
println(y1);
}
output esperado:
4
400
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the x1 variable
teste10: falha
input do teste:
int main(){
int y2;
int x1;
int z_final;
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 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the x1 variable
teste16: falha
input do teste:
int main(){
int x_1x;
x_1x = 13;
println(x_1x);
}
output esperado:
13
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the x_1x variable
teste19: falha
input do teste:
int main(){
int x1;
int y2;
int z_final;
x1 = 8;
y2 = 5;
z_final = (x1 + y2) * ---37;
println(z_final);}
output esperado:
-481
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the x1 variable
teste20: falha
input do teste:
int main(){
int x1;
int y2;
int z_final;
x1 = 8;
y2 = 5;
z_final = (x1 + y2) * ---37;;;;;
println(z_final);
}
output esperado:
-481
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the x1 variable
teste23: falha
input do teste:
int main()
{
int f;
f = 5;
if (f == 5){
println(f);
}
}
output esperado:
5
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the f variable
teste26: falha
input do teste:
int main()
{
if (! (1==0)) {
println(1);
}
else{
println(0);
}
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 219, in Evaluate
if(self.children[0].Evaluate(ST)[1] == "string"):
File "main.py", line 187, in Evaluate
variableType2 = self.children[1].Evaluate(ST)[1]
IndexError: list index out of range
teste27: falha
input do teste:
int main()
{
if (! (((1>0) || (1==0)) && (0==9))){
println(1);
}
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 219, in Evaluate
if(self.children[0].Evaluate(ST)[1] == "string"):
File "main.py", line 187, in Evaluate
variableType2 = self.children[1].Evaluate(ST)[1]
IndexError: list index out of range
teste28: falha
input do teste:
int main()
{
int a;
a = 0;
while (a < 3){
a = a +1;
println(a);
}
}
output esperado:
1
2
3
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the a variable
teste29: falha
input do teste:
int main()
{
int a;
a = 1;
while (a < 3){
a = a +1;
println(a);
}
}
output esperado:
2
3
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the a variable
teste30: falha
input do teste:
int main()
{
int a;
int b;
a = 0;
b = 1;
while ((a < 99999) && (b ==1)){
a = a +1;
println(a);
if (a == 5){
b = 0;
}
}
println(a);
}
output esperado:
1
2
3
4
5
5
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the a variable
teste35: falha
input do teste:
int main(){
int x;
x = readln();
println(x);
}
stdin do teste:
42
output esperado:
42
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the x variable
teste36: falha
input do teste:
int main(){
int x;
x = readln();
x = readln();
println(x);
}
stdin do teste:
2
8
output esperado:
8
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the x variable
teste37: falha
input do teste:
int main(){
int x;
int y;
x = readln();
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 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the x variable
teste38: falha
input do teste:
int main(){
int x;
int y;
x = readln();
y = readln();
println(x+y);
}
stdin do teste:
5
4
output esperado:
9
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the x variable
teste44: falha
input do teste:
int main(){
int x;
x = true;
if (x){
println(42);
}
}
output esperado:
42
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the x variable
teste45: falha
input do teste:
int main(){
bool x;
x = true;
if (x){
println(42);
}
}
output esperado:
42
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the x variable
teste47: falha
input do teste:
int main(){
bool a;
bool b;
bool c;
bool d;
bool e;
bool f;
a = true;
b = true;
c = true;
d = false;
e = true;
f = true;
if (((a) || (b) || (c)) || ((d) && (e) && (f))){
println(42);
}
}
output esperado:
42
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the a variable
teste48: falha
input do teste:
int main(){
int y;
y = true+1;
println(y);
}
output esperado:
2
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the y variable
teste49: falha
input do teste:
int main(){
bool x;
int y;
x = false+1;
y = x;
println(y);
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the x variable
teste55: falha
input do teste:
int main(){
string a;
a = "hello";
println(a);
}
output esperado:
hello
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the a variable
teste56: falha
input do teste:
int main(){
string a;
a = "hello world";
println(a);
}
output esperado:
hello world
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the a variable
teste58: falha
input do teste:
int main(){
string msg;
msg = "oi";
if (msg == "oi") {
println("sim");
} else {
println("nao");
}
}
output esperado:
sim
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the msg variable
teste67: falha
input do teste:
int main(){
if (!(false)){
println(1);
}
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 219, in Evaluate
if(self.children[0].Evaluate(ST)[1] == "string"):
File "main.py", line 187, in Evaluate
variableType2 = self.children[1].Evaluate(ST)[1]
IndexError: list index out of range
teste68: falha
input do teste:
int main(){
if (true && (!(1==1))){
println(1);
}
else{
println(2);
}
}
output esperado:
2
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 219, in Evaluate
if(self.children[0].Evaluate(ST)[1] == "string"):
File "main.py", line 187, in Evaluate
variableType2 = self.children[1].Evaluate(ST)[1]
File "main.py", line 187, in Evaluate
variableType2 = self.children[1].Evaluate(ST)[1]
IndexError: list index out of range
teste69: falha
input do teste:
int main(){
string msg;
msg = "tchau";
if (msg == "oi") {
println("sim");
} else {
println("nao");
}
}
output esperado:
nao
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the msg variable
teste70: falha
input do teste:
int main(){
bool a;
int b;
int c;
b = 789;
c = 689;
a = (b && c) + 1;
c = a;
println(c);
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the b variable
teste71: falha
input do teste:
int main(){
bool a;
int b;
int c;
b = 789;
c = 689;
a = (b && c) + 1;
c = a + 1;
println(c);
}
output esperado:
2
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the b variable
teste72: falha
input do teste:
int main(){
bool a;
int b;
int c;
b = 32;
c = 32;
a = true;
if ((b && c) == a){
println(1);
}else{
println(2);
}
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the b variable
teste75: falha
input do teste:
/*Ok, pode nao ter return*/
int exibe(){
int x;
x = 5;
println(x);
}
int main(){
exibe();
}
output esperado:
5
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the x variable
teste76: falha
input do teste:
/*Passagem parametro*/
int exibe(int x){
println(x);
}
int main(){
exibe(8);
}
output esperado:
8
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 245, in Evaluate
print(self.children[0][i])
TypeError: "function" object is not subscriptable
teste77: falha
input do teste:
int exibe(bool flag){
if (flag){
println(1);
}else{
println(0);
}
}
/*OK: Parametro por variavel*/
int main(){
bool f;
f = true;
exibe(f);
}
output esperado:
1
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 163, in Evaluate
raise Exception("Can"t cast the "+ name +" variable")
Exception: Can"t cast the f variable
teste81: falha
input do teste:
/*Ok: Dois parametros*/
int exibe(int x, int y){
println(x*y);
}
int main(){
exibe(5, 3);
}
output esperado:
15
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 245, in Evaluate
print(self.children[0][i])
TypeError: "function" object is not subscriptable
teste82: falha
input do teste:
/*Ok: Dois parametros*/
int exibe(int x, int y){
int z;
z = x*y;
println(z);
}
int main(){
exibe(5, 3);
}
output esperado:
15
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 245, in Evaluate
print(self.children[0][i])
TypeError: "function" object is not subscriptable
teste83: falha
input do teste:
/*Ok: Tres parametros*/
int exibe(int x, int y, int z){
println(x+y+z);
}
int main(){
exibe(2, 3, 4);
}
output esperado:
9
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 718, in main
FuncCall("main",[]).Evaluate(ST)
File "main.py", line 247, in Evaluate
funcList[1].Evaluate(functionST)
File "main.py", line 260, in Evaluate
x.Evaluate(ST)
File "main.py", line 245, in Evaluate
print(self.children[0][i])
TypeError: "function" object is not subscriptable
teste85: falha
input do teste:
/*Ok: return orexp*/
int soma(int x, int y){
return x + y;
}
int main(){
int x;
x = soma(2,3);
println(x);
}
output esperado:
5
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 717, in main
ST = Parser().run(comando)
File "main.py", line 697, in run
res = Parser().parseFuncDefBlock()
File "main.py", line 557, in parseFuncDefBlock
decNode.children.append(Parser.parseCommand())
File "main.py", line 687, in parseCommand
return Parser.parseBlock()
File "main.py", line 577, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 649, in parseCommand
raise Exception("; NOT FOUND")
Exception: ; NOT FOUND
teste89: falha
input do teste:
int qualquer(){
int x;
x = 8;
return x;
}
int main(){
int x;
x = 3;
println(x);
int y;
y = qualquer();
println(y);
println(x);
}
output esperado:
3
8
3
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 717, in main
ST = Parser().run(comando)
File "main.py", line 697, in run
res = Parser().parseFuncDefBlock()
File "main.py", line 557, in parseFuncDefBlock
decNode.children.append(Parser.parseCommand())
File "main.py", line 687, in parseCommand
return Parser.parseBlock()
File "main.py", line 577, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 598, in parseCommand
raise Exception("; NOT FOUND")
Exception: ; NOT FOUND
teste92: falha
input do teste:
/*Ok: para eval quando encontra return*/
int qualquer(){
int x;
x = 10;
println(x);
return x;
println(x*2);
}
int main(){
int y;
y = qualquer();
}
output esperado:
10
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 717, in main
ST = Parser().run(comando)
File "main.py", line 697, in run
res = Parser().parseFuncDefBlock()
File "main.py", line 557, in parseFuncDefBlock
decNode.children.append(Parser.parseCommand())
File "main.py", line 687, in parseCommand
return Parser.parseBlock()
File "main.py", line 577, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 598, in parseCommand
raise Exception("; NOT FOUND")
Exception: ; NOT FOUND
teste93: falha
input do teste:
/*Ok*/
int soma(int x, int y)
{
int res;
res = x + y;
return res;
}
bool comparaSoma()
{
bool res;
int x;
x = 3;
res = soma(x,2) == 8;
return res;
}
int main()
{
int x;
bool z;
z = comparaSoma();
x = z;
println(x);
}
output esperado:
0
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 717, in main
ST = Parser().run(comando)
File "main.py", line 697, in run
res = Parser().parseFuncDefBlock()
File "main.py", line 557, in parseFuncDefBlock
decNode.children.append(Parser.parseCommand())
File "main.py", line 687, in parseCommand
return Parser.parseBlock()
File "main.py", line 577, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 598, in parseCommand
raise Exception("; NOT FOUND")
Exception: ; NOT FOUND
teste95: falha
input do teste:
int soma(int x, int y)
{
int res;
res = x + y;
return res;
}
int main()
{
int x;
soma(3,5);/*Ok fazer isso*/
x = soma(3,5);
println(x);
}
output esperado:
8
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 717, in main
ST = Parser().run(comando)
File "main.py", line 697, in run
res = Parser().parseFuncDefBlock()
File "main.py", line 557, in parseFuncDefBlock
decNode.children.append(Parser.parseCommand())
File "main.py", line 687, in parseCommand
return Parser.parseBlock()
File "main.py", line 577, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 598, in parseCommand
raise Exception("; NOT FOUND")
Exception: ; NOT FOUND
teste97: falha
input do teste:
int serie(int x)
{
if (x == 1) {
return x;
}else{
return x + serie(x-1);
}
}
int main()
{
int x;
x = 5;
println(serie(x));
}
output esperado:
15
output recebido:
Mas algo saiu no stderror(que não deveria):
Traceback (most recent call last):
File "main.py", line 721, in
main()
File "main.py", line 717, in main
ST = Parser().run(comando)
File "main.py", line 697, in run
res = Parser().parseFuncDefBlock()
File "main.py", line 557, in parseFuncDefBlock
decNode.children.append(Parser.parseCommand())
File "main.py", line 687, in parseCommand
return Parser.parseBlock()
File "main.py", line 577, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 678, in parseCommand
if_node.children.append(Parser.parseCommand())
File "main.py", line 687, in parseCommand
return Parser.parseBlock()
File "main.py", line 577, in parseBlock
commands.children.append(Parser.parseCommand())
File "main.py", line 649, in parseCommand
raise Exception("; NOT FOUND")
Exception: ; NOT FOUND
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.