You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
546 B
JavaScript
15 lines
546 B
JavaScript
14 years ago
|
/*
|
||
13 years ago
|
* Compiler passes.
|
||
|
*
|
||
|
* Each pass is a function that is passed the AST. It can perform checks on it
|
||
|
* or modify it as needed. If the pass encounters a semantic error, it throws
|
||
|
* |PEG.GrammarError|.
|
||
14 years ago
|
*/
|
||
12 years ago
|
module.exports = {
|
||
|
reportMissingRules: require("./passes/report-missing-rules"),
|
||
|
reportLeftRecursion: require("./passes/report-left-recursion"),
|
||
|
removeProxyRules: require("./passes/remove-proxy-rules"),
|
||
|
allocateRegisters: require("./passes/allocate-registers"),
|
||
|
generateCode: require("./passes/generate-code")
|
||
|
};
|