Skip to content

altwine/jmscript

Repository files navigation

JMScript v0.0.1 Made with Odin Made for JustMC

Warning

This project is in beta, if you encounter any bug or undefined behaviour: write an issue or do a pull request.

Scripting language for JustMC creative+

Language syntax

package main

event player_join() {
	player_send_message("Welcome to my world 🥰", "CONCATENATION")
}

Installation

You can install latest ready-to-go binary from releases. Currently, only windows x64 is supported.

Quick start:

$ jmscript-win.exe init new_project
$ jmscript-win.exe compile new_project

Clone & build

Note

Make sure you have odin compiler available globally as odin.

$ git clone --recurse-submodules -j8 https://github.com/altwine/jmscript
$ cd jmscript
$ odin run ./scripts/update_assets # Update assets
$ odin run ./scripts/build_prod    # Build executable
$ odin run ./scripts/generate_docs # Generate docs

Goals

  • switch statement with pattern matching;
  • array/dict literals;
  • Slices;
  • Decompiler;
  • Proper memory management system;

License

Check the LICENSE file.

About

Scripting language for JustMC creative+

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages