User:Ed Davis: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 14:
Create a lexical analyzer for the Tiny programming language.
;Specification
{| class="wikitable"
Line 38 ⟶ 37:
operators:
{| class="wikitable"
'*' multiply Mul▼
|-
'/' divide Div▼
! Characters !! Common name !! Name
|-
'-' minus and unary minus Sub and Uminus▼
| '
|-
'<=' less than or equal Leq▼
| '
|-
'!=' not equal Neq▼
| '
|-
|-
| '<' || less than || Lss
|-
|-
| '>' || greater than || Gtr
|-
|-
|-
|}
symbols:
|