1
0
Minimal c-like language built using java, ANTLR4, and jasmin
Go to file
2018-10-23 23:43:38 +02: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
mvn-deploy-jasmin.sh Use a local maven repository to handle jasmin dependency 2018-10-23 21:19:18 +02:00
pom.xml Use a local maven repository to handle jasmin dependency 2018-10-23 21:19:18 +02:00
Readme.md Use a local maven repository to handle jasmin dependency 2018-10-23 21:19:18 +02: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