|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| benchmark/ | H | 20-Jan-2022 | - | 472 | 361 |
| doc/ | H | 20-Jan-2022 | - | 1,909 | 1,451 |
| examples/ | H | 20-Jan-2022 | - | 687 | 430 |
| include/ | H | 20-Jan-2022 | - | 5,246 | 2,665 |
| lib/ | H | 20-Jan-2022 | - | 1,430 | 1,178 |
| mrbgems/ | H | 20-Jan-2022 | - | 44,720 | 34,727 |
| mrblib/ | H | 20-Jan-2022 | - | 1,726 | 1,021 |
| src/ | H | 20-Jan-2022 | - | 23,201 | 17,648 |
| tasks/ | H | 20-Jan-2022 | - | 842 | 727 |
| test/ | H | 20-Jan-2022 | - | 7,426 | 5,843 |
| AUTHORS | H A D | 20-Jan-2022 | 1 KiB | 45 | 43 |
| CONTRIBUTING.md | H A D | 20-Jan-2022 | 2.3 KiB | 69 | 46 |
| LEGAL | H A D | 20-Jan-2022 | 179 | 7 | 4 |
| LICENSE | H A D | 20-Jan-2022 | 1 KiB | 21 | 16 |
| Makefile | H A D | 20-Jan-2022 | 277 | 18 | 10 |
| NEWS | H A D | 20-Jan-2022 | 343 | 14 | 7 |
| README.md | H A D | 20-Jan-2022 | 3.8 KiB | 93 | 61 |
| Rakefile | H A D | 20-Jan-2022 | 4.6 KiB | 169 | 139 |
| TODO | H A D | 20-Jan-2022 | 185 | 9 | 5 |
| appveyor.yml | H A D | 20-Jan-2022 | 1 KiB | 43 | 29 |
| appveyor_config.rb | H A D | 20-Jan-2022 | 929 | 51 | 36 |
| build_config.rb | H A D | 20-Jan-2022 | 3.7 KiB | 153 | 30 |
| minirake | H A D | 20-Jan-2022 | 15.8 KiB | 606 | 460 |
| mruby-source.gemspec | H A D | 20-Jan-2022 | 615 | 19 | 15 |
| travis_config.rb | H A D | 20-Jan-2022 | 1.1 KiB | 54 | 39 |
README.md
1[![Build Status][build-status-img]][travis-ci]
2
3## What is mruby
4
5mruby is the lightweight implementation of the Ruby language complying to (part
6of) the [ISO standard][ISO-standard]. Its syntax is Ruby 1.9 compatible.
7
8mruby can be linked and embedded within your application. We provide the
9interpreter program "mruby" and the interactive mruby shell "mirb" as examples.
10You can also compile Ruby programs into compiled byte code using the mruby
11compiler "mrbc". All those tools reside in the "bin" directory. "mrbc" is
12also able to generate compiled byte code in a C source file, see the "mrbtest"
13program under the "test" directory for an example.
14
15This achievement was sponsored by the Regional Innovation Creation R&D Programs
16of the Ministry of Economy, Trade and Industry of Japan.
17
18## How to get mruby
19
20The stable version 2.0.1 of mruby can be downloaded via the following URL: [https://github.com/mruby/mruby/archive/2.0.1.zip](https://github.com/mruby/mruby/archive/2.0.1.zip)
21
22The 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)
23
24The trunk of the mruby source tree can be checked out with the
25following command:
26
27 $ git clone https://github.com/mruby/mruby.git
28
29You 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).
30
31## mruby home-page
32
33The URL of the mruby home-page is: [http://www.mruby.org](http://www.mruby.org).
34
35## Mailing list
36
37We don't have a mailing list, but you can use [GitHub issues](https://github.com/mruby/mruby).
38
39## How to compile and install (mruby and gems)
40
41See the [doc/guides/compile.md](doc/guides/compile.md) file.
42
43## Running Tests
44
45To run the tests, execute the following from the project's root directory.
46
47 $ make test
48
49Or
50
51 $ ruby ./minirake test
52
53## How to customize mruby (mrbgems)
54
55mruby contains a package manager called *mrbgems*. To create extensions
56in C and/or Ruby you should create a *GEM*. For a documentation of how to
57use mrbgems consult the file [doc/guides/mrbgems.md](doc/guides/mrbgems.md). For example code of
58how to use mrbgems look into the folder *examples/mrbgems/*.
59
60## License
61
62mruby is released under the [MIT License](LICENSE).
63
64## Note for License
65
66mruby has chosen a MIT License due to its permissive license allowing
67developers to target various environments such as embedded systems.
68However, the license requires the display of the copyright notice and license
69information in manuals for instance. Doing so for big projects can be
70complicated or troublesome. This is why mruby has decided to display "mruby
71developers" as the copyright name to make it simple conventionally.
72In the future, mruby might ask you to distribute your new code
73(that you will commit,) under the MIT License as a member of
74"mruby developers" but contributors will keep their copyright.
75(We did not intend for contributors to transfer or waive their copyrights,
76Actual copyright holder name (contributors) will be listed in the AUTHORS
77file.)
78
79Please ask us if you want to distribute your code under another license.
80
81## How to Contribute
82
83See the [contribution guidelines][contribution-guidelines], and then send a pull
84request to <http://github.com/mruby/mruby>. We consider you have granted
85non-exclusive right to your contributed code under MIT license. If you want to
86be named as one of mruby developers, please include an update to the AUTHORS
87file in your pull request.
88
89[ISO-standard]: http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=59579
90[build-status-img]: https://travis-ci.org/mruby/mruby.svg?branch=master
91[contribution-guidelines]: CONTRIBUTING.md
92[travis-ci]: https://travis-ci.org/mruby/mruby
93