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

Think Smalltalk in a Lua-sized package with a hint of Erlang and wrapped in a modern, familiar syntax.

System.print("Hello, world!") class Wren { flyTo(city) { System.print("Flight to %(city)") } } var adjectives = Fiber.new { ["small", "clean", "fast"].every {|word| Fiber.yield(word) } } while (!adjectives.isDone) System.print(adjectives.call())

Wren is short. The VM implementation is less than 4000 semicolons. You can go through the whole thing in an afternoon. It's small, but not dense. It is readable and commented with love.

Wren is fast. A fast, one-pass compiler for tight bytecode and compact object representation helps Wren compete with other dynamic languages.

Wren is class-based. There are many scripting languages, but many have unusual or non-existent object models. Wren puts courses first.

Wren is a competitor. Light fibers are at the heart of the execution model and allow you to organize your program into a group of communicating coroutines.

Wren is a scripting language. Wren is intended to be integrated into applications. It has no dependencies, a small standard library, and an easy-to-use C API. It compiles cleanly to C99, C++98 or anything newer.

You can try it in your browser!If you like this sound, let's get started.Excited? You can get involved too!

Think Smalltalk in a Lua-sized package with a hint of Erlang and wrapped in a modern, familiar syntax.

System.print("Hello, world!") class Wren { flyTo(city) { System.print("Flight to %(city)") } } var adjectives = Fiber.new { ["small", "clean", "fast"].every {|word| Fiber.yield(word) } } while (!adjectives.isDone) System.print(adjectives.call())

Wren is short. The VM implementation is less than 4000 semicolons. You can go through the whole thing in an afternoon. It's small, but not dense. It is readable and commented with love.

Wren is fast. A fast, one-pass compiler for tight bytecode and compact object representation helps Wren compete with other dynamic languages.

Wren is class-based. There are many scripting languages, but many have unusual or non-existent object models. Wren puts courses first.

Wren is a competitor. Light fibers are at the heart of the execution model and allow you to organize your program into a group of communicating coroutines.

Wren is a scripting language. Wren is intended to be integrated into applications. It has no dependencies, a small standard library, and an easy-to-use C API. It compiles cleanly to C99, C++98 or anything newer.

You can try it in your browser!If you like this sound, let's get started.Excited? You can get involved too!

What's Your Reaction?

like

dislike

love

funny

angry

sad

wow