Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 506 Bytes

File metadata and controls

32 lines (21 loc) · 506 Bytes

ifj21

Compiler for subset of TEAL language named "ifj21". Code in "ifj21" language is compiled to an intermediate representation called "ifjcode21"

Compilation

  • To compile a compiler itself:
  cd cmake-build-debug && make ifj21
  • To compile & generate tests:
  cd cmake-build-debug && make testgen && ./testgen

Running

./ifj21 < "inputfile.tl"

Testing

cd tests && ./tests_shch all

An intermediate code is written to the stdout.