ableos/hblang/tests/hblang::lexer::tests::arithmetic.txt
2024-05-10 22:54:12 +02:00

30 lines
306 B
Plaintext

Ident "main"
Decl ":="
Or "||"
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 ""