Utilities Flashcards
Scanner (lexer)
Converts source code(text) into a stream of tokens
A church turning thesis
Any model of computation meeting certain minimum standards is as powerful as any other
Parser
Checks token stream for syntax correctness
makes a parse tree
J. Turning Complete
A Language / model of computation powerful enough to solve any problems that is computable
Interpreter
Translates source code at runtime and carries it out immediately
Compiler
Translates source code into an equivalent machine language program for later execution
Linker
Combines files of object code into a complete executable
Optimizer
Modifies intermediate / final code to improve efficiency / performance w/out changing
assembler
translates assembly level programs directly into machine code
virtual machine
provides a hardware-independent operating environment for a program
semantic analyzer
code generator
translates some intermediate form into assembly / object code for output
makes object code
code optimizer
improved target platform code