Crate mcvm_parse

Source
Expand description

This library is used for parsing MCVM package scripts

§Features:

  • schema: Enable generation of JSON schemas using the schemars crate

Modules§

conditions
Parsing for conditions, used in if instructions
instruction
Parsing for most instructions, with the exception of a few complex ones
lex
Token generation from a string, which is passed into the parser
parse
General parsing
routine
Things related to package script routines
vars
Things related to script variables

Macros§

unexpected_token
Throw an anyhow error about an unexpected token at a position

Enums§

FailReason
Reason why the package reported a failure