Changes between Version 5 and Version 6 of AST


Ignore:
Timestamp:
04/18/11 14:30:34 (15 years ago)
Author:
Stephen Siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AST

    v5 v6  
    1 = Abstract Syntax Tree =
     1= The TASS Abstract Syntax Tree =
     2
     3The TASS AST is the common front-end representation of a source program used by TASS.    It is used to generate a model, the TASS intermediate representation.
    24
    35Requirements:
    4  * Language neutral: to the extent possible one common AST should be used for C, C++, Fortran(s)
    5  * Should be easy to generate model from AST
    6  * Should be easy to generate AST from parse tree
     6 * language neutral: to the extent possible one common AST should be used for C, C++, Fortran(s)
     7 * should be easy to generate model from AST
     8 * should be easy to generate AST from a typical parse tree
     9 * should be easy to generate AST from ANTLR, ROSE, or Clang (other tools?)
    710 * AST may go through many processing stages; at each stage it is still an AST
     11 * persistent XML representation: should be able to read and write
     12 * all nodes must carry precise source information: file, begin point (line and column numbers), and end point
    813
    914Questions:
     
    1722== Elements of a TASS AST ==
    1823
    19 See description of CIL AST:
     24For one example of how to do this, see description of CIL AST:
    2025 * http://www.cs.berkeley.edu/~necula/cil/api/
    2126 * http://www.cs.berkeley.edu/~necula/cil/api/Cil.html