- 06 Jun, 2015 1 commit
-
-
Nobuhiro Iwamatsu authored
MIPS of Linux platform is supported frexpl(3). This fixes to use the frexpl that are provided with gcc if user wants to build on MIPS of Linux platform. Signe-doff-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
- 03 Jun, 2015 3 commits
-
-
Yukihiro "Matz" Matsumoto authored
remove unnecessary mrb_immediate_p()
-
Yukihiro "Matz" Matsumoto authored
directly call ary_new_capa()
-
Yukihiro "Matz" Matsumoto authored
push only after OP_GETCONST in VAL mode
-
- 02 Jun, 2015 3 commits
- 01 Jun, 2015 16 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
take_cheeze authored
Compiler codes is moved to "mruby-compiler". Executable `mrbc` is moved to "mruby-bin-mrbc".
-
Yukihiro "Matz" Matsumoto authored
only generate gets of non-local vars in VAL mode
-
Yukihiro "Matz" Matsumoto authored
fix two potential cases of signed integer overflow
-
Yukihiro "Matz" Matsumoto authored
Added more documentation for some of the functions found in mruby.h and value.h
-
Yukihiro "Matz" Matsumoto authored
-
cremno authored
-
Ralph Desir authored
-
Ralph Desir authored
-
Ralph Desir authored
-
Ralph Desir authored
Wrote documentation for functions found in the value.h file.
-
Mav7 authored
-
Ralph Desir authored
-
Ralph Desir authored
-
Ralph Desir authored
Added documentation of more of the C API functions found inside mruby.h
-
- 31 May, 2015 8 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
fix masgn nosplat array rhs bug
-
cremno authored
The rest lhs variable has to be an empty array if rhs is an array with less elements than pre + post lhs variables. The codegen generated OP_ARRAY with an invalid length (such as 127 for *a, b = []) because rn was negative.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Merge branch 'failing-multiple-assignments-with-rest-tests' of https://github.com/cremno/mruby into cremno-failing-multiple-assignments-with-rest-tests
-
Yukihiro "Matz" Matsumoto authored
check if outer is a class or module
-
Yukihiro "Matz" Matsumoto authored
codegen: remove unreachable code
-
- 29 May, 2015 4 commits
-
-
cremno authored
For modules this check didn't exist yet. Also call #inspect.
-
cremno authored
-
cremno authored
It's just a copy of the code in the previous case (NODE_CALL).
-
Yukihiro "Matz" Matsumoto authored
-
- 28 May, 2015 5 commits
-
-
Yukihiro "Matz" Matsumoto authored
fix capture group index bug
-
Yukihiro "Matz" Matsumoto authored
mruby.h: simplify ctype-like macros
-
cremno authored
atoi() is used to convert the index to an int but the behavior is undefined if the value can't be represented. > $9999999999 00007 NODE_SCOPE: 00007 NODE_BEGIN: 00007 NODE_NTH_REF: $2147483647 irep 00630580 nregs=2 nlocals=1 pools=0 syms=1 reps=0 file: (mirb) 7 000 OP_GETGLOBAL R1 :$2147483647 7 001 OP_STOP Call strtoul() instead as its behavior in such cases is defined and add a simple range check. Alternatively NODE_NTH_REF's cdr could be changed from int to mrb_sym (like NODE_GVAR).
-
cremno authored
Reduces the file size (by up to 2 KB with VS2015 RC, /O2, /MD) and removes the requirement of including <ctype.h> before their usage. Multiple macro argument evaluation and lack of type-checking is still an issue.
-