Changes between Version 1 and Version 2 of AST


Ignore:
Timestamp:
04/18/11 12:36:54 (15 years ago)
Author:
Stephen Siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AST

    v1 v2  
    9898Stages
    9999 1. The input source file(s) are pre-processed, creating a stream of tokens with source information
     100      1. #include
     101      1. #define X 100 /* object-like macro */
     102      1. #define min(X,Y) (X<=Y ? X : Y)  /* function-like macro */
     103      1. #ifdef...#endif
    100104 1. The token stream is parsed to produce an AST in which all variables, types, etc., are represented simply as identifiers
    101105 1. The pragma strings are parsed and processed, and those AST nodes are filled out