Yukihiro "Matz" Matsumoto
|
84acf4e3f3
|
preparation for tail call optimization (still has bugs)
|
2013-04-09 15:31:17 +09:00 |
|
mattn
|
1541a61f5d
|
Fix exit
|
2013-04-05 18:04:22 +09:00 |
|
Masaki Muranaka
|
c260ef894e
|
Rename mrb_fix2str() to mrb_fixnum_to_str(). This is for naming consistency.
|
2013-03-29 22:19:26 +09:00 |
|
Masaki Muranaka
|
2b6e9ee556
|
Modify the type of line-number to uint16_t. Type short is not portable. And it cannot be more than UINT16_MAX because of the mrbc binary format.
|
2013-03-29 16:26:00 +09:00 |
|
Masaki Muranaka
|
2b5b161f8b
|
Sort include files. Some redundant includes are removed.
|
2013-03-29 10:22:31 +09:00 |
|
Yukihiro Matz Matsumoto
|
a0f6e4d58e
|
resolve conflict from #964
|
2013-03-27 00:52:24 +09:00 |
|
Masaki Muranaka
|
3401ed7bab
|
Reduce using snprintf(). They can replace by mruby API.
|
2013-03-24 13:49:19 +09:00 |
|
Masaki Muranaka
|
33ee4903eb
|
Remove unused marco CODEGEN_DUMP.
|
2013-03-23 23:59:29 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
acab35a2a5
|
Merge pull request #1039 from crimsonwoods/fix_the_type_of_opcode
Fix the type of value that is returned by bit shift expression.
|
2013-03-22 19:11:51 -07:00 |
|
Yukihiro Matz Matsumoto
|
04d9c5ea6b
|
resolve conflict regarding backtick
|
2013-03-23 11:08:18 +09:00 |
|
Masaki Muranaka
|
f8fa56d8c3
|
Use mrb_intern2() instead of mrb_intern(). This is for avoiding overhead by strlen().
|
2013-03-22 14:22:45 +09:00 |
|
mattn
|
4be161c43c
|
Use mrb_intern2
|
2013-03-22 12:15:04 +09:00 |
|
mattn
|
603302c74c
|
Use `
|
2013-03-22 09:08:12 +09:00 |
|
crimsonwoods
|
0292940e55
|
fix the type of value that is returned by bit-shift expression.
|
2013-03-21 22:55:35 +09:00 |
|
mattn
|
1ab4dbcbf3
|
Backtick operation
|
2013-03-21 19:45:47 +09:00 |
|
FUKUZAWA-Tadashi
|
cdf8114e27
|
%I %i literal
|
2013-03-19 00:41:15 +09:00 |
|
FUKUZAWA-Tadashi
|
41698100ad
|
remove disused check code
|
2013-03-17 21:27:38 +09:00 |
|
FUKUZAWA-Tadashi
|
44fbfc5184
|
implement literal %W %w %s
refactor string parsing
|
2013-03-17 21:27:37 +09:00 |
|
Kurebayashi, Takahiro
|
83ddef6880
|
remove bit-shift operation.
|
2013-03-17 17:44:18 +09:00 |
|
kano4
|
60df77788b
|
Add break to default case in switch statement
|
2013-03-14 23:18:12 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ce1756b3b6
|
Merge pull request #997 from monaka/pr-add-type-mrb_bool_t
Define mrb_bool_t.
|
2013-03-14 04:51:14 -07:00 |
|
Yukihiro Matz Matsumoto
|
93e9174c57
|
symbol length make size_t from mrb_int; cancel #993 monaka/pr-cleanup-symbol.c-20130312
|
2013-03-14 19:09:55 +09:00 |
|
Masaki Muranaka
|
1ffc9ba325
|
Define type mrb_bool. It is typedef-ed to _Bool on C99, unsigned int on MSVC.
It is safer than applying 1bit bit-fields to signed int.
For forward compatibility, you should substiture only 1 or 0 for the variable typed mrb_bool.
|
2013-03-14 15:13:12 +09:00 |
|
Yukihiro Matz Matsumoto
|
318ad9c802
|
OP_ARRAY may overflow ARG_C
|
2013-03-09 00:39:08 +09:00 |
|
Masaki Muranaka
|
065494887d
|
Fix warnings.
|
2013-03-09 00:38:10 +09:00 |
|
Yukihiro Matz Matsumoto
|
4433bde8b0
|
skip empty OP_STRCAT
|
2013-03-05 16:56:25 +09:00 |
|
Yukihiro Matz Matsumoto
|
aa98c575f5
|
proper irep pool duplication check for strings
|
2013-03-05 00:34:23 +09:00 |
|
Yukihiro Matz Matsumoto
|
6be56ef1fb
|
save/restore arena index for each codedump iteration
|
2013-03-05 00:32:38 +09:00 |
|
Yukihiro Matz Matsumoto
|
02dba48367
|
Merge branch 'heredoc' of https://github.com/FUKUZAWA-Tadashi/mruby into FUKUZAWA-Tadashi-heredoc
|
2013-03-04 09:49:16 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
afa5b26826
|
Merge pull request #931 from matsumoto-r/fix_some_indents
Adjust some indents
|
2013-03-03 04:32:37 -08:00 |
|
FUKUZAWA-Tadashi
|
1af4110f7d
|
implement heredoc
|
2013-03-03 20:08:13 +09:00 |
|
Masaki Muranaka
|
6cd7017ec1
|
Remove trailing whitespaces. This is just a cosmetic change.
|
2013-03-03 10:54:00 +09:00 |
|
MATSUMOTO Ryosuke
|
809732ab40
|
Adjust some indents
|
2013-03-02 10:26:54 -08:00 |
|
Yukihiro Matz Matsumoto
|
0c9d42e080
|
string interpolation in regex
|
2013-03-02 15:13:52 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
664205453c
|
Merge pull request #899 from masamitsu-murase/modify_stack_position_of_method
Modify stack position of NODE_DEF and NODE_SDEF.
|
2013-02-26 18:13:08 -08:00 |
|
Yukihiro "Matz" Matsumoto
|
ced8fea305
|
Merge pull request #898 from masamitsu-murase/modify_return_value
Modify handling of NODE_RETURN and NODE_NEXT.
|
2013-02-26 18:10:02 -08:00 |
|
Masamitsu MURASE
|
1324d4e250
|
Modify stack position of NODE_DEF and NODE_SDEF.
|
2013-02-27 03:48:50 +09:00 |
|
Masamitsu MURASE
|
49c929a237
|
Return nil if argument of NODE_RETURN and NODE_NEXT is not specified.
|
2013-02-27 03:45:11 +09:00 |
|
Masaki Muranaka
|
d864648506
|
Clean code up.
|
2013-02-26 19:16:48 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8a9026426e
|
Merge pull request #881 from masamitsu-murase/make_op_assign_faster
Make OP_ASGN faster.
|
2013-02-24 19:33:25 -08:00 |
|
Masamitsu MURASE
|
c6d2cde148
|
Adjust stack position of NODE_RESCUE.
|
2013-02-25 00:20:10 +09:00 |
|
Masamitsu MURASE
|
b55c6c55d2
|
Make OP_ASGN faster.
I think that `*=` and `/=` can be compiled to `OP_MUL` and `OP_DIV`.
|
2013-02-24 16:20:31 +09:00 |
|
mattn
|
8ea0e9d523
|
Call compile method to override to memolize instances
|
2013-02-22 19:15:26 +09:00 |
|
mattn
|
2838fcf2aa
|
Fix indent
|
2013-02-22 16:19:00 +09:00 |
|
Yukihiro Matz Matsumoto
|
c15af5d562
|
compile /a/ as ::Regexp.new("a")
|
2013-02-21 16:01:09 +09:00 |
|
Cremno
|
2942ad8eeb
|
vars must be declared at the start of a block
|
2013-02-18 11:40:53 +01:00 |
|
mattn
|
e0f25b1fda
|
ready to pass second argument of Regexp.new
|
2013-02-15 13:55:41 +09:00 |
|
mattn
|
6aee0485fc
|
Should be OP_LOADL
|
2013-02-15 09:22:59 +09:00 |
|
mattn
|
b1a5146ea8
|
Pluggable Regexp
|
2013-02-15 04:38:27 +09:00 |
|
Masamitsu MURASE
|
2087526342
|
Modify handling of integer literal.
Do not assume that significand of `double` is larger than `mrb_int`.
|
2013-02-03 16:29:46 +09:00 |
|