Back in my early years as “Rock Star System Developer” :rolleyes: , on a regular basis I’d include TCL as a way to on the script things on the fly. (Which soon was script things, don’t use the base code" Think of it as a Visual Basic Addon in Excel, but in the middle of a major systems application.
In the last few years I’ve ditched TCL (sob, but TCL programmers don’t exist, C and Java programmers do) for LUA (more people can use it. ie C and java people) So my basic hello world program, now includes LUA and you can script away.
A number of FRC teams have used LUA, the Greyhound project tied LUA to the CRio with pretty good success. Some teams posted their code that they were happy with.
So I’m on a quest to get eLua, small footprint Lua on the Cortex from VEX and some other platforms. eLua does not have all the libraries, you can include them, but 128K is not much space.
I’d like a discussion on how you used Lua and won, how you used Lua and failed (and nonposts from people saying you should use xxxx, Lua is stupid) So if you have used Lua, post please. I’m thinking coding the WPILibrary API’s from the PIC days, lots of good interfaces that are simple to use.
But before I mount my horse and tilt at another windmill, let me get grounded in robot versions of Lua. From a app developer, it’s a great addon with small footprint. I can avoid the compile-link-download binary steps, but I risk syntax errors at the Lua level.
I’ll cross post this to VEX forum, those roboteers are expanding into things we talk about. Please be nice to them when they cross over here.