Changes between Version 17 and Version 18 of C to tass-AST xml
- Timestamp:
- 04/11/11 09:40:00 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
C to tass-AST xml
v17 v18 72 72 73 73 Stages 74 1. All variables, types, etc., are represented simply as identifiers 74 1. The input source file(s) are pre-processed, creating a stream of tokens with source information 75 1. The token stream is parsed to produce an AST in which all variables, types, etc., are represented simply as identifiers 75 76 1. Symbol table information is associated to the identifiers in the AST 76 1. (Static) types are created and associated to every expression 77 1. (Static) types are created and associated to every expression (use the types in the model package?) 77 78 1. Variable objects are created and inserted into AST 78 79 1. Side effects are removed by introducing temp variables 79 1. Local variables are all lifted to outermost scope 80 80 1. Local variables are all lifted to outermost scope? 81 1. Model is produced 81 82 82 83
