what are translators
a program that converts high-level code into low-level code
compiler
translate high-level code into machine code all at
once
interpreter
Interpreters translate and execute code line-by-line
assembler
translate assembly code into machine code
what is lexical analysis
uses tokens to replace variables , slaps it in a table
whats syntax analysis
checks the program to see if its the correct syntax
whats code generation
generating code
what is code optimisation
making sure code is efficient