You can try InfraRuby live in your browser! Try the InfraRuby statically typed Ruby compiler live in your browser. Try our examples or write your own code.

Blog

Why InfraRuby? InfraRuby is a compiler and runtime for statically typed Ruby. In this post you will see the advantages of using InfraRuby. read more...

InfraRuby 4.1 released Get the latest InfraRuby compiler and runtime for statically typed Ruby on the JVM! read more...

The many licenses of InfraRuby This post summarizes the software licenses for InfraRuby. read more...

InfraRuby gems: tzinfo-ir tzinfo-ir is a substitute gem for InfraRuby to provide timezone functions. read more...

InfraRuby gems: siphash-ir siphash-ir is a substitute gem for InfraRuby to compute the SipHash of a String . read more...

Ruby metaprogramming with s-expressions Metaprogramming is code writing code. Usually metaprogramming in Ruby is done using the reflection features of the language: define_method , instance_variable_get , and others. In this post you will see another way to do metaprogramming that has some advantages over the traditional approach. read more...

The structure of s-expressions Ruby s-expressions are data representing code. In this post you will see the structure of s-expressions for language features supported by Ruby interpreters and the InfraRuby statically typed Ruby compiler. read more...

Generating an HTML generator In this post you will see how to generate an HTML generator using the meta-ruby gem. Our HTML generator will be similar to Markaby, a Ruby library to generate HTML in which the document structure is expressed in Ruby source code. read more...

How to compile hello-world In this post you will see how the InfraRuby statically typed Ruby compiler translates hello-world to Java bytecode. read more...