summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2013-11-14remove unnecessary jumpYukihiro "Matz" Matsumoto
2013-11-13Changed a variable declaration to top of blockbggd
2013-11-13load_exec() no longer return fixnum value for no_exec; should close #1569Yukihiro "Matz" Matsumoto
2013-11-13pacify some warnings on OpenBSDYukihiro "Matz" Matsumoto
2013-11-13fixnum in irep->pool may overflowYukihiro "Matz" Matsumoto
2013-11-10cancel #1565 since it breaks mirb; instead add special treatment to heredocsYukihiro "Matz" Matsumoto
2013-11-10check for corrupted mrb file dataYukihiro "Matz" Matsumoto
2013-11-09Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2013-11-09Change supress to suppressCarson McDonald
2013-11-08Merge pull request #1565 from Fleurer/fix1564Yukihiro "Matz" Matsumoto
nextc(): always return an '\n' at end of input
2013-11-09protect returning irep (in proc) from GCYukihiro "Matz" Matsumoto
2013-11-08allow irep to be GCedYukihiro "Matz" Matsumoto
2013-11-08nextc(): always return an '\n' at end of inputfleuria
fix #1564
2013-11-07type check before pool scanYukihiro "Matz" Matsumoto
2013-11-07call_iseq will never be NULLYukihiro "Matz" Matsumoto
2013-11-07wrong return value from read_lineno_record()Yukihiro "Matz" Matsumoto
2013-11-07create Proc object before releasing memory poolYukihiro "Matz" Matsumoto
2013-11-07forgot to free irep->repsYukihiro "Matz" Matsumoto
2013-11-07irep->pool not to be GCedYukihiro "Matz" Matsumoto
2013-11-07modified to use irep->reps to reference child ireps. preparation forYukihiro "Matz" Matsumoto
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-05resolved conflicts and updated to latest return value change of ↵Yukihiro "Matz" Matsumoto
mrb_generate_code()
2013-11-04add Fiber.currentYukihiro "Matz" Matsumoto
2013-11-03refactor mrb_context_run()fleuria
2013-11-03introduce mrb_context_run()fleuria
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-02remove scope->idxYukihiro "Matz" Matsumoto
2013-11-02codedump() to take irep structureYukihiro "Matz" Matsumoto
2013-11-02change return value from mrb_generate_code()Yukihiro "Matz" Matsumoto
2013-11-01changed argument type of mrb_ary_modify(); ref #1554Yukihiro "Matz" Matsumoto
2013-10-31add mrb_ary_modify(mrb,a); you have to ensure mrb_value a to be an array; ↵Yukihiro "Matz" Matsumoto
ref #1554
2013-10-31Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2013-10-31restore context status to RUNNING on automatic yield at the end of the ↵Yukihiro "Matz" Matsumoto
block; fix #1555
2013-10-30fix 3a4c8e2fleuria
unfortunately the previouse commit is incorrect, which still concate the keywords, but like this: method='"end\nb"' (201)
2013-10-30resolve conflict #1552Yukihiro "Matz" Matsumoto
2013-10-30Merge pull request #1551 from Fleurer/fix1550Yukihiro "Matz" Matsumoto
fix #1550
2013-10-30type check class/module in mrb_get_args(); close #1477Yukihiro "Matz" Matsumoto
2013-10-30implement Class.new with blockh2so5
2013-10-30preserve only arguments on stack; fix #1527Yukihiro "Matz" Matsumoto
2013-10-30fix #1550fleuria
emit a "\n" as the first token for parser instead of taking the first character from the next file for lexer, to prevent mruby "concatenate" two keywords between files it should be regarded as a work around, for it can not resolve this case: $ cat a.rb " $ cat b.rb b" $ bin/mrbc -o- -v a.rb b.rb mruby - Embeddable Ruby Copyright (c) 2010-2013 mruby developers NODE_SCOPE: NODE_BEGIN: NODE_STR " b " len 4 irep 0 nregs=2 nlocals=1 pools=1 syms=0 000 OP_STRING R1 "\n\nb " 001 OP_STOP thanks @bovi 's idea
2013-10-27Uniquify the results of Object#methodsh2so5
2013-10-26nil/false should not be implicitly converted to integers in mrb_get_args(); ↵Yukihiro "Matz" Matsumoto
close #1529
2013-10-26mrb_Integer() should not convert strings to integersYukihiro "Matz" Matsumoto
2013-10-26Merge pull request #1530 from h2so5/args-explicit-conversionYukihiro "Matz" Matsumoto
Disable implicit integer conversion in mrb_get_args
2013-10-25fix #1544fleuria
We have already reserved that register in codegen()'s case NODE_DEF, but what we care about is actually the previous register. So what we need is get that register by cursp() after pop(), then recover the reservation by push().
2013-10-23fix #1542fleuria
2013-10-22move some methods to make floats and integers compatible [mruby special]Yukihiro "Matz" Matsumoto
2013-10-22implement some Numeric methods in RubyYukihiro "Matz" Matsumoto
2013-10-21implement Integer#succ in RubyYukihiro "Matz" Matsumoto
2013-10-20Fixnum#succ may overflowYukihiro "Matz" Matsumoto
2013-10-16move declarations to the beginning of blocksYukihiro "Matz" Matsumoto
2013-10-15Set regs to stack on return of const_get calls before useCarson McDonald