{"title":"Metorex","id":"https:\/\/metorex.org\/","link":[{"@attributes":{"href":"https:\/\/metorex.org\/"}},{"@attributes":{"href":"https:\/\/metorex.org\/feed.xml","rel":"self"}}],"updated":"1970-01-01T00:00:00Z","entry":[{"title":"Syntax Tree Nodes","id":"https:\/\/metorex.org\/docs\/syntax-tree-nodes","link":{"@attributes":{"href":"https:\/\/metorex.org\/docs\/syntax-tree-nodes"}},"updated":"1970-01-01T00:00:00Z","summary":"parse(source) answers an Array of nodes, one for each top-level statement in source, and body on the method get_source returns answers the method's statements the same way. A node is a Hash with a\u2026"},{"title":"Command Line","id":"https:\/\/metorex.org\/docs\/cli","link":{"@attributes":{"href":"https:\/\/metorex.org\/docs\/cli"}},"updated":"1970-01-01T00:00:00Z","summary":"metorex runs a Ruby program: a file, code given with -e, or a program piped to standard input. With none of those and a terminal attached, it starts the REPL."},{"title":"Rex","id":"https:\/\/metorex.org\/docs\/rex","link":{"@attributes":{"href":"https:\/\/metorex.org\/docs\/rex"}},"updated":"1970-01-01T00:00:00Z","summary":"Rex is the spec framework built into Metorex. A suite written for RSpec runs under metorex spec with no gems installed. RSpec names Rex, and require \"rspec\", require \"rspec\/core\", and the other\u2026"},{"title":"Code as Objects","id":"https:\/\/metorex.org\/docs\/meta","link":{"@attributes":{"href":"https:\/\/metorex.org\/docs\/meta"}},"updated":"1970-01-01T00:00:00Z","summary":"The Meta Object Runtime Execution in the name means a program can read its own code. Metorex returns a method's body, a block's statements, or a parsed string to the program as syntax tree nodes.\u2026"},{"title":"C Extensions","id":"https:\/\/metorex.org\/docs\/c-extensions","link":{"@attributes":{"href":"https:\/\/metorex.org\/docs\/c-extensions"}},"updated":"1970-01-01T00:00:00Z","summary":"Metorex loads C extensions written for MRI. require of a .bundle or .so opens it and runs its Init_ function, as MRI's does. An extension is compiled against the headers metorex ships under\u2026"},{"title":"Standard Library","id":"https:\/\/metorex.org\/docs\/stdlib","link":{"@attributes":{"href":"https:\/\/metorex.org\/docs\/stdlib"}},"updated":"1970-01-01T00:00:00Z","summary":"MRI ships default gems, which are part of its standard library, and bundled gems, which are installed alongside it. The MRI results are from macOS."},{"title":"Differences from MRI","id":"https:\/\/metorex.org\/docs\/ruby-differences","link":{"@attributes":{"href":"https:\/\/metorex.org\/docs\/ruby-differences"}},"updated":"1970-01-01T00:00:00Z","summary":"Metorex runs the ruby\/spec suite with no failures, so a program that uses only what the suite checks behaves the same under both. The places below are where Metorex answers differently from MRI.\u2026"},{"title":"Beyond Ruby","id":"https:\/\/metorex.org\/docs\/beyond-ruby","link":{"@attributes":{"href":"https:\/\/metorex.org\/docs\/beyond-ruby"}},"updated":"1970-01-01T00:00:00Z","summary":"Metorex has these features MRI does not. Each sample below runs under Metorex and prints the output shown. Under MRI each one stops with a NoMethodError at its first call to a method MRI does not\u2026"},{"title":"Introducing Metorex","id":"https:\/\/metorex.org\/blog\/introducing-metorex","link":{"@attributes":{"href":"https:\/\/metorex.org\/blog\/introducing-metorex"}},"updated":"2026-10-13T00:00:00Z","summary":"Metorex is a Ruby interpreter written in Rust. It follows MRI 4.0.6: RUBY_VERSION reports 4.0.6, and the ruby\/spec files it runs (core, library, language, command_line, optional, and security) pass\u2026"},{"title":"Architecture","id":"https:\/\/metorex.org\/architecture","link":{"@attributes":{"href":"https:\/\/metorex.org\/architecture"}},"updated":"1970-01-01T00:00:00Z","summary":"Metorex reads a program in four stages: a lexer turns the text into tokens, a parser turns the tokens into a syntax tree, a compiler turns each method, block, class body, and file of the tree into\u2026"},{"title":"Benchmarks","id":"https:\/\/metorex.org\/benchmarks","link":{"@attributes":{"href":"https:\/\/metorex.org\/benchmarks"}},"updated":"1970-01-01T00:00:00Z","summary":"The tables give the numbers for the benchmarks in the benchmarks\/ directory of the metorex repository: Metorex with its JIT and with METOREX_JIT=0, beside CRuby with and without YJIT."},{"title":"Contributing","id":"https:\/\/metorex.org\/contributing","link":{"@attributes":{"href":"https:\/\/metorex.org\/contributing"}},"updated":"1970-01-01T00:00:00Z","summary":"Metorex is developed in the metorex repository on GitHub. Issues and pull requests go there, and a contribution is licensed under the MIT License."},{"title":"Ruby Implementations Compared","id":"https:\/\/metorex.org\/implementations","link":{"@attributes":{"href":"https:\/\/metorex.org\/implementations"}},"updated":"1970-01-01T00:00:00Z","summary":"As of October 13, 2026."},{"title":"Install","id":"https:\/\/metorex.org\/install","link":{"@attributes":{"href":"https:\/\/metorex.org\/install"}},"updated":"1970-01-01T00:00:00Z","summary":"Metorex is built from source with Cargo."},{"title":"Language Tour","id":"https:\/\/metorex.org\/language","link":{"@attributes":{"href":"https:\/\/metorex.org\/language"}},"updated":"1970-01-01T00:00:00Z","summary":"Each sample below runs under Metorex and prints the output shown under it, which matches MRI's output for the same file. Differences from MRI lists the places where the two answer differently."},{"title":"Metorex","id":"https:\/\/metorex.org\/","link":{"@attributes":{"href":"https:\/\/metorex.org\/"}},"updated":"1970-01-01T00:00:00Z"},{"title":"Versions","id":"https:\/\/metorex.org\/versions","link":{"@attributes":{"href":"https:\/\/metorex.org\/versions"}},"updated":"1970-01-01T00:00:00Z","summary":"Metorex has two version numbers. Its own is the version of the metorex package and changes with each Metorex release. The other is the MRI release Metorex follows, which is the Ruby version it\u2026"}]}