mlogjs / mlogjs

Compile javascript into Mindustry logic code (mlog)

Home Page:https://mlogjs.github.io/mlogjs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mlogjs

JavaScript MLog Compiler

ci npm docs unreleased docs chat

Features

  • Optimizing compiler
  • Easy to use
  • Fully Typed API
  • Macros
  • All Instructions and Variables
  • An online editor integrated to the docs

Installation

In the terminal

npm i -g mlogjs

Usage

Creating hello.js

print("Hello world");
printFlush();

Compile

mlogjs hello.js

Examples

You can find other usage examples here.

Changelog

Changes for each release are documented in the CHANGELOG.

Contribute

Having trouble? Ask for help on discord or open an issue

Help and suggestions are welcomed!

License

MIT

About

Compile javascript into Mindustry logic code (mlog)

https://mlogjs.github.io/mlogjs/

License:MIT License


Languages

Language:TypeScript 80.8%Language:JavaScript 11.7%Language:Vue 6.4%Language:CSS 1.2%