holey-bytes/hblang/tests/lexer_tests_arithmetic.txt
2024-05-15 10:37:39 +02:00

32 lines
316 B
Plaintext

Ident "main"
Decl ":="
Fn "fn"
LParen "("
RParen ")"
Colon ":"
Ident "int"
LBrace "{"
Return "return"
Number "10"
Sub "-"
Number "20"
Div "/"
Number "2"
Add "+"
Number "4"
Mul "*"
LParen "("
Number "2"
Add "+"
Number "2"
RParen ")"
Sub "-"
Number "4"
Mul "*"
Number "4"
Add "+"
Number "1"
Semi ";"
RBrace "}"
Eof ""