Friday, March 29, 2024
ExplainerIoT Software&ToolsProgrammingTech/Web

Mruby an interpreter for the Ruby

mruby is the lightweight implementation of the Ruby language complying to (part of) the ISO standard. mruby can be linked and embedded within your application. The project is headed by Yukihiro Matsumoto, with over 100 contributors currently working on the project. mruby also features a bytecode compiler and virtual machine, as well as the ability to be easily embedded and integrated into C or C++ code, in a similar manner to Lua or Tcl.

mrbgems is mruby’s package manager. See the mrbgems doc for more information about how to use it. mruby sponsored by the Regional Innovation Creation R&D Programs of the Ministry of Economy, Trade and Industry of Japan.

How to get mruby

The stable version 2.0.0 of mruby can be downloaded via the following URL: https://github.com/mruby/mruby/archive/2.0.0.zip

The latest development version of mruby can be downloaded via the following URL: https://github.com/mruby/mruby/zipball/master

The trunk of the mruby source tree can be checked out with the following command:

$ git clone https://github.com/mruby/mruby.git

You can also install and compile mruby using ruby-install, ruby-build or rvm.

How to compile and install (mruby and gems)

See the doc/guides/compile.md file.

How to customize mruby (mrbgems)

mruby contains a package manager called mrbgems. To create extensions in C and/or Ruby you should create a GEM. For a documentation of how to use mrbgems consult the file doc/guides/mrbgems.md. For example code of how to use mrbgems look into the folder examples/mrbgems/.

License

mruby is released under the MIT License.

Sources: https://en.wikipedia.org/wiki/Mruby, https://en.wikipedia.org/wiki/Mruby, https://github.com/mruby/mruby.

 

Harshvardhan Mishra

Hi, I'm Harshvardhan Mishra. Tech enthusiast and IT professional with a B.Tech in IT, PG Diploma in IoT from CDAC, and 6 years of industry experience. Founder of HVM Smart Solutions, blending technology for real-world solutions. As a passionate technical author, I simplify complex concepts for diverse audiences. Let's connect and explore the tech world together! If you want to help support me on my journey, consider sharing my articles, or Buy me a Coffee! Thank you for reading my blog! Happy learning! Linkedin

Leave a Reply

Your email address will not be published. Required fields are marked *