Skip to content

Nynko/compilation

Repository files navigation

Projet compilation

Compiler/lancer le projet

Générer la grammaire avec Antlr4 :

make grammar

Compiler le Java :

make build

Lancer les tests unitaires :

make test

Afficher un arbre syntaxique

make run -- ARGS="examples/good.c"

Compiler l'intégralité du projet :

make all

Lancer le projet :

./gradlew run

Compiler un fichier sous mac ou linux avec l'executable: (Remplacer macos par linux pour les machines linux arm)

make macos ARGS="pathToTheCFile"

Run sl: (replace macos by linux for arm linux machine)

make macos ARGS=./examples/\(ARM\)_sl.c
./out/ARM

About

Projet Compilation TELECOM Nancy 2022

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages