Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
34e376e0
Commit
34e376e0
authored
Apr 20, 2012
by
Yukihiro Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:mruby/mruby
parents
d1144220
43683ec8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
60 additions
and
33 deletions
+60
-33
COPYING
COPYING
+1
-1
INSTALL
INSTALL
+1
-1
README
README
+16
-16
README.ja
README.ja
+15
-14
include/mruby.h
include/mruby.h
+26
-0
src/irep.h
src/irep.h
+1
-1
No files found.
COPYING
View file @
34e376e0
m
R
uby is copyrighted free software by mruby developers <info@mruby.org>.
m
r
uby is copyrighted free software by mruby developers <info@mruby.org>.
You can redistribute it and/or modify it under either the terms of the
You can redistribute it and/or modify it under either the terms of the
MIT license (see the file MITL), or the conditions below:
MIT license (see the file MITL), or the conditions below:
...
...
INSTALL
View file @
34e376e0
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
* lib
* lib
* include
* include
If an error occurs when compiling m
R
uby, it will be helpful for others if you
If an error occurs when compiling m
r
uby, it will be helpful for others if you
send a detailed report to the developers that includes the error log, machine,
send a detailed report to the developers that includes the error log, machine,
and OS type.
and OS type.
...
...
README
View file @
34e376e0
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
Any suggestion of the modification are welcome,
Any suggestion of the modification are welcome,
but the response might be delayed. Sorry for that in advance.
but the response might be delayed. Sorry for that in advance.
* What's m
R
uby
* What's m
r
uby
m
R
uby is the light-weight implementation of the Ruby language complied to the ISO
m
r
uby is the light-weight implementation of the Ruby language complied to the ISO
standard to execute various environments. It can run in 'interpreter form' or
standard to execute various environments. It can run in 'interpreter form' or
'compile and execute on vm form' according to its module construction.
'compile and execute on vm form' according to its module construction.
...
@@ -14,7 +14,7 @@ This achievement is due to the Regional Innovation Creation R&D Programs of
...
@@ -14,7 +14,7 @@ This achievement is due to the Regional Innovation Creation R&D Programs of
the Ministry of Economy, Trade and Industry of Japan.
the Ministry of Economy, Trade and Industry of Japan.
* Features of m
R
uby
* Features of m
r
uby
|FIXME:
|FIXME:
| + Simple Syntax
| + Simple Syntax
...
@@ -30,34 +30,34 @@ the Ministry of Economy, Trade and Industry of Japan.
...
@@ -30,34 +30,34 @@ the Ministry of Economy, Trade and Industry of Japan.
| cf. http://redmine.ruby-lang.org/wiki/ruby-19/SupportedPlatforms
| cf. http://redmine.ruby-lang.org/wiki/ruby-19/SupportedPlatforms
* How to get m
R
uby
* How to get m
r
uby
The m
R
uby distribution files can be found in the following site:
The m
r
uby distribution files can be found in the following site:
https://github.com/mruby/mruby/zipball/master
https://github.com/mruby/mruby/zipball/master
The trunk of the m
R
uby source tree can be checked out with the
The trunk of the m
r
uby source tree can be checked out with the
following command:
following command:
$ git ...
$ git ...
.
There are some other branches under development. Try the following
There are some other branches under development. Try the following
command and see the list of branches:
command and see the list of branches:
$ git ...
$ git ...
.
* m
R
uby home-page (sorry, it's not launched yet. we're working on this)
* m
r
uby home-page (sorry, it's not launched yet. we're working on this)
The URL of the m
R
uby home-page is:
The URL of the m
r
uby home-page is:
http://www.mruby.org/
http://www.mruby.org/
* Mailing list
* Mailing list
There is a mailing list to talk about m
R
uby.
There is a mailing list to talk about m
r
uby.
To subscribe this list....
To subscribe this list....
[T.B.D.]
* How to compile and install
* How to compile and install
...
@@ -71,15 +71,15 @@ See the file COPYING.
...
@@ -71,15 +71,15 @@ See the file COPYING.
* About Contribution
* About Contribution
Thank you for considering of contribution for m
R
uby.
Thank you for considering of contribution for m
r
uby.
m
R
uby has chosen a MIT License as comparatively loose condition,
m
r
uby has chosen a MIT License as comparatively loose condition,
to expect to apply into various environment such as embedded system.
to expect to apply into various environment such as embedded system.
However, the license requires to display copyright notice and license
However, the license requires to display copyright notice and license
sentenses, for example manual or so. Especially for the recent bigger
sentenses, for example manual or so. Especially for the recent bigger
system, it is comlecated or very troublesome.
system, it is comlecated or very troublesome.
So, m
R
uby has decided to display "mruby developers" as copyright name
So, m
r
uby has decided to display "mruby developers" as copyright name
to make it simple conventionally.
to make it simple conventionally.
In the future, m
R
uby might ask you to distribute your new codes
In the future, m
r
uby might ask you to distribute your new codes
(that you will commit,) under MIT License as a member of
(that you will commit,) under MIT License as a member of
"mruby developers" with keeping copyright of you.
"mruby developers" with keeping copyright of you.
(We did not intend you to transfer or waive your copyright,
(We did not intend you to transfer or waive your copyright,
...
...
README.ja
View file @
34e376e0
...
@@ -5,16 +5,16 @@
...
@@ -5,16 +5,16 @@
修正のご指摘は随時受け付けていますが、対応が遅くなるかもしれません。
修正のご指摘は随時受け付けていますが、対応が遅くなるかもしれません。
予めご了承ください。
予めご了承ください。
* m
R
ubyとは
* m
r
ubyとは
m
R
ubyはISO規格に準拠したRuby言語を様々な環境で動作可能となるように
m
r
ubyはISO規格に準拠したRuby言語を様々な環境で動作可能となるように
軽量化したものです。モジュール構成によりインタプリタ実行形式や
軽量化したものです。モジュール構成によりインタプリタ実行形式や
コンパイル&VM実行形式でも動作させることができます。
コンパイル&VM実行形式でも動作させることができます。
2010年度の経済産業省の地域イノベーション創出事業により開発されました。
2010年度の経済産業省の地域イノベーション創出事業により開発されました。
* m
R
ubyの特長
* m
r
ubyの特長
|MRI(Matz Ruby Implementation)版との互換性
|MRI(Matz Ruby Implementation)版との互換性
|
|
...
@@ -31,6 +31,7 @@ mRubyはISO規格に準拠したRuby言語を様々な環境で動作可能と
...
@@ -31,6 +31,7 @@ mRubyはISO規格に準拠したRuby言語を様々な環境で動作可能と
| 動くだけでなく,Windows, Mac OS X,BeOSなどの上でも動く
| 動くだけでなく,Windows, Mac OS X,BeOSなどの上でも動く
| cf. http://redmine.ruby-lang.org/wiki/ruby-19/SupportedPlatformsJa
| cf. http://redmine.ruby-lang.org/wiki/ruby-19/SupportedPlatformsJa
* 入手法
* 入手法
** Zipで
** Zipで
...
@@ -43,16 +44,16 @@ mRubyはISO規格に準拠したRuby言語を様々な環境で動作可能と
...
@@ -43,16 +44,16 @@ mRubyはISO規格に準拠したRuby言語を様々な環境で動作可能と
開発先端のソースコードは次のコマンドで取得できます.
開発先端のソースコードは次のコマンドで取得できます.
$ git
…
..
$ git
..
..
他に開発中のブランチの一覧は次のコマンドで見られます.
他に開発中のブランチの一覧は次のコマンドで見られます.
$ git
…
$ git
....
* ホームページ (まだ準備中です。ただいま鋭意製作中です。)
* ホームページ (まだ準備中です。ただいま鋭意製作中です。)
m
R
ubyのホームページのURLは
m
r
ubyのホームページのURLは
http://www.mruby.org/
http://www.mruby.org/
...
@@ -61,12 +62,12 @@ mRubyのホームページのURLは
...
@@ -61,12 +62,12 @@ mRubyのホームページのURLは
* メーリングリスト
* メーリングリスト
m
Rubyのメーリングリストがあります。参加希望の方は….
m
rubyのメーリングリストがあります。参加希望の方は....[T.B.D.]
Ruby開発者向けメーリングリストもあります。こちらではrubyのバ
mruby開発者向けメーリングリストもあります。こちらではrubyのバグ、
グ、
将来の仕様拡張など実装上の問題について議論されています。
将来の仕様拡張など実装上の問題について議論されています。
参加希望の方は
…
参加希望の方は
....[T.B.D.]
* コンパイル・インストール・移植
* コンパイル・インストール・移植
...
@@ -81,15 +82,15 @@ COPYING.ja ファイルを参照してください。
...
@@ -81,15 +82,15 @@ COPYING.ja ファイルを参照してください。
* コントリビュートについて
* コントリビュートについて
m
R
ubyへの貢献の検討をありがとうございます。
m
r
ubyへの貢献の検討をありがとうございます。
m
R
ubyは組込み機器などの様々な環境で利用させることを期待し、ライセンスを
m
r
ubyは組込み機器などの様々な環境で利用させることを期待し、ライセンスを
比較的制限の緩いMITライセンスにすることにいたしました。
比較的制限の緩いMITライセンスにすることにいたしました。
しかしながら、ライセンスの実行条件としてマニュアル等の何らかの形で
しかしながら、ライセンスの実行条件としてマニュアル等の何らかの形で
著作権表記及びライセンス文を記述する必要があります。
著作権表記及びライセンス文を記述する必要があります。
昨今の規模の大きくなったシステムではこれらの対応も相当の煩雑さを伴います。
昨今の規模の大きくなったシステムではこれらの対応も相当の煩雑さを伴います。
そこで、m
R
ubyではできる限り表記を簡便にするために、便宜上、著作権者名を
そこで、m
r
ubyではできる限り表記を簡便にするために、便宜上、著作権者名を
"mruby developers"とすることにいたしました。
"mruby developers"とすることにいたしました。
今後、新たにm
R
ubyへのコミットされるコードについては、著作権を保持したまま、
今後、新たにm
r
ubyへのコミットされるコードについては、著作権を保持したまま、
"mruby developers"の一員としてMITライセンスでの配布をお願いしたいと
"mruby developers"の一員としてMITライセンスでの配布をお願いしたいと
考えています。
考えています。
(コミットしたコードの著作権を譲渡や放棄をお願いするものではありません。
(コミットしたコードの著作権を譲渡や放棄をお願いするものではありません。
...
...
include/mruby.h
View file @
34e376e0
/*
** mruby - An embeddable Ruby implementaion
**
** Copyright (c) mruby developers 2010-2012
**
** Permission is hereby granted, free of charge, to any person obtaining
** a copy of this software and associated documentation files (the
** "Software"), to deal in the Software without restriction, including
** without limitation the rights to use, copy, modify, merge, publish,
** distribute, sublicense, and/or sell copies of the Software, and to
** permit persons to whom the Software is furnished to do so, subject to
** the following conditions:
**
** The above copyright notice and this permission notice shall be
** included in all copies or substantial portions of the Software.
**
** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
** SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
**
** [ MIT license: http://www.opensource.org/licenses/mit-license.php ]
*/
#ifndef MRUBY_H
#ifndef MRUBY_H
#define MRUBY_H
#define MRUBY_H
...
...
src/irep.h
View file @
34e376e0
...
@@ -10,7 +10,7 @@ typedef struct mrb_irep {
...
@@ -10,7 +10,7 @@ typedef struct mrb_irep {
mrb_code
*
iseq
;
mrb_code
*
iseq
;
mrb_value
*
pool
;
mrb_value
*
pool
;
int
*
syms
;
mrb_sym
*
syms
;
int
ilen
,
plen
,
slen
;
int
ilen
,
plen
,
slen
;
}
mrb_irep
;
}
mrb_irep
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment