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) (68 lignes)
digraph LSD10{ bgcolor=white node [color="#9DACBF", fontcolor="#000000", style=filled]; edge [arrowsize=2, color="#000000"]; "0x9a64fa8"; "0x9a64fa8" [shape=doublecircle, color="#677E96", fontcolor="#FFFFFF", label="Functions : \nNo Type Functions\nLine 1 char 7"]; "0x9a64fa8" -> "0x9a64720"; "0x9a64720" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="Function : \nboolean isGreaterThan\nLine 1 char 20"]; "0x9a64720" -> "0x9a646b8"; "0x9a646b8" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="Structural node : \nNo Type {{decl}statement}\nLine 7 char 1"]; "0x9a646b8" -> "0x9a64650"; "0x9a64650" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="function body : \nNODE_TYPE_TODO Statements node\nLine 7 char 1"]; "0x9a64650" -> "0x9a645e8"; "0x9a645e8" [shape=box, color="#AAB5C6", fontcolor="#000000", label="return : \nNo Type Statement : 'API_RETURN(RExpr);'\nLine 6 char 12"]; "0x9a645e8" -> "0x9a64570"; "0x9a64570" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Right expression : \nboolean _5\nLine 6 char 11"]; "0x9a64570" -> "0x9a64510"; "0x9a64510" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="Right expression : \nNODE_TYPE_TODO _4\nLine 6 char 11"]; "0x9a64510" -> "0x9a644b0"; "0x9a644b0" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Id : \nNo Type i\nLine 6 char 11"]; "0x9a64570" -> "0x9a64440"; "0x9a64440" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Right expression : \nNODE_TYPE_TODO _3\nLine 6 char 9"]; "0x9a64440" -> "0x9a643e0"; "0x9a643e0" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Id : \nNo Type j\nLine 6 char 9"]; "0x9a64720" -> "0x9a64370"; "0x9a64370" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Parameters list : \nNo Type _2\nLine 1 char 39"]; "0x9a64370" -> "0x9a64310"; "0x9a64310" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="Parameters list : \nNo Type _1\nLine 1 char 39"]; "0x9a64310" -> "0x9a642b0"; "0x9a642b0" [shape=box, color="#AAB5C6", fontcolor="#000000", label="NODE_ARG_DECL_VAR : \ninteger j\nLine 1 char 38"]; "0x9a64370" -> "0x9a64240"; "0x9a64240" [shape=box, color="#AAB5C6", fontcolor="#000000", label="NODE_ARG_DECL_VAR : \ninteger i\nLine 1 char 29"]; "0x9a64fa8" -> "0x9a64f48"; "0x9a64f48" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Functions : \nNo Type Functions\nLine 8 char 4"]; "0x9a64f48" -> "0x9a64ee8"; "0x9a64ee8" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="Function : \nvoid main\nLine 8 char 8"]; "0x9a64ee8" -> "0x9a64e88"; "0x9a64e88" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="Structural node : \nNo Type {{decl}statement}\nLine 16 char 1"]; "0x9a64e88" -> "0x9a64e20"; "0x9a64e20" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="function body : \nNODE_TYPE_TODO Statements node\nLine 16 char 1"]; "0x9a64e20" -> "0x9a64db8"; "0x9a64db8" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="function body : \nNODE_TYPE_TODO Statements node\nLine 16 char 1"]; "0x9a64db8" -> "0x9a64d50"; "0x9a64d50" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Statement : \nNODE_TYPE_CHECK Statement : 'LExpr = RExpr;'\nLine 15 char 21"]; "0x9a64d50" -> "0x9a64cd8"; "0x9a64cd8" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="function call : \nNODE_TYPE_TODO isGreaterThan\nLine 15 char 20"]; "0x9a64cd8" -> "0x9a64c08"; "0x9a64c08" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Right expression : \nNODE_TYPE_TODO _6\nLine 15 char 18"]; "0x9a64c08" -> "0x9a64ba8"; "0x9a64ba8" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Id : \nNo Type k\nLine 15 char 18"]; "0x9a64d50" -> "0x9a64b20"; "0x9a64b20" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Id : \nNo Type b\nLine 15 char 2"]; "0x9a64e20" -> "0x9a64ab0"; "0x9a64ab0" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Statement : \nNODE_TYPE_CHECK Statement : 'LExpr = RExpr;'\nLine 14 char 4"]; "0x9a64ab0" -> "0x9a64a38"; "0x9a64a38" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="number : \ninteger CONSTANT, NUMBER\nLine 14 char 3"]; "0x9a64ab0" -> "0x9a649d0"; "0x9a649d0" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Id : \nNo Type k\nLine 14 char 2"]; "0x9a64e88" -> "0x9a64960"; "0x9a64960" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Type declarations : \nNo Type Declarations node\nLine 13 char 1"]; "0x9a64960" -> "0x9a648f8"; "0x9a648f8" [shape=hexagon, color="#e6e8f2", fontcolor="#000000", label="Type declarations : \nNo Type Declarations node\nLine 13 char 1"]; "0x9a648f8" -> "0x9a648b0"; "0x9a648b0" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Type declaration : \nboolean b\nLine 12 char 9"]; "0x9a64960" -> "0x9a64800"; "0x9a64800" [shape=box, color="#AAB5C6", fontcolor="#000000", label="Type declaration : \ninteger k\nLine 11 char 9"]; "Generated by the SSHD09 LSD010 compiler\n22/4/2010 3Hr 59\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 | 1731933698 18/11/2024 13:41:38 |
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/201004220359//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.