Compilers Course

Exercise 1 - Lexical Analyzer

Implementing a simple Compiler's Lexical analyzer using Java & according to exercise defined expressions.

Usage

  1. Export project as runnable Jar file, for example lexical.jar, with main class: ParserMain.java
  2. Run from CLI: java -jar lexical.jar someClass.java
  3. Output will be in file someClass.token