1234567891011121314151617181920212223 |
- /*
- All lexical tokens - not syntactically correct, but
- that will have to wait until syntax analysis.
- */
- /* Print */ print /* Sub */ -
- /* Putc */ putc /* Lss */ <
- /* If */ if /* Gtr */ >
- /* Else */ else /* Leq */ <=
- /* While */ while /* Geq */ >=
- /* Lbrace */ { /* Eq */ ==
- /* Rbrace */ } /* Neq */ !=
- /* Lparen */ ( /* And */ &&
- /* Rparen */ ) /* Or */ ||
- /* Uminus */ - /* Semi */ ;
- /* Not */ ! /* Comma */ ,
- /* Mul */ * /* Assign */ =
- /* Div */ / /* Integer */ 42
- /* Mod */ % /* String */ "String literal"
- /* Add */ + /* Ident */ variable_name
- /* character literal */ '\n'
- /* character literal */ '\\'
- /* character literal */ ' '
|