Professional Documents
Culture Documents
Lexer
Lexer
=> <IDENTIFIER>
Integer
-> Digit+
=> <INTEGER>;
Operator
-> Operator_symbol+
=> <OPERATOR>;
String
Spaces
Comment
->
( \ t | \ n | \ \ | \
| (
| )
| ;
| ,
|
| Letter | Digit | Operator_symbol
)*
=> <STRING>;
-> ( | ht | Eol )+
=> <DELETE>;
-> //
( | ( | ) | ; | , | \ |
| ht | Letter | Digit | Operator_symbol
)* Eol
=> <DELETE>;
Punctuation->
->
->
->
(
)
;
,
=>
=>
=>
=>
Letter
Digit
-> 0..9;
Operator_symbol
-> + |
| @ |
| ! | #
| { | }
- |
/ |
| %
| "
* |
: |
|
|
(
)
;
,;