Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Embedding mruby in C

Simple example of mruby embedded in a C application

To get started with the simplest example you can do the following:

git clone --recursive https://github.com/carsonmcdonald/mruby-c-example.git
cd mruby-c-example
make
./simplest

Examples

  • simplest - Simply load and run a script
  • simple_class - Create a class and use it in a script
  • simple_module - Create a module and use it in a script
  • class_under_module - Create a class under a module and use it in a script
  • simple_yield - Create a method that yields to a given block

About

Simple example of mruby embedded in a C application

Resources

License

Releases

No releases published

Packages

No packages published