1 MRuby::GemBox.new do |conf|
2 # Meta-programming features
3 conf.gem :core => "mruby-metaprog"
5 # Use standard IO/File class
6 conf.gem :core => "mruby-io"
8 # Use standard Array#pack, String#unpack methods
9 conf.gem :core => "mruby-pack"
11 # Use standard Kernel#sprintf method
12 conf.gem :core => "mruby-sprintf"
14 # Use standard print/puts/p
15 conf.gem :core => "mruby-print"
17 # Use standard Math module
18 conf.gem :core => "mruby-math"
20 # Use standard Time class
21 conf.gem :core => "mruby-time"
23 # Use standard Struct class
24 conf.gem :core => "mruby-struct"
26 # Use Comparable module extension
27 conf.gem :core => "mruby-compar-ext"
29 # Use Enumerable module extension
30 conf.gem :core => "mruby-enum-ext"
32 # Use String class extension
33 conf.gem :core => "mruby-string-ext"
35 # Use Numeric class extension
36 conf.gem :core => "mruby-numeric-ext"
38 # Use Array class extension
39 conf.gem :core => "mruby-array-ext"
41 # Use Hash class extension
42 conf.gem :core => "mruby-hash-ext"
44 # Use Range class extension
45 conf.gem :core => "mruby-range-ext"
47 # Use Proc class extension
48 conf.gem :core => "mruby-proc-ext"
50 # Use Symbol class extension
51 conf.gem :core => "mruby-symbol-ext"
54 conf.gem :core => "mruby-random"
56 # Use Object class extension
57 conf.gem :core => "mruby-object-ext"
59 # Use ObjectSpace class
60 conf.gem :core => "mruby-objectspace"
63 conf.gem :core => "mruby-fiber"
65 # Use Enumerator class (require mruby-fiber)
66 conf.gem :core => "mruby-enumerator"
68 # Use Enumerator::Lazy class (require mruby-enumerator)
69 conf.gem :core => "mruby-enum-lazy"
71 # Use toplevel object (main) methods extension
72 conf.gem :core => "mruby-toplevel-ext"
74 # Generate mirb command
75 conf.gem :core => "mruby-bin-mirb"
77 # Generate mruby command
78 conf.gem :core => "mruby-bin-mruby"
80 # Generate mruby-strip command
81 conf.gem :core => "mruby-bin-strip"
83 # Use Kernel module extension
84 conf.gem :core => "mruby-kernel-ext"
86 # Use class/module extension
87 conf.gem :core => "mruby-class-ext"
89 # Use mruby-compiler to build other mrbgems
90 conf.gem :core => "mruby-compiler"