Skip to main content

One post tagged with "web"

View All Tags

Nailuj29

Author of SpiderWren

SpiderWren is a very simple and minimal web framework for the Wren scripting language. It is still very early in development, so expect lots of changes.

Well, what is Wren?#

Wren is a tiny, embeddable scripting language similar to Lua, but with classes and many other features that make it great.

A simple example#

A simple example for SpiderWren (it is subject to change) is:

import "web" for Routes, App
Routes.GET("/greet/:name") { | params |
return "Hello, %(params["name"])"
}
App.run(3000)

This tiny example demonstrates all the current features of SpiderWren!