dis5 - CMPSC 160 Translation of Programming Languages...

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

View Full Document Right Arrow Icon
CMPSC 160 Translation of Programming Languages Project 3 Abstract Syntax Tree
Background image of page 1

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

View Full DocumentRight Arrow Icon
Agenda Practice Problems Project 2 Summary Intro of Project 3
Background image of page 2
Project 1 summary Test case 27 correct testcases 23 error testcaes Two points each Your Grades Finished last Sat Not decided when to send emails Avg Score: 79.1 Cheating problems
Background image of page 3

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

View Full DocumentRight Arrow Icon
Introduction Projects Calculator (10%) Lexical and Syntax Analysis (20%) Abstract Syntax Tree (20%) Type Checking and Semantic Analysis (30%) Code Generation (20%) Enviornment Linux C/C++ Graphviz, Lex and Yacc
Background image of page 4
Abstract Syntax Tree Input CSimple files Process Lexical Analysis Syntax Analysis Lexeme Storage Construct Tree Output AST
Background image of page 5

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

View Full DocumentRight Arrow Icon
Tour of Codes 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 6
Before You Start (1/3) 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 Add header files Needed headers – string.h – stdio.h Target files – symtab.h – primitive.h – ast2dot.h
Background image of page 7

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

View Full DocumentRight Arrow Icon
Before You Start (2/3) astbuilder.gawk ast.hpp ast.cpp ast.cdef lexer.l parser.ypp csimple files
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/23/2010 for the course MATH 104b taught by Professor Ceniceros,h during the Spring '08 term at UCSB.

Page1 / 20

dis5 - CMPSC 160 Translation of Programming Languages...

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

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