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
Yukihiro "Matz" Matsumoto
04a2c58e94
add new function mrb_load_irep_file_cxt() and simplifies mruby.c
2013-11-15 10:49:40 +09:00
Yukihiro "Matz" Matsumoto
d8f9a30ef3
fix irep memory leak
2013-11-15 10:35:45 +09:00
Yukihiro "Matz" Matsumoto
e92d4e2680
modified to use irep->reps to reference child ireps. preparation for
...
removing irep array from mrb_state. note that instructions OP_LAMBDA,
OP_EXEC and OP_EPUSH are incompatible, and dumped mrb format has changed.
2013-11-07 03:54:22 +09: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
Cremno
ba027d7806
don't use str{cpy,cat} in mruby and mrbc
...
The length of each string is known. It should be used.
2013-08-07 19:58:06 +02: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
Yukihiro "Matz" Matsumoto
6557ee938a
mruby error messages should be directed to stderr
2013-05-26 02:13:02 +09:00
Yukihiro "Matz" Matsumoto
7921fd545c
move mruby's showcallinfo into the core
2013-05-13 10:40:43 +09:00
Yukihiro "Matz" Matsumoto
c79172dfd5
put spaces after if/while
2013-04-20 23:11:43 +09:00
Yukihiro "Matz" Matsumoto
65fccc2899
rename mruby,mirb gems to mruby-bin-{mruby,mirb}
2013-04-11 18:43:03 +09:00