metad.compiler

Undocumented in source.

Members

Functions

compileExpressionToModule
void compileExpressionToModule(string moduleName, string filename, string optHeader)
Undocumented in source. Be warned that the author may not have intended to support it.
compileToModule
void compileToModule(string moduleName, string filename, string optHeader)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

MatchCond
struct MatchCond

UDA to indicate a method to process a compiler node.

MatchName
struct MatchName

UDA to indicate a method to process a compiler node.

Templates

Compiler
template Compiler(ParseTree T, alias Parser)
Undocumented in source.
TupleCompiler
template TupleCompiler(ParseTree T, alias Parser)

The TupleCompiler converts you input to a tuple at compile-time. The default node parser simply adds the "matches" as an unnamed string[].

TupleCompiler
template TupleCompiler(alias Parser, alias data)
Undocumented in source.
loadAndCompile
template loadAndCompile(string grammarFile, string docRoot, string dataFile, alias _Compiler)
Undocumented in source.
loadGrammar
template loadGrammar(string fname, string docRoot)

A compile-time compiler (meta-compiler).

loadGrammarAndData
template loadGrammarAndData(string grammarFile, string docRoot, string dataFile)
Undocumented in source.

Meta