Skip to content

An C programming language subset ("heroc") compiler written in pure C

License

Notifications You must be signed in to change notification settings

martlin2cz/heroc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An C programming language subset ("heroc") compiler written in pure C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published