Oblivion Mod:Oblivion Compiler
The UESPWiki – Your source for The Elder Scrolls since 1995
Creating a compiler for Oblivion is a good example for writing a relatively simple compiler system.
-
- Oblivion Grammar -- Defining the grammar for the Oblivion script language.
- Scan Source -- An abstract class for defining the text source of a script to be compiled.
- Tokenizer -- Converting the script text into a series of tokens.