You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
536 B
Plaintext

Declaration Test
======
let a = 1 + 1
let b = a + 2
======
(file
(statement
(decl
(ident: "a")
(expr
(infix_expr
(literal
(integer: "1")
)
(operator: "+")
4 months ago
(literal
(integer: "1")
)
)
)
)
)
4 months ago
(statement
(decl
(ident: "b")
(expr
(infix_expr
(ident: "a")
(operator: "+")
4 months ago
(literal
(integer: "2")
)
)
)
)
)
(EOI: "")
)