Script Language Enhancements
2018
Eaton, our business partner, manufactures automation control solutions that can be programmed with a custom scripting language called Galileo Script. Our task was to extend Galileo Script with modern language features to enable Galileo users to write more concise, well structured, intuitive and reusable code. This would require us to extend all the components within Galileo that turn a script into runnable byte code on the devices.
To this end, we analyzed the existing code base and gathered a list of language features that we considered to be major improvements for Galileo Script. We took into consideration time estimates for the implementation, compatibility with existing concepts and impacts on the runtime. We then compiled a list of recommendations including the necessary changes to the language definition and asked Eaton to prioritize them.
Once we knew their priorities, we proceeded to implement all the features that were important to our business partner. Examples of this would be parametrized functions, foreach loops and range assignments. To prove the functionality of our extensions we refactored the Galileo Demo Application using the new language features and wrote a small game within Galileo to showcase its new capabilities.
We are very happy with the improvements we were able to bring to Galileo Script and hope the hundreds of people using it will be too.
- Correction
- Source
- Cite
- Save
- Machine Reading By IdeaReader
0
References
0
Citations
NaN
KQI