astLSD10.dot
Description du code
astLSD10.dot est un fichier du projet Compilateur LSD010.Ce fichier est situé dans /var/www/bin/sniplets/lsd010/.
Projet Compilateur LSD010 :
Compilateur LSD010 développé dans le cadre du cours de syntaxe et sémantiqueref 1
Code source ou contenu du fichier
Code dot (astLSD10.dot) (64 lignes)
digraph LSD10{ bgcolor=white node [color="#9DACBF", fontcolor="#000000", style=filled]; edge [arrowsize=2, color="#000000"]; "0x8841e10"; "0x8841e10" [shape=doublecircle, color="#677E96", fontcolor="#FFFFFF", label="Functions : \nNo Type Functions\nLine 1 char 4"]; "0x8841e10" -> "0x8841db0"; "0x8841db0" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="Function : \nvoid main\nLine 1 char 8"]; "0x8841db0" -> "0x8841d50"; "0x8841d50" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="Structural node : \nNo Type {{decl}statement}\nLine 8 char 1"]; "0x8841d50" -> "0x8841ce8"; "0x8841ce8" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="function body : \nNODE_TYPE_TODO Statements node\nLine 8 char 1"]; "0x8841ce8" -> "0x8841c80"; "0x8841c80" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="function body : \nNODE_TYPE_TODO Statements node\nLine 8 char 1"]; "0x8841ce8" -> "0x8841c18"; "0x8841c18" [shape=box, color="#AAB5C6", fontcolor="#000000", label="NODE_TYPE_FOR : \nNo Type _9\nLine 7 char 1"]; "0x8841c18" -> "0x8841b58"; "0x8841b58" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="Structural node : \nNo Type _7\nLine 7 char 1"]; "0x8841b58" -> "0x8841af8"; "0x8841af8" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Structural node : \nNo Type _6\nLine 7 char 1"]; "0x8841af8" -> "0x8841a98"; "0x8841a98" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="function body : \nNODE_TYPE_TODO Statements node\nLine 4 char 20"]; "0x8841a98" -> "0x8841a30"; "0x8841a30" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Statement : \nNODE_TYPE_CHECK Statement : 'LExpr = RExpr;'\nLine 4 char 19"]; "0x8841a30" -> "0x88419b8"; "0x88419b8" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="Right expression : \ninteger _5\nLine 4 char 19"]; "0x88419b8" -> "0x8841958"; "0x8841958" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="number : \ninteger CONSTANT, NUMBER\nLine 4 char 18"]; "0x88419b8" -> "0x88418f0"; "0x88418f0" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Right expression : \nNODE_TYPE_TODO _4\nLine 4 char 17"]; "0x88418f0" -> "0x8841890"; "0x8841890" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Id : \nNo Type i\nLine 4 char 17"]; "0x8841a30" -> "0x8841820"; "0x8841820" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Id : \nNo Type i\nLine 4 char 15"]; "0x8841af8" -> "0x88415b0"; "0x88415b0" [shape=box, color="#AAB5C6", fontcolor="#000000", label="function body : \nNODE_TYPE_TODO Statements node\nLine 4 char 9"]; "0x88415b0" -> "0x8841548"; "0x8841548" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Statement : \nNODE_TYPE_CHECK Statement : 'LExpr = RExpr;'\nLine 4 char 8"]; "0x8841548" -> "0x88414d0"; "0x88414d0" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="number : \ninteger CONSTANT, NUMBER\nLine 4 char 7"]; "0x8841548" -> "0x8841468"; "0x8841468" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Id : \nNo Type i\nLine 4 char 6"]; "0x8841c18" -> "0x8841bb8"; "0x8841bb8" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Right expression : \nNo Type _8\nLine 7 char 1"]; "0x8841bb8" -> "0x88417b0"; "0x88417b0" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Right expression : \nboolean _3\nLine 4 char 13"]; "0x88417b0" -> "0x8841750"; "0x8841750" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="Right expression : \nNODE_TYPE_TODO _2\nLine 4 char 13"]; "0x8841750" -> "0x88416f0"; "0x88416f0" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Id : \nNo Type j\nLine 4 char 13"]; "0x88417b0" -> "0x8841680"; "0x8841680" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Right expression : \nNODE_TYPE_TODO _1\nLine 4 char 11"]; "0x8841680" -> "0x8841620"; "0x8841620" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Id : \nNo Type i\nLine 4 char 11"]; "0x8841d50" -> "0x88413f8"; "0x88413f8" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Type declarations : \nNo Type Declarations node\nLine 3 char 20"]; "0x88413f8" -> "0x8841390"; "0x8841390" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="Type declarations : \nNo Type Declarations node\nLine 3 char 20"]; "0x8841390" -> "0x8841348"; "0x8841348" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Type declaration : \ninteger j\nLine 3 char 19"]; "0x88413f8" -> "0x8841298"; "0x8841298" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Type declaration : \ninteger i\nLine 3 char 10"]; "Generated by the SSHD09 LSD010 compiler\n22/4/2010 3Hr 46\nWith GraphViz engine" [shape=box, color="#FF9933", fontcolor="#000000"]; }
Structure et Fichiers du projet
Afficher/masquer...Icône | Nom | Taille | Modification |
Pas de sous-répertoires. | |||
Icône | Nom | Taille | Modification |
| _ | Répertoire parent | 0 octets | 1731920093 18/11/2024 09:54:53 |
Warning
Ce code présente une manière possible d'implémenter un compilateur, et certains choix peuvent être discutés.Cependant, il peut donner des pistes pour démarrer, ou approcher certains concepts, et je tenterais par la suite de mettre à jour le code.
Utilisation de l'explorateur de code
- Navigation :
- Un clic sur une icône de répertoire ouvre ce répertoire pour en afficher les fichiers.
- Lorsque le répertoire en cours ne contient pas de sous-répertoires il est possible de remonter vers le répertoire parent.
- La structure de répertoires en treetable (tableau en forme d'arborescence) n'est plus possibledans cette version.
- Un clic sur une icône de fichier ouvre ce fichier pour en afficher le code avec la coloration syntaxique adaptée en fonction du langage principal utilisé dans le fichier.
- Affichage :
- Il est possible de trier les répertoires ou les fichiers selon certains critères (nom, taille, date).
- Actions :
- Les actions possible sur les fichiers dépendent de vos droits d'utilisateur sur le site. Veuillez activer le mode utilisateur pour activer les actions.
English translation
You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.
Thank you in advance.
Document created the 07/03/2010, last modified the 28/10/2018
Source of the printed document:https://www.gaudry.be/en/langages-lsd10-source-rf-examples/201004220347//astLSD10.dot.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
- ↑a,b LSD010 : Langage Simple et Didactique Il existe une un certain nombre d'interprétations de l'acronyme LSD (Langage Symbolique Didactique, Langage Sans Difficulté, Langage Simple et Didactique). LSD010 est la version 2010 de la suite LSD80, LSD_02, LSD03, LSD04, LSD05, LSD06, LSD07, LSD08, et LSD09.
References
- IHDCB332 - Théorie des langages : Syntaxe et sémantique : PY Schobbens,
Syntaxe et sémantique
(January 2010)
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.