{"id":20993175,"url":"https://github.com/water-melon/melang","last_synced_at":"2025-05-16T07:05:27.352Z","repository":{"id":65713382,"uuid":"140994412","full_name":"Water-Melon/Melang","owner":"Water-Melon","description":"A script language of time-sharing scheduling coroutine in single thread","archived":false,"fork":false,"pushed_at":"2024-12-05T04:14:04.000Z","size":553,"stargazers_count":407,"open_issues_count":0,"forks_count":12,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-08T16:09:26.549Z","etag":null,"topics":["base64","coroutine","cron","injection","interpreter","json","language","lexer","linux","md5","mysql","parser-generator","programming-language","rc4","reactive-programming","script-language","sha1","sha256","syntax-analysis","unix"],"latest_commit_sha":null,"homepage":"http://melang.org","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Water-Melon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-15T03:09:01.000Z","updated_at":"2025-02-28T12:00:49.000Z","dependencies_parsed_at":"2024-04-04T05:26:55.769Z","dependency_job_id":"d6caf494-a2b1-4ad1-abdd-c0c6b22b553e","html_url":"https://github.com/Water-Melon/Melang","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Water-Melon%2FMelang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Water-Melon%2FMelang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Water-Melon%2FMelang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Water-Melon%2FMelang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Water-Melon","download_url":"https://codeload.github.com/Water-Melon/Melang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254485059,"owners_count":22078767,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["base64","coroutine","cron","injection","interpreter","json","language","lexer","linux","md5","mysql","parser-generator","programming-language","rc4","reactive-programming","script-language","sha1","sha256","syntax-analysis","unix"],"created_at":"2024-11-19T07:13:56.785Z","updated_at":"2025-05-16T07:05:22.343Z","avatar_url":"https://github.com/Water-Melon.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg width=\"210\" src=\"https://github.com/Water-Melon/Melang/blob/master/docs/logo.png?raw=true\" alt=\"Melang logo\"\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://img.shields.io/github/license/Water-Melon/Melang\" /\u003e\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eMelang\u003c/h1\u003e\n\n\n\n\nMelang is a script Language of time-sharing scheduling coroutine in single thread or multi-thread. It is only support on UNIX/Linux.\n\n\n\n### Installation\n\nIf you want to install Melang on Windows, please download `mingw` and `git bash` at first.\n\nPlease install [Melon](https://github.com/Water-Melon/Melon) at first. It is the core library that Melang depends on.\n\nThen execute these following shell commands:\n\n```shell\n$ git clone https://github.com/Water-Melon/Melang.git\n$ cd Melang\n$ ./configure [some options, --help will list them all]\n#Then make\n$ make #only install melang elf\n#or\n$ make lib #only install dynamic libraries\n#or\n$ make all #install melang and dynamic libraries\n#make install\n$ make install\n```\n\n*prefix* is the path where melang will be placed after shell *install* executed. Default is */usr/bin/*.\n\n*libprefix* is the install-path of library that melang relied on. The library will be installed at */usr/local/melon_for_melang* by default.\n\nAfter installed, you can execute these commands below:\n\n```bash\nmelang -v //show version\nmelang -h //help information\nmelang a.mln b.mln ... //execute melang files\n```\n\n\n\n### Docker Image\n\nIf you need to quickly start a Melang runtime environment, you can use this Docker image.\n\n```bash\ndocker pull melonc/melon\n```\n\n\n\n### **Example**\n\n```\n//example.m\n\nsys = Import('sys');\nsys.print(\"Hello World!\");\n```\n```\nmelang example.m\n```\nThe output is:\n```\nHello World!\n```\n\n\n\n### Applications\n\n[Meproc](https://github.com/MelonCTech/Meproc): a cross-platform process management and supervision service.\n\n\n\n### License\n\n[BSD-3-Clause License](https://github.com/Water-Melon/Melang/blob/master/LICENSE)\n\nCopyright (c) 2018-present, Niklaus F. Schen\n\n\n\n### Documentation\n\nPlease refer to [Official Site](https://melang.org) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwater-melon%2Fmelang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwater-melon%2Fmelang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwater-melon%2Fmelang/lists"}