/LexerSimpleExample

for Compilers 1 class

Primary LanguageC++

Simple Automata that identifies:

  • Integers constants
  • Float constants
  • Parenthesization
  • Comparing operators
  • arithmetic operators
  • comments (block and single lined)

The .jff file contains the Automaton I made for this example, you can see it using JFLAP.