Scripting Overview

From Pointui

Home has been developed using C++ which has allowed us to get the most out of the device with regards to performance and memory. However, to allow other developers to customize Home we have built a Script Engine within the product. It allows for basic scripts to be created that can customize existing functionality and even extend it by adding new Applets which can even go and launch new Screens.

Rather than develop a new language we have adhered fairly closely to C# syntax. In fact we have deliberately used the “.cs” extension and type our script code in Visual Studio because it validates the syntax within the IDE.

NOTE: It is important to understand that even though the script code looks like C# it is not – it is Pointui C Script code. You cannot use any .NET classes from script, and the scripting does not support complex syntax elements. The Script Engine within Home does not rely on .NET at all and does not make use of any of .NET’s functionality – the Script Engine was created specifically for Home and implements our own interpreter. We realize that this will cause some confusion, but considered it more important to provide scripting based on an existing familiar language rather than invent some new language that developers would have to learn.