{"id":13500959,"url":"https://github.com/leafo/moonscript","last_synced_at":"2025-10-18T02:26:08.550Z","repository":{"id":1740129,"uuid":"1786885","full_name":"leafo/moonscript","owner":"leafo","description":":crescent_moon: A language that compiles to Lua","archived":false,"fork":false,"pushed_at":"2025-02-27T19:30:58.000Z","size":3079,"stargazers_count":3286,"open_issues_count":192,"forks_count":192,"subscribers_count":91,"default_branch":"master","last_synced_at":"2025-04-12T12:46:50.770Z","etag":null,"topics":["language","lua","moonscript","parsing-expression-grammar","transpiler"],"latest_commit_sha":null,"homepage":"https://moonscript.org","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leafo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2011-05-23T07:50:24.000Z","updated_at":"2025-04-12T00:53:27.000Z","dependencies_parsed_at":"2023-07-05T18:48:13.231Z","dependency_job_id":"64d11173-497e-471c-9472-f3f6da65287e","html_url":"https://github.com/leafo/moonscript","commit_stats":{"total_commits":758,"total_committers":30,"mean_commits":"25.266666666666666","dds":0.08311345646437995,"last_synced_commit":"a0108328373d5f3f1aefb98341aa895dd75a1b2a"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Fmoonscript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Fmoonscript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Fmoonscript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Fmoonscript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leafo","download_url":"https://codeload.github.com/leafo/moonscript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254040563,"owners_count":22004566,"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":["language","lua","moonscript","parsing-expression-grammar","transpiler"],"created_at":"2024-07-31T22:01:20.738Z","updated_at":"2025-10-18T02:26:08.458Z","avatar_url":"https://github.com/leafo.png","language":"Lua","readme":"# MoonScript\n\n[![MoonScript](https://leafo.net/dump/sailormoonscript.png)](https://moonscript.org)\n\n\n[![spec](https://github.com/leafo/moonscript/workflows/spec/badge.svg)](https://github.com/leafo/moonscript/actions?query=workflow%3Aspec) [![Build status](https://ci.appveyor.com/api/projects/status/f5prpi4wvytul290/branch/binaries?svg=true)](https://ci.appveyor.com/project/leafo/moonscript/branch/binaries)\n\n\n[![](https://leafo.net/dump/twitch-banner.svg)](https://www.twitch.tv/moonscript)\n\nMoonScript is a programmer friendly language that compiles into\n[Lua](https://www.lua.org/). It gives you the power of the fastest scripting\nlanguage combined with a rich set of features. It runs on Lua 5.1 and above,\nincluding alternative runtimes like LuaJIT.\n\nSee \u003chttps://moonscript.org\u003e.\n\nOnline demo/compiler at \u003chttps://moonscript.org/compiler\u003e.\n\n## Join Our Community\n\nWe have a Discord for those interested in MoonScript and related projects. You can join us here: \u003chttps://discord.gg/Y75ZXrD\u003e\n\n## Contributing\n\nMoonScript is a self-hosted compiler, meaning it's written in MoonScript itself. When contributing, please follow the following guidelines:\n\n1. Edit `.moon` files, never modify the alongside `.lua` files directly\n2. After making changes to `.moon` files, run the compiler to regenerate the corresponding `.lua` files\n3. Both `.moon` and `.lua` files are included in the repository to ensure that:\n   - Users can install and use MoonScript without having to compile it themselves\n   - The compiler bootstrapping process works consistently\n\nIt's helpful to have a separate installation of MoonScript should you break\nsomething and you need to re-build the MoonScript with a working version of\nMoonScript. You can check out the repo in another directory, or install it\nusing LuaRocks to have a separate working version.\n\n## Running Tests\n\nTests are written in MoonScript and use [Busted](https://olivinelabs.com/busted/).\nIn order to run the tests you must have MoonScript and [Loadkit](https://github.com/leafo/loadkit) installed.\n\nTo run tests, execute from the root directory:\n\n```bash\nbusted\n```\n\nWriting specs is a bit more complicated. Check out [the spec writing guide](spec/README.md).\n\n## Binaries\n\nPrecompiled versions of MoonScript are provided for Windows. You can find them\nin the [GitHub releases page](https://github.com/leafo/moonscript/releases).\n(Scroll down to the `win32-` tags.\n\nThe build code can be found in the [`binaries`\nbranch](https://github.com/leafo/moonscript/tree/binaries)\n\n## Editor Support\n\n* [Vim](https://github.com/leafo/moonscript-vim)\n* [Textadept](https://github.com/leafo/moonscript-textadept)\n* [Sublime/Textmate](https://github.com/leafo/moonscript-tmbundle)\n* [Emacs](https://github.com/k2052/moonscript-mode)\n\n## License (MIT)\n\nCopyright (C) 2025 by Leaf Corcoran\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","funding_links":[],"categories":["Lua","Uncategorized","Lua Tools, Libraries, and Frameworks","Tools"],"sub_categories":["Uncategorized","viii. Linear Regression","Mesh networks"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafo%2Fmoonscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleafo%2Fmoonscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafo%2Fmoonscript/lists"}