fmreina / INE5426-A5

Practice of Flex-Bison/C++ for Compilers class. Base example taken from https://github.com/llpilla/compiler_examples.git

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

INE5426 - Compilers Construction

Compiler Construction: Computer Science course at INE/UFSC

This is a class exercise for the practice of Flex-Bison/C++. The initial code example was taken from the professor's repository at https://github.com/llpilla/compiler_examples.git (by llpilla)

Flex + Bison C++ example

Files

  • ast.cpp & ast.h: C++ Abstract Syntax Tree definitions and methods
  • parser.y: Bison parser
  • scanner.l: Flex scanner
  • main.cpp: C++ main file
  • Makefile: call make to compile

About

Practice of Flex-Bison/C++ for Compilers class. Base example taken from https://github.com/llpilla/compiler_examples.git

License:GNU General Public License v3.0


Languages

Language:C++ 94.8%Language:C 2.3%Language:Yacc 1.8%Language:Lex 0.7%Language:Makefile 0.4%