bobzhang/peg/compiler does not have a README file
impl Show for CompilerErrorimpl Show for GrammarErrorpub(all) struct Options[T] {
allowed_start_rules : Array[String]?
cache : Bool
optimize : Optimize
output : Output
trace : Bool
features : Map[String, Bool]
header : Array[String]
parser : ParserOptions
actions : Map[String, (ActionContext[T]) -> Value[T] raise]
initializer : (ActionContext[T]) -> Map[String, (ActionContext[T]) -> Value[T] raise] raise?
value_type : String
name_prefix : String
extra : Map[String, Json]
}fn[T] Options::new(allowed_start_rules? : Array[String], cache? : Bool, optimize? : Optimize, output? : Output, trace? : Bool, features? : Map[String, Bool], header? : Array[String], parser? : ParserOptions, actions? : Map[String, (ActionContext[T]) -> Value[T] raise], initializer? : (ActionContext[T]) -> Map[String, (ActionContext[T]) -> Value[T] raise] raise, value_type? : String, name_prefix? : String, extra? : Map[String, Json]) -> Options[T]fn ParserOptions::new(reserved_words? : Array[String], extract_comments? : Bool, filename? : String) -> ParserOptionsInstall
Download zipA MoonBit port of PEG.js: parser generator for MoonBit
Dependencies