INOUE Yasuyuki
|
49bfaca6c7
|
Add regression test for #2933
|
2015-10-04 18:22:34 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
e8f88daa9c
|
instance_eval should set target_class; close #2936
target_class should be singleton class of the receiver
|
2015-09-14 15:56:54 +09:00 |
|
take_cheeze
|
6460ef77bc
|
Compile mruby compiler as mrbgem.
Compiler codes is moved to "mruby-compiler".
Executable `mrbc` is moved to "mruby-bin-mrbc".
|
2015-06-01 21:53:55 +09:00 |
|
sdottaka
|
79f703ecba
|
mruby-eval: fix typo
|
2014-12-23 22:17:07 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
10e9a1a167
|
now retrieves number of arguments of blocks from OP_ENTER op code; close #2671
|
2014-12-19 19:45:20 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
5b203ead1e
|
mruby-eval: proc from env may be NULL; close #2676
|
2014-12-17 12:35:19 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ed56d56dab
|
avoid out-of-bounds access of irep->lv; ref #2671, fix #2675
allocation size of irep->iv is irep->nlocals-1.
|
2014-12-17 11:14:14 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ab72410456
|
eval() should preserve stack in env properly; fix #2671
|
2014-12-17 01:10:19 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
3f06307317
|
need addtional type check to avoid SEGV; ref #2609
|
2014-10-18 11:26:30 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
3ff5081650
|
context proc may be cfunc; fix #2609
|
2014-10-17 15:48:58 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
3e3048ddd1
|
Merge pull request #2599 from SatoshiOdawara/fix_target_class_in_instance_eval
target_class should not be TT_ICLASS in instance_eval(string); ref #1152
|
2014-09-30 10:14:25 +09:00 |
|
Satoshi Odawara
|
a10d36e0a2
|
target_class should not be TT_ICLASS in instance_eval(string); ref #1152
|
2014-09-29 17:53:08 +09:00 |
|
Satoshi Odawara
|
2551d14ff1
|
fixed. closures scope in eval(string)
|
2014-09-29 16:41:51 +09:00 |
|
Tatsuhiko Kubo
|
2b283393c6
|
Remove empty lines.
|
2014-08-20 12:07:36 +09:00 |
|
Tatsuhiko Kubo
|
e035508efd
|
Fix error handling for mrb_generate_code().
The return value of mrb_generate_code()
must be null-checked before referencing.
|
2014-08-19 17:50:07 +09:00 |
|
Satoshi Odawara
|
432e8e9ea9
|
fixed evaluation context of eval(string) and instance_eval(string)
|
2014-08-08 16:59:40 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
4b69121284
|
restore mrb_get_args() in f_instance_eval to check arguments type
|
2014-07-22 08:38:38 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
7457da6aa1
|
exception in instance_eval should not exit mrb_run; fix #2483
|
2014-07-22 07:29:26 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
abf52c7773
|
remove unused local variables; ref #2473
|
2014-07-16 05:21:55 +09:00 |
|
take_cheeze
|
dd34decdfc
|
Implement string compiling instance_eval method.
|
2014-07-15 22:33:14 +09:00 |
|
take_cheeze
|
c6ce43303d
|
Add SyntaxError test and don't print compilation error to stderr in eval.
|
2014-07-12 20:36:44 +09:00 |
|
take_cheeze
|
d1eea450bf
|
Use mrb_parse_nstring instead in eval.
|
2014-07-12 20:36:44 +09:00 |
|
take_cheeze
|
8106760077
|
Use MRB_ARGS_ARG(n, o) instead of MRB_ARGS_REQ(n) | MRB_ARGS_OPT(o).
|
2014-07-02 21:11:12 +09:00 |
|
take_cheeze
|
3aeb4568ab
|
Add ISO index to Kernel.eval and Kernel#eval.
|
2014-05-18 23:45:24 +09:00 |
|
Jun Hiroe
|
ff890c191c
|
Replace tabs with spaces in eval.c
|
2014-05-16 22:40:14 +09:00 |
|
Miura Hideki
|
da8d07d5d4
|
Suport block in Kernel#eval
|
2014-05-15 20:28:26 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
6f6f50d529
|
adjust signedness in mruby-eval gem
|
2014-05-14 23:17:11 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2be348a0f1
|
mv opcode.h -> include/mruby/opcode.h and remove duplication from mruby-eval gem
|
2014-05-14 23:14:08 +09:00 |
|
Miura Hideki
|
f10331cfe6
|
Modify eval for access outer local variable
|
2014-05-14 21:42:39 +09:00 |
|
take_cheeze
|
649ef30347
|
Define eval as module function.
|
2014-04-26 22:44:31 +09:00 |
|
take_cheeze
|
d2011ce01a
|
Support file name and line argument in Kernel.eval .
Only a nil binding will be supported.
|
2014-04-25 21:59:52 +09:00 |
|
take_cheeze
|
f700346b44
|
Add tests for mruby-eval.
|
2014-03-26 12:59:17 +09:00 |
|
take_cheeze
|
c35b0c5245
|
add summary to mrbgems without it
|
2014-03-17 00:34:25 +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 |
|
Yukihiro "Matz" Matsumoto
|
30d580ecbc
|
rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206
|
2013-04-25 09:47:36 +09:00 |
|
Yukihiro Matz Matsumoto
|
a7dc817add
|
add mruby-eval mrbgem (no activation though)
|
2013-03-23 10:59:23 +09:00 |
|