GolemScript v0.3.2
on Jun 19, 2024[0.3.2] - 2024-06-19
Update to 1.21
Changed
- The datapack now requires 1.21.
GolemScript v0.3.1
on Jan 29, 2024[0.3.1] - 2024-01-29
Expanded the standard library
Added
- Many new builtin functions (A full list can be found here)
- The proc data type, which allows functions to be passed as values
- Curly brace syntax for blocks
- The runtime/extensions API
- A default runtime for quickly running programs
Changed
- The GolemScript language has been separated from Code of Copper
- It is now a standalone datapack library
- This allows it to be easily extended using the new API
- This datapack now uses the
glm
namespace
- Forward slashes are now allowed in the id of resources
- Question marks are now allowed in the body of alphanumerics
Fixed
- Calling functions with the incorrect number of arguments is no longer undefined behaviour
Removed
- All code relating to Code of Copper
- As this datapack is now just a library for GolemScript
- All code to do with copper golems and the various structures found in Code of Copper, is still in the Code of Copper datapack