An C programming language subset ("heroc") compiler written in pure C
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
bin
doc
examples
lib
src
test-scripts
test
.cproject
.project
LICENCE
Makefile
README
README.md

README.md

heroc

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.