IBM Software Group  |  Rational software
© 2004 IBM Corporation
4
Parsing Architecture 1.0
§We had concern over scalability of AST
4Settled on a callback-based architecture
4Clients created only the data that they needed
§Client would pass in a requestor to the parser and the parser would pass in parse info as the parse progressed
4Despite the names, the IAST* parse info does not form a proper AST
§Client would also be responsible for passing in ScannerInfo
4Compiler command line arguments that affect parsing
•Include paths, macro defs
4Needed to properly parse