Skip to content

Small repository to show Flex, Bison and LLVM usage examples

License

Notifications You must be signed in to change notification settings

dsorato/compiler_examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

INE5426 - Construção de Compiladores

Compiler Construction: Computer Science course at INE/UFSC

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

Small repository to show Flex, Bison and LLVM usage examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 94.2%
  • C 2.3%
  • Yacc 2.1%
  • Other 1.4%