Laboratories
· Laboratory 1 - Compiler construction tools
· Laboratory 2 - Using JFlex or Flex (Fast lexical analyzer
generator) - Example - miniJava
JFlex - The Fast Lexical Analyser Generator for Java
Example
- C# preprocessor
· Laboratory 3 - Construction of a recursive descendent parser - Example RDP - Clips
· Laboratory 4 - Construction of a LALR Parser - JavaCup
- A Calculator Using JFlex And CUP
Example
- C# parser ; CLIPS BNF Grammar
· Laboratory 5 - Using BYACC/J or Flex/Bison (I)
· Laboratory 6 - Using BYACC/J or Flex/Bison (II)
· Laboratory 7 - Errors recovery - Yacc/Bison Error Recovery
· Laboratory 8 - Semantic analysis - Example
· Laboratory 9 - Intermediate code generation
· Laboratory 10 - Projects evaluation
Projects - Project documentation example
· Compiler
Construction Using Flex And Bison
Examples
·
Example of lexical analyzer generated with
Flex
·
Left/Right Sintactical
Analyzer
·
Example of lexical sintactical
analyzer generated with Yacc