If you can't read please download the document
Upload
florian-gysin
View
240
Download
0
Embed Size (px)
DESCRIPTION
Prefinal Report for the Compiler Construction Course 2010 at EPFL in Switzerland.
Citation preview
2. Vision
4. Vision
7.
General Idea 11.
Demo 14. AST Base Implementation Code Generator Parser Lexer Analyzer recursive descent add/connect symbols check types used CAFEBABE ready to run... lookahead of one source code JVM Code 15.
@Comments /* * The method foo will say hello * if you ask it nicely. *@paramnameYour name. *@returnA friendly greeting.*/ def foo(name:String) : String = { return hello + name; } 18.
@Preconditions /* * The method divide will divide * two integers. *@preconditionb != 0 */ def divide(a:int, b:int) : int = { return a / b; } 21. AST
TDoc Implementation Code Generator Parser Lexer Analyzer TDoc Generator comments source code JVM Code Html Doc 26.
Things to do... 29.
Summary 30.
Summary 33.
Summary