Skip to content
On this page

Getting started.

Online editor

The quickest way to get started on the compiler is with the web editor. There you can write javascript/typescript code and benefit from the following features:

  • Live compilation

    See changes in your code reflect instantly on the output.

  • Source mapping

    See which parts of your code generate which instructions.

  • Goto jump line

    See where a jump instruction goes.

Local setup

This section assumes that you are familiar with the following concepts:

  • The command line terminal
  • Using javascript package managers

If you want to edit your scripts in your preferred editor you can install the compiler locally by running the command bellow.

shell
npm i -g mlogjs

Then you will be able to compile your scripts with the mlogjs command:

shell
mlogjs my_script.js