Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Wren

< >

Wren is an open source programming language created in 2013 by Bob Nystrom.

#155on PLDB 11Years Old 8Repos
Download source code:
git clone https://github.com/munificent/wren
Homepage · REPL · Try It Online · Source Code

Wren is a small, fast, class-based concurrent scripting language.


Example from the web:
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())
Example from hello-world:
IO.print("Hello World")

Language features

Feature Supported Example Token
Strings ✓ "Hello world" "
Print() Debugging ✓ IO.print
Comments ✓ // A comment
Line Comments ✓ // A comment //
Semantic Indentation X

- Build the next great programming language · Add · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v144.0.0