• Stars
    star
    415
  • Rank 104,301 (Top 3 %)
  • Language
    C
  • License
    BSD 3-Clause "New...
  • Created over 6 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

Melang logo

Melang

Melang is a script Language of preemptive scheduling coroutine in single thread or multi-thread. It is only support on UNIX/Linux.

Installation

If you want to install Melang on Windows, please download mingw and git bash at first.

Please install Melon at first. It is the core library that Melang depends on.

Then execute these following shell commands:

$ git clone https://github.com/Water-Melon/Melang.git
$ cd Melang
$ ./configure [some options, --help will list them all]
#Then make
$ make #only install melang elf
#or
$ make lib #only install dynamic libraries
#or
$ make all #install melang and dynamic libraries
#make install
$ make install

prefix is the path where melang will be placed after shell install executed. Default is /usr/bin/.

libprefix is the install-path of library that melang relied on. The library will be installed at /usr/local/melon_for_melang by default.

After installed, you can execute these commands below:

melang -v //show version
melang -h //help information
melang a.mln b.mln ... //execute melang files

License

BSD-3-Clause License

Copyright (c) 2018-present, Niklaus F. Schen

Document

Please visit Pages to get more information.