Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
|
prog:lazarus:projets:pascal_parser [06/05/2024 19:08] thierry créée |
prog:lazarus:projets:pascal_parser [07/05/2024 18:17] (Version actuelle) thierry [Sources & Ressources] |
||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ====== Création d'un Parser de Pascal ====== | + | ====== Création d'un Parser de code Pascal ====== |
| + | J'ai comme idée de créer un Parser de code Pascal afin de creer automatiquement une documentation du code analysé. | ||
| + | |||
| + | Pour cela 2 approches : | ||
| + | - Utiliser des parseur existants | ||
| + | - Créer mon propre parseur | ||
| + | |||
| + | ===== Parseurs existants ===== | ||
| + | ==== fcl-passrc ==== | ||
| + | sous le répertoire : \fpcsrc\packages\fcl-passrc\src\pparser.pp | ||
| + | |||
| + | ==== fpc internal ==== | ||
| + | [[https://wiki.freepascal.org/FPC_internals/fr]] | ||
| + | |||
| + | [[https://wiki.freepascal.org/The_parser]] | ||
| + | ==== pascalparsetool du codetools ==== | ||
| + | dans le rép : \lazarus\components\codetools\pascalparsertool.pas | ||
| + | ===== Création d'un parseur ===== | ||
| + | |||
| + | ====== Sources & Ressources ====== | ||
| + | * [[https://tomassetti.me/guide-parsing-algorithms-terminology/]] | ||
| + | * [[https://supunsetunga.medium.com/writing-a-parser-algorithms-and-implementation-a7c40f46493d]] | ||
| + | * Video : [[https://www.youtube.com/watch?v=4m7ubrdbWQU]] | ||
| + | |||
| + | |||