Wren is an open source programming language created in 2013 by Bob Nystrom.
| #157on PLDB | 13Years Old | 8Repos |
git clone https://github.com/munificent/wrenWren is a small, fast, class-based concurrent scripting language.
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())IO.print("Hello World")
| Feature | Supported | Example | Token |
|---|---|---|---|
| Strings | ✓ | "Hello world" | " |
| Print() Debugging | ✓ | IO.print | |
| Comments | ✓ | // A comment | |
| Line Comments | ✓ | // A comment | // |
| Semantic Indentation | X |