Lexical Analysis

Ghost is under heavy active development

While we strive to keep our documentation up to date, it's possible that it may fall out of sync with the latest developments on GitHub.

A Ghost program is read by a parser. Input to the parser is a stream of tokens, generated by the lexical analyzer. Below, we'll describe how the lexical analyzer breaks a file down into tokens and evaluated.