lecture 08 -- Expressions

lecture 08 -- Expressions - About compilation Compilation...

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

View Full Document Right Arrow Icon
10/27/2010 1 T. METIN SEZGIN OCT 27 2010 Lecture 8 Expressions The next few weeks Expressions Binding of variables Scoping of variables Environment Interpreters Notation Assertions for specification Use rules from earlier chapters and specifications to compute values The big picture interpreter Source language (defined language), implementation language (defining language), target language, The big picture compiler Source language (defined language), implementation language (defining language), target language, bytecode, virtual machine
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: About compilation Compilation Analyzer Scanning (lexical scanning) Generates • Lexemes • Lexical items • Tokens Parsing Generates • AST • Syntactic structure • Grammatical structure Translator All this work simplified Lexical analyzers (lex) Parser generators (yacc) Use scheme 10/27/2010 2 LET: our pet language An example program Input Scanning & parsing The AST...
View Full Document

Page1 / 2

lecture 08 -- Expressions - About compilation Compilation...

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

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