forked from AbleOS/ableos
32 lines
316 B
Plaintext
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 ""
|