This shows you the differences between two versions of the page.
alf:laboratoare:04_fr_java [2023/03/28 03:22] alexandra.negoita02 [Exercices] |
alf:laboratoare:04_fr_java [2023/03/28 03:27] (current) alexandra.negoita02 |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== TP 4 - Parser ====== | ====== TP 4 - Parser ====== | ||
+ | |||
+ | ====== Assignment ====== | ||
+ | <note warning> | ||
+ | Vous devez **accepter** l'assignment d'ici est travailler avec ce **repository**: [[https://classroom.github.com/a/xAFtak5C|Lab 4]] | ||
+ | </note> | ||
+ | |||
+ | |||
Le but de ce TP est d'introduire la notion de ''parser'' en ANTLR4. | Le but de ce TP est d'introduire la notion de ''parser'' en ANTLR4. | ||
Line 90: | Line 97: | ||
===== Utilisation du parser ===== | ===== Utilisation du parser ===== | ||
- | Un exemple d'utilisation du parser dans un fichier ''index.ts'': | + | Un exemple d'utilisation du parser dans un fichier ''Main.java'': |
<code java> | <code java> |