3
CS269: HW/SW Engineering of Embedded Systems, Winter02
Design criteria
•Code reuse
–Based on the Java parser of Ptolemy II (well, sort of…)
–
•Reduce effort to develop back-end modules
–APIs to inspect the ASTs
–A generic traversal mechanism: Visitor design pattern
–An annotation mechanism: Properties
–
•Support incremental compilation (to be implemented)
–Transparent from the point of view of the user
–Reuse ASTs from previous compilations
–Generate “skeletons” Meta-model files