-
Notifications
You must be signed in to change notification settings - Fork 1
komp12 project - create a compiler
kanelbulle/cortado
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
__ .___ ____ ____________/ |______ __| _/____ _/ ___\/ _ \_ __ \ __\__ \ / __ |/ _ \ \ \__( <_> ) | \/| | / __ \_/ /_/ ( <_> ) \___ >____/|__| |__| (____ /\____ |\____/ \/ \/ \/ This is a Minijava compiler written in java. -- Minijava specification -- http://www.csc.kth.se/utbildning/kth/kurser/DD2488/komp11/project/newgrammar.pdf -- Tools used -- * http://jflex.de * http://www2.cs.tum.edu/projects/cup -- Resources -- * http://www.cs.auckland.ac.nz/~bruce-h/lectures/330ChaptersPDF/ Building: ``` ant ``` Compiling a minijava file: ``` java -cp mjc.jar:lib/JFlex.jar:lib/java-cup-11a.jar mjc.JVMMain path/to/minijava/file -S ``` Generating .class files from the generated .j files: ``` java -jar lib/jasmin.jar *.j ```
About
komp12 project - create a compiler
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published