DEV Community

Cover image for A simple static site generator with Wren

Posted on

A simple static site generator with Wren

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

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

System.print("Hello, world!")

class Wren {
  flyTo(city) {
    System.print("Flying to %(city)")

var adjectives = {
  ["small", "clean", "fast"].each {|word| Fiber.yield(word) }

while (!adjectives.isDone) System.print(
Enter fullscreen mode Exit fullscreen mode

I created Chercán ( as a simple static site generator where you could create your HTML pages using Wren and Asciidoc.

Check it out! :)

Top comments (0)