Skip to content

a compiler frontend for a teal lang written in pure C (don't try this at home)

Notifications You must be signed in to change notification settings

SkuratovichA/ifj21

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

a compiler frontend for a teal lang written in pure C (don't try this at home)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages