ableos/hblang/tests/hblang_lexer_tests_arithmetic.txt

32 lines
328 B
Plaintext
Raw Normal View History

2024-05-10 15:54:12 -05:00
Ident "main"
Decl ":="
2024-05-11 15:22:08 -05:00
Fn "fn"
LParen "("
RParen ")"
2024-05-10 15:54:12 -05:00
Colon ":"
Ident "int"
LBrace "{"
Return "return"
Number "10"
Minus "-"
Number "20"
FSlash "/"
Number "2"
Plus "+"
Number "4"
Star "*"
LParen "("
Number "2"
Plus "+"
Number "2"
RParen ")"
Minus "-"
Number "4"
Star "*"
Number "4"
Plus "+"
Number "1"
Semi ";"
RBrace "}"
Eof ""