40 likes | 127 Views
Epsilon Compiler. Advanced Compilers Progress Report James Simister 11/3/99. Focus. Develop Epsilon language Extend Sheba compiler to Epsilon language Implement aspect weaving in compiler Add optimizations Develop test cases OO calculator Debugging aspect. Language Development.
E N D
Epsilon Compiler Advanced Compilers Progress Report James Simister 11/3/99
Focus • Develop Epsilon language • Extend Sheba compiler to Epsilon language • Implement aspect weaving in compiler • Add optimizations • Develop test cases • OO calculator • Debugging aspect
Language Development • I’ve hammered out the grammar for the Epsilon language • Sheba was extended to: • support objects and inheritance • no nested objects • support aspects • advice for before, after, and replace • wildcard matching for class & method names
Compiler Modification • Original compiler was one-pass, no explicit parse tree, no optimization • Must be extended: • lex & yacc input to accept Epsilon grammar & syntax • IR parse tree • Source-to-source transform for aspect weaving • Lower-level IR for optimizations? • Add passes for optimization