A script language of time-sharing scheduling coroutine in single thread

View the Project on GitHub Water-Melon/Melang


Melang relies on the core C library Melon, so it needs to be installed first. We can use the following commands to quickly install Melon:

git clone
cd Melon
sudo make install

If you are a Windows user, please refer to Melon installation for more details.

Then, we can execute the following commands to install Melang:

git clone
cd Melang
make all
sudo make install

The configure command has the following parameters:

Now you can use Melang for development.


Here is a Melang script file.


sys = Import('sys');
sys.print("Hello World!");

Then execute

melang example.m

The output is

Hello World!