User:Ed Davis: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
==Specification== |
==Specification== |
||
The various token types are denoted below. |
|||
===Operators=== |
===Operators=== |
||
Line 103: | Line 105: | ||
====Complete list of token names==== |
====Complete list of token names==== |
||
'''EOI, Print, Putc, If, While, Lbrace, Rbrace, Lparen, Rparen, |
'''EOI, Print, Putc, If, While, Lbrace, Rbrace, Lparen, Rparen, Uminus, Mul, Div, Add, Sub, Lss, Gtr, Leq, Neq, And, Semi, Comma, Assign, Integerk, Stringk, Ident''' |
||
Uminus, Mul, Div, Add, Sub, Lss, Gtr, Leq, Neq, And, Semi, Comma, |
|||
Assign, Integerk, Stringk, Ident''' |
|||
==Program output== |
==Program output== |