A downloadable interpreter

Embeddable Ruby Scripts

Embers is an open-source Ruby interpreter made for embeddability, ease-of-use and performance.

Ruby is simple.

5.times do
  puts 'I ❤️ Ruby!'
end

Ruby is easy.

class Animal
  def initialize(color, type)
    @color = color
    @type = type
  end
  def describe
    "a " + @color + " " + @type
  end
end
tama = Animal.new("red", "cat")
puts tama.describe # a red cat

Ruby is magic.

class Horse
  def +(other)
    Unicorn.new if other.is_a? Horn
  end
end
puts Horse.new + Horn.new # Unicorn!

And Embers makes Ruby embeddable.

Features:

  • Multi-threading & parallelisation
  • Sandboxing
  • Serialising ahead of time
  • Communication between C# <-> Ruby
  • Cross platform
  • Full compatibility with Godot and Unity

It's as easy as this:

Scope Scope = new();
Scope.Evaluate("puts 'hi!'");

Download

Download
GitHub
External

Leave a comment

Log in with itch.io to leave a comment.