take_cheeze
c73f8d4def
move summary of mrbgems in default gembox to its spec
2014-03-17 00:34:24 +09:00
takkaw
0d4bd01cf1
support linenoise in mirb
2014-03-08 01:22:31 +09:00
takkaw
d7d8b09580
small refactor
2014-03-05 23:35:34 +09:00
kyab
1cf619d3b4
Fix unused function warning when readline enabled (mirb)
2014-02-23 20:43:43 +09:00
Li Yazhou
876e7de7ec
add a regression test for #1706
2014-02-14 11:32:59 +08:00
Li Yazhou
9ebfeac111
keep stack with nlocals instead of nregs; fix #1706
2014-02-14 11:16:56 +08:00
Yukihiro "Matz" Matsumoto
d7960bf2a9
resolve conflict in travis_config.rb
2014-02-10 09:50:32 +09:00
Yukihiro "Matz" Matsumoto
19a08b8455
Merge pull request #1674 from cremno/mrb_bool-FALSE-TRUE
...
use mrb_bool, FALSE and TRUE more
2014-02-09 18:35:20 +09:00
Daniel Bovensiepen
5056a29d93
Remove notice of early version
2014-02-08 03:06:05 +08:00
cremno
4507985c3e
use mrb_bool, FALSE and TRUE more
...
It doesn't matter to me if one is using FALSE/TRUE instead of 1/0
but I prefer a type (alias) which emphasizes boolean vars to int.
I changed 1/0 to FALSE/TRUE anyway.
2014-01-31 18:00:36 +01:00
cremno
f2a62a74ed
clean up external symbols
...
remove unused and unneeded:
- sysexit_status
- type (a global variable)
add mrb_ prefix to:
- codedump_all
- class_instance_method_list
- parser_dump
make various functions static, incl.:
- yyparse
- make_exception
2014-01-31 01:30:18 +01:00
cremno
aa655b9ee1
remove superfluous includes
...
- reduce compile time by a little bit (full-core: ~0.7s for me)
- thanks to 'include-what-you-use' for some help
- include Standard C header files before any other (coding style)
2014-01-07 17:56:30 +01:00
take_cheeze
df780ae5e9
add mrb_intern_lit for creating symbol from string literal
2013-12-01 10:38:59 +09:00
Yukihiro "Matz" Matsumoto
9c6398a444
rename mrb_intern2() to mrb_intern(); huge API incompatibility; close #1513
2013-11-29 08:47:28 +09:00
fleuria
14429ef268
add regression for #1563
2013-11-16 15:05:21 +08:00
Yukihiro "Matz" Matsumoto
a725bd7a23
call codedump_all() from mirb if --verbose is set; close #1559
2013-11-10 04:34:53 +09:00
Yukihiro "Matz" Matsumoto
f80401de6c
resolved conflicts and updated to latest return value change of mrb_generate_code()
2013-11-05 00:13:01 +09:00
fleuria
82c5b486e0
mirb: reset stack in the first command
2013-11-03 12:05:48 +08:00
fleuria
a511957ec8
refactor mrb_context_run()
2013-11-03 12:05:25 +08:00
fleuria
d75a907edf
introduce mrb_context_run()
...
currently there are two scnenario to call mrb_run(), the first is
calling a proc, in this case mrb should create a new environment,
discarding all the variables except args, reciever and block.
the second is calling the newly generated irep, like in mirb.
in this case, the variables should be kept after mrb_run().
so we introduce mrb_context_run() to handle this seperately.
2013-11-03 11:32:59 +08:00
Yukihiro "Matz" Matsumoto
0be572df62
change return value from mrb_generate_code()
2013-11-02 23:20:04 +09:00
Lukas Stabe
5692b5ade1
fix no multiline strings in mirb
2013-10-04 06:03:53 +02:00
Jack Danger Canty
2bf4952284
Adding line numbers to the output of mirb.
...
Before:
> "hi"
hi
> d
(mirb):1: undefined method 'd' for main (NoMethodError)
> d
(mirb):1: undefined method 'd' for main (NoMethodError)
> "hi"
hi
> "#{'}"
line 1: unterminated string meets end of file
After
> "hi"
hi
> d
(mirb):2: undefined method 'd' for main (NoMethodError)
> d
(mirb):3: undefined method 'd' for main (NoMethodError)
> "hi"
hi
> "#{'}"
line 5: unterminated string meets end of file
2013-08-13 09:53:52 -07:00
Carson McDonald
d2e38eab0a
Set filename like irb
2013-08-03 14:42:22 -04:00
Yukihiro "Matz" Matsumoto
0591413ebd
Merge pull request #1402 from mattn/check_home_is_null
...
Check home is null
2013-07-23 05:45:33 -07:00
Yukihiro "Matz" Matsumoto
9783e9d81c
resolve conflict
2013-07-23 21:44:32 +09:00
Yukihiro "Matz" Matsumoto
07b75ca922
Merge pull request #1399 from carsonmcdonald/readlinelinkfix
...
If readline is enabled add readline to libraries to link
2013-07-23 05:36:19 -07:00
mattn
c8f1f7fdf6
Check home is null
2013-07-23 12:13:50 +09:00
Tomoyuki Sahara
116f75a8ce
"spec.author" is better for single-author gems.
...
"spec.author=" expects a String represents a single author.
"spec.authors=" expects an Array which is a list of multiple authors.
http://guides.rubygems.org/specification-reference/
2013-07-23 10:09:24 +09:00
Carson McDonald
bd505cc8bb
If readline is enabled add readline to libraries to link
2013-07-22 18:33:45 -04:00
Carson McDonald
8db22d4dfe
Move home variable into readline ifdef
2013-07-22 18:24:17 -04:00
kyab
1fe65b2522
Use env[USERPROFILE] for Windows
2013-07-18 18:15:05 +09:00
kyab
4306fe798f
Save mirb history when readline enabled
2013-07-18 00:14:03 +09:00
Jun Hiroe
8e42868600
Repalace int with mrb_bool because a return value is boolean.
2013-07-15 23:17:12 +09:00
Jun Hiroe
3cf1a9beae
Replace mrb_intern() with mrb_intern2() or mrb_intern_cstr().
2013-07-14 00:39:21 +09:00
Yukihiro "Matz" Matsumoto
595b1990bc
mirb should handle exception from inspect; close #1238
2013-05-08 16:25:20 +09:00
Yukihiro "Matz" Matsumoto
c79172dfd5
put spaces after if/while
2013-04-20 23:11:43 +09:00
Yukihiro "Matz" Matsumoto
cf7fb8819f
Merge branch 'monaka-pr-move-mirb-mruby-to-mrbgems'
2013-04-11 18:44:30 +09:00
Yukihiro "Matz" Matsumoto
65fccc2899
rename mruby,mirb gems to mruby-bin-{mruby,mirb}
2013-04-11 18:43:03 +09:00