mirror of
https://github.com/LucasVbr/croissant.git
synced 2026-07-09 06:57:48 +00:00
feat: Support file as argument and better error message
This commit is contained in:
+2
-25
@@ -1,26 +1,3 @@
|
||||
// Déclaration d'une variable de type entier
|
||||
var a: entier = 4 + 2 + 3 * 1;
|
||||
/*Hello, World!*/
|
||||
|
||||
/*
|
||||
SourceFile([
|
||||
VariableStatement([
|
||||
VariableDeclaration(
|
||||
Type_Integer,
|
||||
Identifier("a"),
|
||||
BinaryExpression(
|
||||
Add,
|
||||
BinaryExpression(
|
||||
Add,
|
||||
Literal(Integer(4)),
|
||||
Literal(Integer(2))
|
||||
),
|
||||
BinaryExpression(
|
||||
Multiply,
|
||||
Literal(Integer(3)),
|
||||
Literal(Integer(1))
|
||||
)
|
||||
)
|
||||
)
|
||||
])
|
||||
])
|
||||
*/
|
||||
var a = 1;
|
||||
Reference in New Issue
Block a user