Compilers Construction: Computer Science course at INE/UFSC Code examples with Flex, Bison, LLVM, C & C++
First class project for the first semester of 2016.
Initial implementation of the compiler for a simple language called Allen.
Includes tests for different versions of the language.
Example of code generation with Flex, Bison and LLVM 3.4.
Initial example of lexical and syntax with Flex, Bison & C++ to be further developed by students. Includes errors (on purpose).
Simple examples of intermediary code generation and JIT compilation with LLVM 3.4.
Example of lexical, syntax, and semantic analysis with C++, Flex & Bison.