{"id":13398375,"url":"https://github.com/mruby/mruby","last_synced_at":"2025-05-12T20:52:23.342Z","repository":{"id":3051915,"uuid":"4073516","full_name":"mruby/mruby","owner":"mruby","description":"Lightweight Ruby","archived":false,"fork":false,"pushed_at":"2025-05-11T11:16:09.000Z","size":23807,"stargazers_count":5376,"open_issues_count":161,"forks_count":804,"subscribers_count":237,"default_branch":"master","last_synced_at":"2025-05-11T12:20:54.561Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mruby.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2012-04-19T09:11:15.000Z","updated_at":"2025-05-11T11:16:12.000Z","dependencies_parsed_at":"2024-03-15T15:46:36.978Z","dependency_job_id":"7515a2b6-89d1-4be1-8239-d9f6639dfd18","html_url":"https://github.com/mruby/mruby","commit_stats":{"total_commits":10824,"total_committers":343,"mean_commits":"31.556851311953352","dds":0.750369549150037,"last_synced_commit":"62a8ea711329477ec0e22f17df77a37ceaff9322"},"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mruby%2Fmruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mruby%2Fmruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mruby%2Fmruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mruby%2Fmruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mruby","download_url":"https://codeload.github.com/mruby/mruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253821608,"owners_count":21969737,"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":[],"created_at":"2024-07-30T19:00:24.213Z","updated_at":"2025-05-12T20:52:23.312Z","avatar_url":"https://github.com/mruby.png","language":"C","readme":"\u003cdiv align=\"center\"\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://mruby.org/\"\u003e\n      \u003cimg src=\"https://avatars.githubusercontent.com/u/1796512?s=200\u0026v=4\"\n        alt=\"The mruby programming language\" title=\"mruby\"\u003e\n    \u003c/a\u003e\n  \u003c/p\u003e\n  \u003ch1\u003emruby\u003c/h1\u003e\n  \u003ca href=\"https://github.com/marketplace/actions/super-linter\"\u003e\n    \u003cimg src=\"https://github.com/mruby/mruby/actions/workflows/super-linter.yml/badge.svg\"\n      alt=\"GitHub Super-Linter\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n## What is mruby\n\nmruby is the lightweight implementation of the Ruby language complying to (part\nof) the [ISO standard][ISO-standard] with more recent features provided by Ruby 3.x.\nAlso, its syntax is Ruby 3.x compatible except for pattern matching.\n\nYou can link and embed mruby within your application. The \"mruby\" interpreter\nprogram and the interactive \"mirb\" shell are provided as examples. You can also\ncompile Ruby programs into compiled byte code using the \"mrbc\" compiler. All\nthese tools are located in the \"bin\" directory. \"mrbc\" can also generate\ncompiled byte code in a C source file. See the \"mrbtest\" program under the\n\"test\" directory for an example.\n\nThis achievement was sponsored by the Regional Innovation Creation R\u0026D Programs\nof the Ministry of Economy, Trade and Industry of Japan.\n\n## How to get mruby\n\nTo get mruby, you can download the stable version 3.4.0 from the official mruby\nGitHub repository or clone the trunk of the mruby source tree with the \"git\nclone\" command. You can also install and compile mruby using [ruby-install](https://github.com/postmodern/ruby-install), [ruby-build](https://github.com/rbenv/ruby-build) or [rvm](https://github.com/rvm/rvm).\n\nThe latest development version of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/zipball/master](https://github.com/mruby/mruby/zipball/master)\n\nThe trunk of the mruby source tree can be checked out with the\nfollowing command:\n\n```console\n$ git clone https://github.com/mruby/mruby.git\n```\n\n## mruby homepage\n\nThe URL of the mruby homepage is: \u003chttps://mruby.org\u003e.\n\n## Mailing list\n\nWe don't have a mailing list, but you can use [GitHub issues](https://github.com/mruby/mruby/issues).\n\n## How to compile, test, and install (mruby and gems)\n\nFor the simplest case, type\n\n```console\nrake all test\n```\n\nSee the [compile.md](doc/guides/compile.md) file for the detail.\n\n## Building documentation\n\nThere are two sets of documentation in mruby: the mruby API (generated by YARD) and C API (Doxygen and Graphviz)\n\nTo build both of them, simply go\n\n```console\nrake doc\n```\n\nYou can also view them in your browser\n\n```console\nrake view_api\nrake view_capi\n```\n\n## How to customize mruby (mrbgems)\n\nmruby contains a package manager called \"mrbgems\" that you can use to create\nextensions in C and/or Ruby. For a guide on how to use mrbgems, consult the\n[mrbgems.md](doc/guides/mrbgems.md) file, and for example code, refer to the\n[examples/mrbgems/](examples/mrbgems) folder.\n\n## Index of Document\n\n\u003c!--\n    This section is generated by `rake doc:update-index`.\n    All manual changes will get lost.\n--\u003e\n\n\u003c!-- BEGIN OF MRUBY DOCUMENT INDEX --\u003e\n\n- [About the Limitations of mruby](doc/limitations.md)\n- [About the Compile](doc/guides/compile.md)\n- [About the Debugger with the `mrdb` Command](doc/guides/debugger.md)\n- [About GC Arena](doc/guides/gc-arena-howto.md)\n- [About the mruby directory structure](doc/guides/hier.md)\n- [About Linking with `libmruby`](doc/guides/link.md)\n- [About Memory Allocator Customization](doc/guides/memory.md)\n- [About Build-time Configurations](doc/guides/mrbconf.md)\n- [About the Build-time Library Manager](doc/guides/mrbgems.md)\n- [About the Symbols](doc/guides/symbol.md)\n- [Internal Implementation / About Value Boxing](doc/internal/boxing.md)\n- [Internal Implementation / About mruby Virtual Machine Instructions](doc/internal/opcode.md)\n\n\u003c!-- END OF MRUBY DOCUMENT INDEX --\u003e\n\n## License\n\nmruby is released under the [MIT License](LICENSE).\n\n## Note for License\n\nmruby has chosen a MIT License due to its permissive license allowing\ndevelopers to target various environments such as embedded systems.\nHowever, the license requires the display of the copyright notice and license\ninformation in manuals for instance. Doing so for big projects can be\ncomplicated or troublesome. This is why mruby has decided to display \"mruby\ndevelopers\" as the copyright name to make it simple conventionally.\nIn the future, mruby might ask you to distribute your new code\n(that you will commit,) under the MIT License as a member of\n\"mruby developers\" but contributors will keep their copyright.\n(We did not intend for contributors to transfer or waive their copyrights,\nactual copyright holder name (contributors) will be listed in the [AUTHORS](AUTHORS)\nfile.)\n\nPlease ask us if you want to distribute your code under another license.\n\n## How to Contribute\n\nTo contribute to mruby, please refer to the [contribution guidelines][contribution-guidelines] and send a pull request to the [mruby GitHub repository](https://github.com/mruby/mruby).\nBy contributing, you grant non-exclusive rights to your code under the MIT License.\n\n[ISO-standard]: https://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=59579\n[contribution-guidelines]: CONTRIBUTING.md\n","funding_links":[],"categories":["C","Cosmopolitan","Web 后端","Implementations/Compilers"],"sub_categories":["Ports"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmruby%2Fmruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmruby%2Fmruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmruby%2Fmruby/lists"}