#!/usr/bin/env skang -l test -- Lua allows this shell hack. -- There's an implied local this = require 'test' -- There's an implied local skang = require 'skang' -- local other = require 'otherPackageName' skang.clear() local win = skang.window(500, 500, "G'day planet.", 'testWindow') skang.thingasm{win, 'quitter', 'Quits the skang window', types = 'widget', widget='"button", "Quit", 10, 10, 100, 50', required=true} --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')