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
34002374
Commit
34002374
authored
Mar 21, 2014
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1895 from stomar/typos
Fix typos in README.md and doc/compile/README.md
parents
c2d8b030
77bf470c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
README.md
README.md
+4
-4
doc/compile/README.md
doc/compile/README.md
+6
-5
No files found.
README.md
View file @
34002374
...
...
@@ -3,10 +3,10 @@
## What's mruby
mruby is the lightweight implementation of the Ruby language complying to (part of)
the
[
ISO standard
](
http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=59579
)
.
mruby can be linked and embedded within your application. We provide the interpreter program "mruby" and
the
[
ISO standard
](
http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=59579
)
.
mruby can be linked and embedded within your application. We provide the interpreter program "mruby" and
the interactive mruby shell "mirb" as examples. You can also compile Ruby programs into compiled byte code
using the mruby compiler "mrbc". All those tools reside in
"bin" directory. The
"mrbc" is also able to
using the mruby compiler "mrbc". All those tools reside in
the "bin" directory.
"mrbc" is also able to
generate compiled byte code in a C source file. You can check the "mrbtest" program under the "test" directory.
This achievement was sponsored by the Regional Innovation Creation R&D Programs of
...
...
@@ -19,7 +19,7 @@ The stable version 1.0.0 of mruby can be downloaded via the following URL:
https://github.com/mruby/mruby/archive/1.0.0.zip
The latest
mruby development version of
can be downloaded via the following URL:
The latest
development version of mruby
can be downloaded via the following URL:
https://github.com/mruby/mruby/zipball/master
...
...
doc/compile/README.md
View file @
34002374
...
...
@@ -14,8 +14,8 @@ To compile mruby out of the source code you need the following tools:
Optional:
*
GIT (to update mruby source and integrate mrbgems easier)
*
C++ compiler (to use GEMs which include
*
.cpp)
*
Assembler (to use GEMs which include
*
.asm)
*
C++ compiler (to use GEMs which include
\
*
.cpp)
*
Assembler (to use GEMs which include
\
*
.asm)
## Usage
...
...
@@ -175,6 +175,7 @@ Integrate GEMs in the build process.
See doc/mrbgems/README.md for more option about mrbgems.
### Mrbtest
Configuration Mrbtest build process.
...
...
@@ -186,7 +187,7 @@ If you want mrbtest.a only, You should set ```conf.build_mrbtest_lib_only```
### Bintest
Tests for mrbgem tools using CRuby.
To have bintests place
*
.rb scripts to
```bintest/```
directory of mrbgems.
To have bintests place
\
*
.rb scripts to
```bintest/```
directory of mrbgems.
See
```mruby-bin-*/bintest/*.rb```
if you need examples.
If you want a temporary files use
`tempfile`
module of CRuby instead of
```/tmp/```
.
...
...
@@ -285,7 +286,7 @@ result will be stored in *build/host/src/y.tab.c*)
* create *build/host/lib/libmruby_core.a* out of all object files (C only)
* create ```build/host/bin/mrbc``` by compiling *tools/mrbc/mrbc.c* and
linking with *build/host/lib/libmruby_core.a*
* create *build/host/mrblib/mrblib.c* by compiling all *.rb files
* create *build/host/mrblib/mrblib.c* by compiling all
\
*.rb files
under *mrblib* with ```build/host/bin/mrbc```
* compile *build/host/mrblib/mrblib.c* to *build/host/mrblib/mrblib.o*
* create *build/host/lib/libmruby.a* out of all object files (C and Ruby)
...
...
@@ -359,7 +360,7 @@ in *build/i386/src*)
* generate parser grammar out of *src/parse.y* (generated
result will be stored in *build/i386/src/y.tab.c*)
* cross-compile *build/i386/src/y.tab.c* to *build/i386/src/y.tab.o*
* create *build/i386/mrblib/mrblib.c* by compiling all *.rb files
* create *build/i386/mrblib/mrblib.c* by compiling all
\
*.rb files
under *mrblib* with the native ```build/host/bin/mrbc```
* cross-compile *build/host/mrblib/mrblib.c* to *build/host/mrblib/mrblib.o*
* create *build/i386/lib/libmruby.a* out of all object files (C and Ruby)
...
...
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