Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

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

License

NotificationsYou must be signed in to change notification settings

Water-Melon/Melang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 downloadmingw andgit bash at first.

Please installMelon 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 shellinstall 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 versionmelang -h //help informationmelang 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.msys = 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 toOfficial Site for more details.


[8]ページ先頭

©2009-2025 Movatter.jp