Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tokuhirom/mruby.pm
https://github.com/tokuhirom/mruby.pm
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/tokuhirom/mruby.pm
- Owner: tokuhirom
- License: other
- Created: 2012-06-21T05:10:54.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-01-16T13:41:06.000Z (almost 7 years ago)
- Last Synced: 2024-05-09T19:13:54.156Z (6 months ago)
- Language: Perl
- Size: 62.5 KB
- Stars: 11
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/tokuhirom/mRuby.pm.svg?branch=master)](https://travis-ci.org/tokuhirom/mRuby.pm)
# NAMEmRuby - mruby binding for perl5.
# SYNOPSIS
use mRuby;
my $mruby = mRuby->new(src => '9');
my $ret = $mruby->run();# DESCRIPTION
mRuby is mruby binding for perl5.
# METHODS
- `my $mruby = mRuby->new(src => $src : Str) : mRuby`
Parse `src` and generate `mRuby` object.
- `my $mruby = mRuby->new(file => $file : Str) : mRuby`
Parse source from `file` and generate `mRuby` object.
- `my $ret = $mruby->run() : Any`
Run mruby code and get a return value.
- `my $ret = $mruby->funcall($funcname : Str, ...) : Any`
Call specified named mruby function from `toplevel` context and get a return value.
# AUTHOR
Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM>
karupanerura
# LOW LEVEL API
See [mRuby::State](https://metacpan.org/pod/mRuby::State)
# SEE ALSO
[mRuby](https://metacpan.org/pod/mRuby)
# LICENSE
Copyright (C) Tokuhiro Matsuno
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.