bobzhang/peg/bytecode does not have a README file
impl ToJson for ClassConstimpl ToJson for FunctionConstpub(all) struct Opcodes {
push_empty_string : Int
push_undefined : Int
push_null : Int
push_failed : Int
push_empty_array : Int
push_curr_pos : Int
pop : Int
pop_curr_pos : Int
pop_n : Int
nip : Int
append : Int
wrap : Int
text : Int
pluck : Int
if_ : Int
if_error : Int
if_not_error : Int
while_not_error : Int
match_any : Int
match_string : Int
match_string_ic : Int
match_class : Int
accept_n : Int
accept_string : Int
expect : Int
load_saved_pos : Int
update_saved_pos : Int
call : Int
rule : Int
silent_fails_on : Int
silent_fails_off : Int
expect_ns_begin : Int
expect_ns_end : Int
} derive(Eq, Debug)pub(all) struct Program {
opcodes : Opcodes
rules : Array[RuleCode]
literals : Array[String]
classes : Array[ClassConst]
expectations : Array[Expectation]
functions : Array[FunctionConst]
initializer : String?
allowed_start_rules : Array[String]
cache : Bool
trace : Bool
features : Features
} derive(Debug)Install
Download zipA MoonBit port of PEG.js: parser generator for MoonBit
Dependencies