Lenscript is a scripting language inspired by the natural language state-machine based scripting system from Anyland.
http://anyland.com/scripting/
Anyland was developed by Philipp Lenssen so the name is an homage to him for the original concepts of the Anyland scripting language. Also it abbreviates nicely to LS.
Click here to test the browser interface implementation.
This implementation is using a browser specific grammar which can be found here. The browser.js
file contains the complete implementation for both the UI elements and the interaction with the lenscript engine. The implementation simply binds browser specific inputs to triggers (hover, click, drag) and then then updates the display of objects via CSS properties when a state property is mutated.
See the wiki for more information.
This needs to be completely rewritten. That will be done after I finish the browser implementation