SwiftMango
SwiftMango

Reputation: 15284

How can I build a Ruby interpreter with only needed libraries?

How can I build a Ruby interpreter with only Core API (exclude Process class) and without standard library?

It should not include irb or anything else. A pure interpreter with necessary components.

Upvotes: 0

Views: 185

Answers (1)

phoet
phoet

Reputation: 18835

i have no idea how you can build it, but matz (the creator of ruby) published a project that provides a minimal version of ruby called mruby: https://github.com/mruby/mruby/

Upvotes: 2

Related Questions