Skip to content
프로젝트

소개

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

프로그래밍 언어 및 런타임

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Melang logo

Melang

Melang is a script Language of time-sharing 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

Docker Image

If you need to quickly start a Melang runtime environment, you can use this Docker image.

docker pull melonc/melon

Example

//example.m

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

The output is:

Hello World!

Applications

Meproc: a cross-platform process management and supervision service.

License

BSD-3-Clause License

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

Documentation

Please refer to Official Site for more details.

관련 프로젝트 살펴보기

불러오는 중…