No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

common.h

Description du code

Définition des constantes et variables communes Compilateur LSD010

Code source ou contenu du fichier

  1. /*
  2.  * common.h : main header
  3.  * Common headers and customizations
  4.  * Part of the compiler project for LSD10 language
  5.  * Gaudry Stéphane
  6.  * More information on http://www.gaudry.be/langages-lex-yacc-intro.html
  7.  */
  8. #ifndef GLOBAL_H
  9. #define GLOBAL_H
  10.  
  11. #include "ast.h"
  12. #include "console.h"
  13. #include "pcode.h"
  14. #include "symbolsTable.h"
  15. /*
  16. * One of the DEB_xxx values
  17. * @see console.h
  18. */
  19. #define VERBOSE_LEVEL DEB_E
  20. /**
  21. * Generates an AST image on each parsing
  22. */
  23. #define AST_IMAGE_REQUESTED 0
  24. /**
  25. * Generates the AST HTML and XMLdebug on each parsing
  26. */
  27. #define AST_PRINT_REQUESTED 0
  28. /**
  29. * Generates the symbols table HTML debug on each parsing
  30. */
  31. #define SYMTABLE_PRINT_REQUESTED 0
  32. /**
  33. * Checks return statement
  34. */
  35. #define AST_RETURN_CHECK_REQUESTED 0
  36. /**
  37. * Do not generate p-code output
  38. */
  39. #define PCODE_GENERATION_BYPASS 0
  40. /**
  41. * Generates a file with the p-code for the GPMachine
  42. */
  43. #define PCODE_FILE_REQUESTED 1
  44. /**
  45. * Forces to print a variable usage report
  46. */
  47. #define VAR_USAGE_REPORT_REQUESTED 0
  48.  
  49. #endif

Autres extraits de codes en c

  • DisquetteDispo Vérifier la disponibilité du lecteur de disquette
  • Suite de Fibonacci Exemple d'itération en C
  • Suite de Fibonacci Exemple de récursion en C
  • astDataRepresentation.h Représentation de données de l'arbre syntaxique abstrait Compilateur LSD010
  • ast.h Arbre syntaxique abstrait Compilateur LSD010
  • ast.c Arbre syntaxique abstrait Compilateur LSD010
  • symbolsTableDataRepresentation.h Représentation de données de la table des symboles Compilateur LSD010
  • symbolsTable.h Fonctions de gestion de la table des symboles Compilateur LSD010
  • symbolsTable.c Fonctions de gestion de la table des symboles Compilateur LSD010
  • hashCode.h Fonctions de hachage Compilateur LSD010
  • hashCode.c Fonctions de hachage Compilateur LSD010
  • scopeStack.h Fonctions de gestion d'une pile de portées Compilateur LSD010
  • scopeStack.c Fonctions de gestion d'une pile de portées Compilateur LSD010
  • scopeHelper.h Fonctions de gestion de la portée courante Compilateur LSD010
  • console.h Fonctions d'affichage Compilateur LSD010
  • console.c Fonctions d'affichage Compilateur LSD010
  • graphVizHelper.h Génération d'une image d'un arbre syntaxique abstrait.
    Classe d'intégration de l'outil GraphViz. Compilateur LSD010
  • graphVizHelper.c Génération d'une image d'un arbre syntaxique abstrait.
    Classe d'intégration de l'outil GraphViz. Compilateur LSD010
  • common.h Définition des constantes et variables communes Compilateur LSD010
  • pcode.c Génération de p-code Compilateur LSD010
  • pcode.h Génération de p-code Compilateur LSD010
  • Tous les extraits

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 05/10/2009, last modified the 28/10/2018
Source of the printed document:https://www.gaudry.be/en/sniplet-rf-lsd010/project/source/common.h.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.