Wood

→ javascript dialect

Wood is a module system for javascript.
It works on a web server or locally without any setup.

Introduction


Engrave

Engrave an ancient truth into wood.

let greet = (name) => print(`Hello ${name}`)
engrave(greet)

Discover

Discover an engraving (unless it has already been discovered).

discover("greet.js")

Learn

Learn an ancient truth from an engraving.

discover("greet.js")
x=o=> {
	let greet = learn("greet", "greet.js")
	greet("Luke")
}