Crate shulkerscript

Crate shulkerscript 

Source
Expand description

The Shulkerscript language.

Shulkerscript is a simple, imperative scripting language for creating Minecraft data packs.

Re-exports§

pub use shulkerbox;

Modules§

base
The base module contains the core functionality of the Shulkerscript language.
lexical
The lexical module is responsible for converting raw text into a stream of tokens that the parser can understand.
syntax
This module contains the syntax tree and parser for the Shulkerscript language.
transpile
The transpile module is responsible for transpiling the abstract syntax tree into a data pack.

Constants§

VERSION
The version of the Shulkerscript language.

Functions§

compile
Compiles the given source code.
parse
Parses the given source code and returns the AST of the program.
tokenize
Converts the given source code to tokens and returns a token stream.
transpile
Transpiles the given source code into a shulkerbox Datapack.