PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

Wren

Wren

Wren is a pl created in 2013 by Bob Nystrom.

#270on PLDB 9Years Old 7.1kUsers
0Books 0Papers 8Repos

Try now: TIO

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 ϴ
isabelle.html · wren.html · flatbuffers.html

View source

PLDB - Build the next great programming language · v2022 · Day 33 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub · feedback@pldb.com