Commit Graph

123 Commits

Author SHA1 Message Date
Yukihiro Matz Matsumoto 3eeef30618 make mrb_hash_keys() non static function 2012-11-14 14:42:21 +09:00
skandhas 1cc44cfd78 add Module#class_variables 2012-11-09 23:00:24 +08:00
Yukihiro Matz Matsumoto 3ceadfa5b2 inline include/mruby/object.h 2012-11-05 06:10:22 +09:00
Yukihiro Matz Matsumoto 3e1dd77b16 remove ROBJECT_{IVPTR,NUMIV} 2012-11-04 13:57:25 +09:00
Yukihiro Matz Matsumoto c903910c6b replace RBASIC by mrb_basic 2012-11-04 13:56:08 +09:00
Yukihiro Matz Matsumoto 902dd63803 remove FL_XXX macros 2012-11-04 05:15:22 +09:00
Yukihiro Matz Matsumoto 15304c194d replace RTEST() by mrb_test_p() 2012-11-04 05:05:53 +09:00
Yukihiro Matz Matsumoto d2d2e9f5f9 add new predicates mrb_string_p(),mrb_array_p(),mrb_hash_p() 2012-11-04 05:02:39 +09:00
Yukihiro Matz Matsumoto 051777dc5d replace SYMBOL_P() by mrb_symbol_p() 2012-11-04 04:53:25 +09:00
Yukihiro Matz Matsumoto da88627a37 add mrb_float_p() 2012-11-04 04:51:13 +09:00
Yukihiro Matz Matsumoto 3ba521ae9e replace FIXNUM_P() by mrb_fixnum_p() 2012-11-04 04:49:43 +09:00
Yukihiro Matz Matsumoto 52f7e83726 Module#dup should copy class methods as well 2012-11-03 08:28:48 +09:00
Masaki Muranaka 1933e2660c Use substitution instead of memset in structure initialization. 2012-10-25 15:47:45 +09:00
Masaki Muranaka fed285d194 Use MRB_DUMP_SIZE_OF_CHAR instead of sizeof(char). 2012-10-22 11:17:31 +09:00
Yukihiro Matsumoto 70abbb423a should not free() static iseq from cdump 2012-10-17 02:57:40 +09:00
Yukihiro Matsumoto 265fa03d2c defining mrb_int also requires MRB_INT_{MAX,MIN} to be defined 2012-10-17 00:40:23 +09:00
Kouki Ooyatsu b3a7699c2b Fix include path in proc.h. 2012-09-12 14:35:38 +09:00
Yukihiro Matsumoto 7f30385d4a MRB_TT_MAIN is an immediate type; need make clean; close #452 2012-09-06 19:41:02 +09:00
Yukihiro Matsumoto fd3af6aec8 introduce toplevel object main; close #327 2012-09-03 00:41:09 +09:00
Yukihiro Matsumoto f114916610 source position added to exception representation 2012-08-31 15:58:33 +09:00
Yukihiro Matsumoto 3e924e887f save debugging lineno info in irep 2012-08-31 11:12:33 +09:00
Yukihiro Matsumoto 950204bc4d remove flags from irep 2012-08-29 11:45:36 +09:00
Masamitsu MURASE 42fa994e9b Publish mrb_hash_delete_key. 2012-08-26 04:17:56 +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 97b7eb6096 rename MRUBY_OBJECT_HEADER to MRB_OBJECT_HEADER 2012-08-18 19:05:18 +09:00
Yukihiro Matsumoto 41e7d0b475 use bit field mrb_vtype in MRUBY_OBJECT_HEADER 2012-08-18 19:02:50 +09:00
Constellation fe9939f74e canonicalize NaN value in NaN boxing environment 2012-08-15 21:02:46 +09:00
Yukihiro Matsumoto 7d02df3016 NaN boxing 2012-08-14 13:16:34 +09:00
Yukihiro Matsumoto e74600c919 move mrb_value def to mruby/value.h 2012-08-14 03:09:04 +09:00
Yukihiro Matsumoto c9fe903fe1 now segmented list can be used as instance variable tables by -DMRB_USE_IV_SEGLIST; we still need to measure the performance and memory consumption 2012-08-12 01:59:18 +09:00
Yukihiro Matsumoto 730f53045e define_method to copy block body 2012-08-03 20:17:04 +09:00
Yukihiro Matsumoto 515862cc01 khash refactoring; no more MRB_KHASH_INITIAL_SIZE 2012-07-30 23:55:35 +09:00
Yukihiro Matsumoto e75c76ecee iv khash initial size to 8 2012-07-30 17:16:05 +09:00
Yukihiro Matsumoto c808f647aa allow specifying khash initial size 2012-07-30 16:41:05 +09:00
Masaki Muranaka b1cc715b36 MRB_INITIAL_HASH_SIZE : Make the initial hash size configurable. 2012-07-30 15:31:49 +09:00
Yukihiro "Matz" Matsumoto e56cd70cdb Merge pull request #405 from monaka/pr-remove-unimplemented-declaration
Remove unimplemented declarations.
2012-07-29 04:48:12 -07:00
Masaki Muranaka 7ac4b56141 Remove unimplemented declarations. 2012-07-29 20:35:23 +09:00
Masaki Muranaka 22b032fcdf mrb_hash_delete_key(), mrb_hash_keys() : Declare as static.
mrb_check_hash_type(): Remove as no implementation.
2012-07-29 20:11:43 +09:00
Yukihiro "Matz" Matsumoto afb983e26f Merge pull request #367 from junjis0203/rename_load_string_argument_name
Rename confusable argument name
2012-07-13 21:54:44 -07:00
Junji Sawada 7bbac9cfdf Rename confusable argument name 2012-07-14 12:15:15 +09:00
Junji Sawada 96366117ea Remove unnecessary header inclusion 2012-07-14 11:39:25 +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