2. Recursive-descent Compiling

iona.edu

2. Recursive-descent Compiling

• Receives tokens from scanner

• Checks syntax of language – whether tokens

occur in proper form and order

• Eventually, will guide rest of compiler to

translation

• For now, just goes through program checking

for correct syntax–no output for correct

program

• To see some output when only parsing, we

allow attachment of a tracer

3

More magazines by this user
Similar magazines