refactor: Syntax with unit tests

This commit is contained in:
Lucàs
2024-07-08 16:44:42 +02:00
parent 6df363c78d
commit 2e76ccf9fc
39 changed files with 460 additions and 771 deletions
+33 -1
View File
@@ -1 +1,33 @@
var a : caractere = '';
1 + 1;
4 * 0;
/*
Root(
SequenceStatement(
ExpressionStatement(
BinaryExpression(
Add,
Literal(
Integer(1)
),
Literal(
Integer(1)
)
)
),
ExpressionStatement(
BinaryExpression(
Multiply,
Literal(
Integer(4)
),
Literal(
Integer(0)
)
)
)
)
)
*/