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
d04c6514
Unverified
Commit
d04c6514
authored
Feb 13, 2021
by
Yukihiro "Matz" Matsumoto
Committed by
GitHub
Feb 13, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5342 from jbampton/fix-spelling
chore: fix spelling
parents
9a9c9598
be40e9c7
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
9 deletions
+9
-9
doc/guides/mrbgems.md
doc/guides/mrbgems.md
+2
-2
include/mruby/array.h
include/mruby/array.h
+1
-1
mrbgems/mruby-bin-debugger/bintest/print.rb
mrbgems/mruby-bin-debugger/bintest/print.rb
+2
-2
mrbgems/mruby-cmath/mrbgem.rake
mrbgems/mruby-cmath/mrbgem.rake
+1
-1
mrbgems/mruby-cmath/src/cmath.c
mrbgems/mruby-cmath/src/cmath.c
+1
-1
mrbgems/mruby-compiler/core/parse.y
mrbgems/mruby-compiler/core/parse.y
+1
-1
mrbgems/mruby-compiler/core/y.tab.c
mrbgems/mruby-compiler/core/y.tab.c
+1
-1
No files found.
doc/guides/mrbgems.md
View file @
d04c6514
# mrbgems
mrbgems is a library manager to integrate C and Ruby extension in an easy and
standardised way into mruby. Conventinally, each mrbgem name is prefixed by
standardised way into mruby. Conventi
o
nally, each mrbgem name is prefixed by
`mruby-`
, e.g.
`mruby-time`
for a gem that provides
`Time`
class functionality.
## Usage
...
...
@@ -372,7 +372,7 @@ See C and Ruby example.
## Binary gems
Some gems can generate executables under
`bin`
directory. Those gems are called
binary gems. Names of binary gems are conventinally prefixed by
`mruby-bin`
,
binary gems. Names of binary gems are conventi
o
nally prefixed by
`mruby-bin`
,
e.g.
`mruby-bin-mirb`
and
`mruby-bin-strip`
.
To specify the name of executable, you need to specify
`spec.bins`
in the
...
...
include/mruby/array.h
View file @
d04c6514
...
...
@@ -107,7 +107,7 @@ MRB_API mrb_value mrb_ary_new(mrb_state *mrb);
* Array[value1, value2, ...]
*
* @param mrb The mruby state reference.
* @param size The numer of values.
* @param size The num
b
er of values.
* @param vals The actual values.
* @return The initialized array.
*/
...
...
mrbgems/mruby-bin-debugger/bintest/print.rb
View file @
d04c6514
...
...
@@ -264,7 +264,7 @@ SRC
BinTest_MrubyBinDebugger
.
test
(
src
,
tc
)
end
assert
(
'mruby-bin-debugger(print) same name:instance variabe'
)
do
assert
(
'mruby-bin-debugger(print) same name:instance variab
l
e'
)
do
# ruby source (bp is break point)
src
=
<<
"SRC"
@iv = 'top'
...
...
@@ -296,7 +296,7 @@ SRC
BinTest_MrubyBinDebugger
.
test
(
src
,
tc
)
end
# Kernel#instance_eval(string) does't work const.
# Kernel#instance_eval(string) does
n
't work const.
=begin
assert('mruby-bin-debugger(print) same name:const') do
# ruby source (bp is break point)
...
...
mrbgems/mruby-cmath/mrbgem.rake
View file @
d04c6514
# This `mruby-cmath` gem uses C99 _Complex features
# You need C compler that support C99+
# You need C comp
i
ler that support C99+
MRuby
::
Gem
::
Specification
.
new
(
'mruby-cmath'
)
do
|
spec
|
spec
.
license
=
'MIT'
spec
.
author
=
'mruby developers'
...
...
mrbgems/mruby-cmath/src/cmath.c
View file @
d04c6514
...
...
@@ -6,7 +6,7 @@
/*
** This `mruby-cmath` gem uses C99 _Complex features
** You need C compler that support C99+
** You need C comp
i
ler that support C99+
*/
#include <mruby.h>
...
...
mrbgems/mruby-compiler/core/parse.y
View file @
d04c6514
...
...
@@ -1450,7 +1450,7 @@ heredoc_end(parser_state *p)
%token <nd> tSTRING tSTRING_PART tSTRING_MID
%token <nd> tNTH_REF tBACK_REF
%token <num> tREGEXP_END
%token <num> tNUMPARAM "numbered para
e
meter"
%token <num> tNUMPARAM "numbered parameter"
%type <nd> singleton string string_fragment string_rep string_interp xstring regexp
%type <nd> literal numeric cpath symbol defn_head defs_head
...
...
mrbgems/mruby-compiler/core/y.tab.c
View file @
d04c6514
...
...
@@ -2085,7 +2085,7 @@ static const char *const yytname[] =
"
\"
constant
\"
"
,
"
\"
class variable
\"
"
,
"
\"
label
\"
"
,
"
\"
integer literal
\"
"
,
"
\"
float literal
\"
"
,
"
\"
character literal
\"
"
,
"tXSTRING"
,
"tREGEXP"
,
"tSTRING"
,
"tSTRING_PART"
,
"tSTRING_MID"
,
"tNTH_REF"
,
"tBACK_REF"
,
"tREGEXP_END"
,
"
\"
numbered para
e
meter
\"
"
,
"
\"
unary plus
\"
"
,
"tREGEXP_END"
,
"
\"
numbered parameter
\"
"
,
"
\"
unary plus
\"
"
,
"
\"
unary minus
\"
"
,
"
\"
<=>
\"
"
,
"
\"
==
\"
"
,
"
\"
===
\"
"
,
"
\"
!=
\"
"
,
"
\"
>=
\"
"
,
"
\"
<=
\"
"
,
"
\"
&&
\"
"
,
"
\"
||
\"
"
,
"
\"
=~
\"
"
,
"
\"
!~
\"
"
,
"
\"
..
\"
"
,
"
\"
...
\"
"
,
"tBDOT2"
,
"tBDOT3"
,
"tAREF"
,
"tASET"
,
"
\"
<<
\"
"
,
"
\"
>>
\"
"
,
"
\"
::
\"
"
,
...
...
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