20 minutes



This talk is regarding a module I created to address a difficulty I had. It is an experiment in creating a modular scripting language that can be integrated into another application to offer end-user programmability. The module offer a parser that provides basic flow control, string and arithmetic functions, and accepts task specific extensions. Imagine a situation that an application interfaces to a device capable of multiple tasks, like a robot. One might want the end-user to be able to perform these tasks programmatically, e.g. controlling a robot with user specified action sequences.

SIMPLE.pm is a module that provides program flow control variables, subroutine creation, and console printing. An external extension (or multiple extensions) can be loaded delivering a "domain specific" function...eg. motor control, or user interaction or graphical tool. Together they can allow the program to handle simple scripts that a an ordinary user can create easily.

Now I believe there may be more powerful, flexible and robust ways of achieving this already, although I have yet to discover something that does. SIMPLE is, hopefully, simpler. I will demonstrate an extension that will parse a LOGO-esque script into generating SVG images. The same mechanism will be used to generate the GCode for a bioprinter. I am interested in seeing if others can suggest whether this approach is best, or whether I should try another approach. 

Bronze and Community:

More information about all of our valued sponsors is available on our sponsors page.