Commit Graph

21 Commits

Author SHA1 Message Date
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
FUKUZAWA-Tadashi 1af4110f7d implement heredoc 2013-03-03 20:08:13 +09:00
mattn b1a5146ea8 Pluggable Regexp 2013-02-15 04:38:27 +09:00
Cremno feaff10c58 removed declarations of undefined functions 2013-02-03 19:48:41 +01:00
Yukihiro Matsumoto 3e924e887f save debugging lineno info in irep 2012-08-31 11:12:33 +09:00
Yukihiro Matsumoto 15725eb4f6 file/line info passed to codegen; argument type of mrb_generate_code() has changed 2012-08-22 22:36:44 +09:00
Yukihiro Matsumoto dec6751d7a remove BEGIN/END from syntax 2012-08-18 20:51:58 +09:00
Yukihiro Matsumoto 7d02df3016 NaN boxing 2012-08-14 13:16:34 +09:00
Junji Sawada 7bbac9cfdf Rename confusable argument name 2012-07-14 12:15:15 +09:00
Yukihiro Matsumoto 8e1c842b7e simpify mruby/mrbc using context 2012-07-13 15:36:43 +09:00
Yukihiro Matsumoto 9e64e753a2 remove double stdio.h inclusion 2012-07-12 23:59:13 +09:00
Yukihiro Matsumoto fc27f71289 add new function mrb_parser_free() 2012-07-03 21:52:11 +09:00
Yukihiro Matsumoto 137570acf0 capture_errors can be specified by mrbc_context 2012-07-03 21:32:37 +09:00
Yukihiro Matsumoto 39689441e7 add context arg to mrb_parser_parse() 2012-07-03 21:13:10 +09:00
Yukihiro Matsumoto 65096c4c1b add context to parser, that would hold local variable info, filename, and line number. mrbc_context argument has been added to mrb_parse_xxx() functions. Normally, you just to need to add NULL (or 0) to the last argument of the above functions. 2012-07-03 20:59:07 +09:00
Yukihiro Matsumoto ce49d90dc8 modify compiler API; replace mrb_compie_xxx with mrb_load_xxx() that combines compilatoin and execution 2012-07-03 15:26:11 +09:00
Yukihiro Matsumoto 97b1c57600 constify parser input strings 2012-07-03 14:28:19 +09:00
Yukihiro Matsumoto 3be4e91376 remove size_t from parser 2012-07-03 14:27:34 +09:00
Yukihiro Matsumoto aeca23166b remove dependency to node.h and pool.h 2012-05-19 15:52:47 +09:00
Yukihiro Matsumoto 685b4d1c84 fixed a typo 2012-05-18 13:32:47 +09:00
Yukihiro Matsumoto 219162117a move compile.h to mruby/compile.h 2012-05-18 12:54:23 +09:00