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
3ea69ab4
Commit
3ea69ab4
authored
Apr 21, 2012
by
Yukihiro Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:mruby/mruby
parents
c138d7ef
431b4515
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
21 deletions
+25
-21
README
README
+2
-2
README.ja
README.ja
+2
-2
README.ja.md
README.ja.md
+2
-2
README.md
README.md
+11
-11
include/mruby.h
include/mruby.h
+5
-1
tools/mruby/mruby.c
tools/mruby/mruby.c
+3
-3
No files found.
README
View file @
3ea69ab4
...
...
@@ -40,12 +40,12 @@ The mruby distribution files can be found in the following site:
The trunk of the mruby source tree can be checked out with the
following command:
$ git
....
$ git
clone https://github.com/mruby/mruby.git
There are some other branches under development. Try the following
command and see the list of branches:
$ git
....
$ git
branch -r
* mruby home-page (sorry, it's not launched yet. we're working on this)
...
...
README.ja
View file @
3ea69ab4
...
...
@@ -44,11 +44,11 @@ mrubyはISO規格に準拠したRuby言語を様々な環境で動作可能と
開発先端のソースコードは次のコマンドで取得できます.
$ git
....
$ git
clone https://github.com/mruby/mruby.git
他に開発中のブランチの一覧は次のコマンドで見られます.
$ git
....
$ git
branch -r
* ホームページ (まだ準備中です。ただいま鋭意製作中です。)
...
...
README.ja.md
View file @
3ea69ab4
...
...
@@ -45,11 +45,11 @@ mrubyは[ISO規格](http://www.ipa.go.jp/about/press/20120402_2.html)に準拠
開発先端のソースコードは次のコマンドで取得できます。
$ git
....
$ git
clone https://github.com/mruby/mruby.git
他に開発中のブランチの一覧は次のコマンドで見られます。
$ git
....
$ git
branch -r
## ホームページ
...
...
README.md
View file @
3ea69ab4
...
...
@@ -9,7 +9,7 @@
mruby is the lightweight implementation of the Ruby language complying to
the
[
ISO standard
](
http://www.ipa.go.jp/about/press/20120402_2.html
)
.
mruby can run Ruby code in 'interpreter mode' or 'compile and execute it on a virtual machine' depending on
how
the developer's preference.
mruby can run Ruby code in 'interpreter mode' or 'compile and execute it on a virtual machine' depending on the developer's preference.
This achievement was sponsored by the Regional Innovation Creation R&D Programs of
the Ministry of Economy, Trade and Industry of Japan.
...
...
@@ -44,10 +44,10 @@ following command:
$ git clone https://github.com/mruby/mruby.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:
$ git
....
$ git
branch -r
## mruby home-page
...
...
@@ -61,7 +61,7 @@ The URL of the mruby home-page will be:
## Mailing list
To subscribe the mruby mailing list....[T.B.D.]
To subscribe t
o t
he mruby mailing list....[T.B.D.]
## How to compile and install
...
...
@@ -78,19 +78,19 @@ See the COPYING file.
Thank you for considering contributing to mruby.
mruby has chosen a MIT License due to its permissive license allowing
developer to target various environments such as embedded systems.
However, the license requires t
o display
the copyright notice and license
developer
s
to target various environments such as embedded systems.
However, the license requires t
he display of
the copyright notice and license
information in manuals for instance. Doing so for big projects can be
complicated or troublesome.
This is why
, mruby has decided to display "mruby developers" as
copyright name
This is why
mruby has decided to display "mruby developers" as the
copyright name
to make it simple conventionally.
In the future, mruby might ask you to distribute your new code
s
(that you will commit,) under MIT License as a member of
In the future, mruby might ask you to distribute your new code
(that you will commit,) under
the
MIT License as a member of
"mruby developers" but contributors will keep their copyright.
(We did not intend for contributors to transfer or waive their copyrights,
Actual copyright holder name (contributors) will be listed in the AUTHORS file.)
Please ask us if you want to distribute your code under other license
Please ask us if you want to distribute your code under
an
other license
or if your code is derived from GPL code.
...
...
@@ -99,7 +99,7 @@ or if your code is derived from GPL code.
See the file AUTHORS.
Feel free to send comments and bug reports to the author.
Here is the
Feel free to send comments and bug reports to the author. Here is the
author's latest mail address:
devel@mruby.org
...
...
include/mruby.h
View file @
3ea69ab4
...
...
@@ -75,7 +75,7 @@ typedef struct mrb_value {
#define mrb_test(o) ((o).tt != MRB_TT_FALSE)
#define mrb_fixnum(o) (o).value.i
#define mrb_float(o) (o).value.f
#define mrb_symbol(o)
(o).value.sym
#define mrb_symbol(o) (o).value.sym
#define mrb_object(o) (o).value.p
#define FIXNUM_P(o) ((o).tt == MRB_TT_FIXNUM)
#define UNDEF_P(o) ((o).tt == MRB_TT_UNDEF)
...
...
@@ -388,6 +388,10 @@ void mrb_write_barrier(mrb_state *, struct RBasic*);
#define MRUBY_VERSION "Rite"
#ifdef DEBUG
#undef DEBUG
#endif
#if 0
#define DEBUG(x) x
#else
...
...
tools/mruby/mruby.c
View file @
3ea69ab4
...
...
@@ -22,10 +22,10 @@ usage(const char *name)
{
static
const
char
*
const
usage_msg
[]
=
{
"switches:"
,
"-b load and execute RiteBinary(mrb) file"
,
"-b load and execute RiteBinary
(mrb) file"
,
"-c check syntax only"
,
"-v print version number, then
trun o
n verbose mode"
,
"--verbose run
at
verbose mode"
,
"-v print version number, then
run i
n verbose mode"
,
"--verbose run
in
verbose mode"
,
"--version print the version"
,
"--copyright print the copyright"
,
NULL
...
...
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