Commit 34e376e0 authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

Merge branch 'master' of github.com:mruby/mruby

parents d1144220 43683ec8
mRuby is copyrighted free software by mruby developers <info@mruby.org>.
mruby is copyrighted free software by mruby developers <info@mruby.org>.
You can redistribute it and/or modify it under either the terms of the
MIT license (see the file MITL), or the conditions below:
......
......@@ -9,7 +9,7 @@
* lib
* include
If an error occurs when compiling mRuby, it will be helpful for others if you
If an error occurs when compiling mruby, it will be helpful for others if you
send a detailed report to the developers that includes the error log, machine,
and OS type.
......
......@@ -4,9 +4,9 @@
Any suggestion of the modification are welcome,
but the response might be delayed. Sorry for that in advance.
* What's mRuby
* What's mruby
mRuby is the light-weight implementation of the Ruby language complied to the ISO
mruby 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
'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
the Ministry of Economy, Trade and Industry of Japan.
* Features of mRuby
* Features of mruby
|FIXME:
| + Simple Syntax
......@@ -30,34 +30,34 @@ the Ministry of Economy, Trade and Industry of Japan.
| cf. http://redmine.ruby-lang.org/wiki/ruby-19/SupportedPlatforms
* How to get mRuby
* How to get mruby
The mRuby distribution files can be found in the following site:
The mruby distribution files can be found in the following site:
https://github.com/mruby/mruby/zipball/master
The trunk of the mRuby source tree can be checked out with the
The trunk of the mruby source tree can be checked out with the
following command:
$ git ...
$ git ....
There are some other branches under development. Try the following
command and see the list of branches:
$ git ...
$ git ....
* mRuby home-page (sorry, it's not launched yet. we're working on this)
* mruby home-page (sorry, it's not launched yet. we're working on this)
The URL of the mRuby home-page is:
The URL of the mruby home-page is:
http://www.mruby.org/
* Mailing list
There is a mailing list to talk about mRuby.
To subscribe this list....
There is a mailing list to talk about mruby.
To subscribe this list....[T.B.D.]
* How to compile and install
......@@ -71,15 +71,15 @@ See the file COPYING.
* About Contribution
Thank you for considering of contribution for mRuby.
mRuby has chosen a MIT License as comparatively loose condition,
Thank you for considering of contribution for mruby.
mruby has chosen a MIT License as comparatively loose condition,
to expect to apply into various environment such as embedded system.
However, the license requires to display copyright notice and license
sentenses, for example manual or so. Especially for the recent bigger
system, it is comlecated or very troublesome.
So, mRuby has decided to display "mruby developers" as copyright name
So, mruby has decided to display "mruby developers" as copyright name
to make it simple conventionally.
In the future, mRuby might ask you to distribute your new codes
In the future, mruby might ask you to distribute your new codes
(that you will commit,) under MIT License as a member of
"mruby developers" with keeping copyright of you.
(We did not intend you to transfer or waive your copyright,
......
......@@ -5,16 +5,16 @@
修正のご指摘は随時受け付けていますが、対応が遅くなるかもしれません。
予めご了承ください。
* mRubyとは
* mrubyとは
mRubyはISO規格に準拠したRuby言語を様々な環境で動作可能となるように
mrubyはISO規格に準拠したRuby言語を様々な環境で動作可能となるように
軽量化したものです。モジュール構成によりインタプリタ実行形式や
コンパイル&VM実行形式でも動作させることができます。
2010年度の経済産業省の地域イノベーション創出事業により開発されました。
* mRubyの特長
* mrubyの特長
|MRI(Matz Ruby Implementation)版との互換性
|
......@@ -31,6 +31,7 @@ mRubyはISO規格に準拠したRuby言語を様々な環境で動作可能と
| 動くだけでなく,Windows, Mac OS X,BeOSなどの上でも動く
| cf. http://redmine.ruby-lang.org/wiki/ruby-19/SupportedPlatformsJa
* 入手法
** Zipで
......@@ -43,16 +44,16 @@ mRubyはISO規格に準拠したRuby言語を様々な環境で動作可能と
開発先端のソースコードは次のコマンドで取得できます.
$ git ..
$ git ....
他に開発中のブランチの一覧は次のコマンドで見られます.
$ git
$ git ....
* ホームページ (まだ準備中です。ただいま鋭意製作中です。)
mRubyのホームページのURLは
mrubyのホームページのURLは
http://www.mruby.org/
......@@ -61,12 +62,12 @@ mRubyのホームページのURLは
* メーリングリスト
mRubyのメーリングリストがあります。参加希望の方は….
mrubyのメーリングリストがあります。参加希望の方は....[T.B.D.]
Ruby開発者向けメーリングリストもあります。こちらではrubyのバ
グ、将来の仕様拡張など実装上の問題について議論されています。
参加希望の方は
mruby開発者向けメーリングリストもあります。こちらではrubyのバグ、
将来の仕様拡張など実装上の問題について議論されています。
参加希望の方は....[T.B.D.]
* コンパイル・インストール・移植
......@@ -81,15 +82,15 @@ COPYING.ja ファイルを参照してください。
* コントリビュートについて
mRubyへの貢献の検討をありがとうございます。
mRubyは組込み機器などの様々な環境で利用させることを期待し、ライセンスを
mrubyへの貢献の検討をありがとうございます。
mrubyは組込み機器などの様々な環境で利用させることを期待し、ライセンスを
比較的制限の緩いMITライセンスにすることにいたしました。
しかしながら、ライセンスの実行条件としてマニュアル等の何らかの形で
著作権表記及びライセンス文を記述する必要があります。
昨今の規模の大きくなったシステムではこれらの対応も相当の煩雑さを伴います。
そこで、mRubyではできる限り表記を簡便にするために、便宜上、著作権者名を
そこで、mrubyではできる限り表記を簡便にするために、便宜上、著作権者名を
"mruby developers"とすることにいたしました。
今後、新たにmRubyへのコミットされるコードについては、著作権を保持したまま、
今後、新たにmrubyへのコミットされるコードについては、著作権を保持したまま、
"mruby developers"の一員としてMITライセンスでの配布をお願いしたいと
考えています。
(コミットしたコードの著作権を譲渡や放棄をお願いするものではありません。
......
/*
** 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
#define MRUBY_H
......
......@@ -10,7 +10,7 @@ typedef struct mrb_irep {
mrb_code *iseq;
mrb_value *pool;
int *syms;
mrb_sym *syms;
int ilen, plen, slen;
} mrb_irep;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment