mirror of
https://github.com/LucasVbr/croissant.git
synced 2026-05-16 17:12:07 +00:00
refactor: Syntax with unit tests
This commit is contained in:
+33
-1
@@ -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)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
*/
|
||||
Reference in New Issue
Block a user