Skip to content

Compiler implemented in C++/Flex/Bison for an imperative programming language. Targeting a custom virtual machine.

Notifications You must be signed in to change notification settings

Rafisto/compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Imperative Programming Language Compiler

C++ CI Status Compiler Tournament

Dependencies

The project requires the following tools:

  • clang version 21.1.6
  • clang++ version 21.1.6
  • flex 2.6.4
  • bison (GNU Bison) 3.8.2
  • GNU Make 4.4.1

Tests additionally require:

  • lit 21.1.8dev

Compilation

cd compiler
make

Running

./compiler/compiler <input_file> <output_assembly_file>
./vm/maszyna-wirtualna-cln <output_assembly_file>

Testing

lit tests

About

Compiler implemented in C++/Flex/Bison for an imperative programming language. Targeting a custom virtual machine.

Topics

Resources

Stars

Watchers

Forks

Contributors