Skip to content

rickyjreyes/pascal_compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

pascal_compiler

Compile JcPascal with sample.pas as an argument (make sure include antlr-4.7-complete.jar as the external library)

After run the program, it generates sample.j

Run the command below to generate sample.class

java -jar jasmin.jar sample.j

Run this to execute the sample.class in Java.

Notes: this sample.class required RunTimer.class in the same folder,

you can compile it with javac RunTimer.java

java sample

pause

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors