Open
Description
Sheets will provide a markup language used for creating an application structure. A format similar to XML will probably be used, for example:
<application>
<style selector="?button">
colour = cyan;
text-colour = white;
</style>
<screen type="terminal">
<button x=1 y=1 width=20 height=5>Hello world!</button>
</screen>
</application>
It will also be able to be parsed during runtime, so, for example:
my_container:add_child( sheets.SML.parse [[<toggle x=1 y=2 state="on"/>]] )
The Sheets Build System will support compiling SML files into Lua files before creating an executable to improve application startup time.