- Run the miniCsharp.jar file stored in the dist folder of this project
- Set the path of a .frag file that contain the code that is going to be analized
- The .out file is going to be created with the same path and the same name of the .frag file
- If the .frag file contain a lexical error the program should let you know
This lexical analyzer recognizes this list of tokens:
- IDENTIFIER A 31 character length identifier
- INTEGER Normal integer with hex support
- DOUBLE Normal double wit hex support
- RESERVERDWORDS
- void
- int
- double
- class
- bool
- string
- interface
- null
- extends
- implements
- for
- while
- if
- else
- return
- break
- New
- NewArray
- OPERATOR
-
-
-
- /
- %
- <
- <=
-
-
=
- =
- ==
- !=
- &&
- ||
- !
- ;
- ,
- .
- []
- ()
- {}
- [
- ]
- {
- }
- (
- )
- BOOLEAN
- STRING
- NORMALCOMMENT
- MULTILINECOMMENT