Skip to content

fatman2021/small-compiler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

small-compiler

Generate Documentation

gradle genDocs

Extra running notes

As a result of splitting out the antlr and pdflatex plugins into seperate repos a little bit more setup is required.

  1. Ensure small-compiler, pdflatexplugin and antlr4plugin all sit within one parent folder that you are comfortable holding a build directory.
  2. Run build.gradle in pdflatexplugin directory.
  3. Run build.gradle in antlr4plugin directory.
  4. Notice the generated repo folder in the parent directory? small-compiler should now use that to successfully build.

Running command

Once the above is done simply type:

gradle clean release run -Pargs="example.if"

All other documentation inside build/docs.

About

TDD implementation of a compiler that takes my custom language and generates Forth instructions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 83.5%
  • TeX 14.7%
  • ANTLR 1.6%
  • Batchfile 0.2%