dis6 - CMPSC 160 Translation of Programming Languages...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
CMPSC 160 Translation of Programming Languages Project 3 Cont’d
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
TA Evaluation Knowledge of the course Preparation for discussion Overall effectiveness Answering questions Board work English
Background image of page 2
Review of AST astbuilder.gawk ast.hpp ast.cpp ast.cdef lexer.l parser.ypp csimple files Makefile Main.cpp ast2dot.cpp symtab.hpp symtab.cpp primitive.hpp primitive.cpp AST
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Structure of AST Program *Proc Proc SymName *Decl Type Procedure_block SymName char* Decl *SymName Type Type:TInteger Type:TCharacter Type:TBoolean Type:TString Primitive Procedure_block *Decl *Proc *Stat Return_stat Stat:Assignment SymName Expr Stat:StringAssignment SymName StringPrimitive StringPrimitive char*
Background image of page 4
Structure of AST Stat:Call SymName SymName *Expr Stat:ArrayCall SymName Expr SymName *Expr Stat:IfNoElse Expr Nested_block Stat:IfWithElse Expr Nested_block Nested_block Stat:WhileLoop Expr Nested_block Nested_block *Stat Return_stat:Return Expr
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 12

dis6 - CMPSC 160 Translation of Programming Languages...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online