Closed chharvey closed 4 years ago
Tokenize a program into different types of tokens.
FileBound ::= #x02 | #x03 Whitespace ::= [#x20#x09#x0A#x0D]+ IntegerLiteral ::= [0-9]+ Punctuator ::= "+" | "-" | "*" | "/" | "^" | "(" | ")"
\u0002
\u0003
\u0020
\u0009
\u000a
\u000d
0-9
commits 34b5cb4 , ffee94c , cb034ce close this
Tokenize a program into different types of tokens.
\u0002
and\u0003
represent start-of-text and end-of-text respectively.\u0020
), tabs (\u0009
), line feeds (\u000a
), and carriage returns (\u000d
).0-9
.