- The Lexer, also called Tokenizer, reads in the Text and converts it into Tokens with defined TokenTypes.
- The Parser receives the Tokens from the Lexer and creates an Abstract Syntax Tree (AST)
- The Interpreter gets the Abstract Syntax Tree from the Parser and recursively "visits" every Node and executes the actions specified.
bwpark / interpreter-ice Goto Github PK
View Code? Open in Web Editor NEWThis project forked from rgwohlbold/interpreter-ice
Java lexer, parser and interpreter for a c-style programming language