Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pixselve-school/TLC-projet
A compiler for the While language made in Java
https://github.com/pixselve-school/TLC-projet
antlr compiler while
Last synced: 15 days ago
JSON representation
A compiler for the While language made in Java
- Host: GitHub
- URL: https://github.com/pixselve-school/TLC-projet
- Owner: pixselve-school
- License: gpl-3.0
- Archived: true
- Created: 2022-10-17T06:10:43.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-20T13:56:26.000Z (almost 2 years ago)
- Last Synced: 2024-07-29T16:54:15.590Z (3 months ago)
- Topics: antlr, compiler, while
- Language: Java
- Homepage:
- Size: 1.89 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Projet TLC - Compilateur While
Membres :
- GOARDOU Fabien
- KERICHARD Mael## Compilation de la grammaire
```shell
sh gradlew generateGrammarSource
gradlew.bat generateGrammarSource
```## Lancer le compilateur
### Parameters
Dans la classe Main :
```java
String pathRead = "src/main/resources/and.txt";
String pathWrite3addr = "out/and.3addr";
String pathWriteJS = "out/and.js";
```
Ou lancer la fonction main avec les arguments suivants :
```txt
input_file output_3addr output_js
```### Lancement
Lancer gradle avec l'option `run`
```shell
sh gradlew run
gradlew.bat run
```## Lancer le programme fournis
```txt
node /out/and.js
```## Documents
- [Description Technique](./docs/description-technique.md)
- [Validation](./docs/tests.md)
- [Methodologies Gestion de projet](./docs/methodologie-gestion-de-projet.md)
- [Analyse Postmortem](./docs/post-mortem.md)