Skip to content

A compiler for the custom programming language called R2Lang

Notifications You must be signed in to change notification settings

FalsePattern/r2lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#R2Lang

##Dependencies JDK 14
maven 3.6.3 or higher

##Building To generate sources from the Antlr4 grammar files, run:
mvn clean antlr4:antlr4

To build a jar with dependencies (also generates sources), run the following in the root folder:
mvn clean package
and then you can find two jar files in the target folder: one without dependencies, and one with every dependency included

##Running r2lang-x.y.z.jar <source file path> [optimization passes]
source file path is a relative or absolute path to a file containing R2Lang source code
optimization passes specifies how many times you want the optimizer to pass over the code before exiting (recommended: at least 2)

About

A compiler for the custom programming language called R2Lang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published