The heroc is programming language, a subset of the GNU C language. It was created by doc. RNDr. Vilém Vychodil, Ph.D. (http://vychodil.inf.upol.cz/) at Department of computer science of Palacký university (http://inf.upol.cz) to be used in the Compilers 1 course.
The components
- lexical analyzator
- syntactic analyzator
- semantic analyzator
- stackode generator
- gas generator
Also implemented various tools:
- ast (basic) displayer
- ast exporter to scheme, it's evaluator/interpreter (deprecated, absolutelly not working)
- stackode exporter to scheme, it's evaluator/interpreter (yeah, really!)
- scripts for various batch testing
Take a look at various examples (examples/*.heroc
) to see how it works and what does my implementation support.
Also you can take a look into the doc
directory. (Currently) You can find latex documentation document, but only in czech language.