1
0
Minimal c-like language built using java, ANTLR4, and jasmin
Go to file
2018-11-21 21:14:32 +01:00
compiler Change test-resources path to src/test/resources 2018-10-23 20:43:00 +02:00
lib/net/jasmin/jasmin Add missing jar in the jasmin dependency 2018-10-23 23:43:38 +02:00
parser Fix parent name in parser/pom.xml 2018-10-23 20:40:10 +02:00
.gitignore Update .gitignore 2018-04-05 20:05:27 +02:00
Demo.g4 Adding grammar file and pom.xml 2018-04-05 20:02:25 +02:00
pom.xml Add maven surefire plugin to run unit tests 2018-11-21 21:14:32 +01:00
Readme.md Update link for test resources in Readme.md 2018-10-29 23:55:48 +01:00

Let's build a compiler !

Minimal c-like language built using java, ANTLR4, and jasmin

Summary of tools used :

Test cases are available here

From this playlist.

Installing third-party jars in maven

Define a local maven repository in folder lib/ in pom.xml :

<repositories>
    <repository>
        <id>local-maven-repo</id>
        <url>file:./lib</url>
    </repository>
</repositories>

For each external jar you want to install run :

mvn deploy:deploy-file \
    -DgroupId=com.example \
    -DartifactId=example \
    -Dversion=1.0 \
    -Durl=file:./lib/ \
    -DrepositoryId=local-maven-repo \
    -DupdateReleaseInfo=true \
    -Dfile=/path/to/file.jar