-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Joeri van Arkel edited this page Oct 16, 2022
·
4 revisions
Welcome to the PirateLang wiki!
Takes a .pirate file and lexes it into a list of tokens. A single token has a group and type property.
Takes a list of tokens from the lexer and parses it to a Scope. A scope consists of a list of Node. A node is created in the Parsers. This list of nodes is serialized locally.
Takes the serialized scope and visits each node for a result. Returns a BaseValue type object.
Runs the Lexer, Parser and Interpreter of the file path in the argument.