From the home page:
System.print("Hello, world!")
class Wren {
flyTo(city) {
System.print("Flying to %(city)")
}
}
var adjectives = Fiber.new {
["small", "clean", "fast"].each {|word| Fiber.yield(word) }
}
while (!adjectives.isDone) System.print(adjectives.call())
VM implementation is small (under 4,000 semicolons), fast, class-based, concurrent, scripting language (offers C/C++ bindings for easy embedding).
https://github.com/wren-lang/wren
Wren is a small, fast, class-based concurrent scripting language.
Last modified 07 October 2024