#!/usr/bin/env skang -- Lua allows this shell hack. -- There's an implied local this = require 'test' -- There's an implied local skang = require 'skang' local widget = require 'widget' -- local other = require 'otherPackageName' skang.clear() skang.window(200, 200, "G'day planet.") --quitter = widget.button('Quit', 0.5, 0.5, 0.5, 0.5) --quitter:action('quit') -- 'quit' is looked up in ThingSpace.commands, and translated into the Lua 'skang.quit()'. --other.foo = 'stuff' this.bar = 'things' this.ffunc(1, 'two')