No direct experience with Lua but Python has been a life saver for programming on the PC. It's weird to see people struggling to do serial or menus with C#, .NET, Visual this and that, when a few minutes with script languages like these can save hours (or months). I'm amazed the full interpreter can be fit into a 256k STM chip and would love to give that a try. Unfortunately like many of these efforts there is no easy implementation on that site. No diagrams or binary available. You need to register into their secret society to get anything and even then forced to compile from scratch.
Indeed. Given the current thread audience I refrained from mentioning python to reduce the chance of a
frothing event.
But now that you mention it ... Embedded python also looks interesting. Basic has less appeal to me, but disregarding personal preference Basic also seems totally legit as an embedded interpreter for stm32. I'd go with either elua or embedded python, whichever happens to work out of the boxier.
Unfortunately like many of these efforts there is no easy implementation on that site. No diagrams or binary available. You need to register into their secret society to get anything and even then forced to compile from scratch.
Which one? You mean elua? I thought that
step by step guide in the 2nd link was pretty doable. I certainly don't see any login requirements or some such. Maybe you mean python? That elua guide looks plausible, in that I see all the required categories of
things being addressed. But then again, maybe you prefer development under windows in which case that guide is less useful. There probably are more guides or maybe even ready to go installers. Haven't looked that hard.
I've also had some experience with small Linux distributions (Puppy. Tinycore, etc) but at best we are talking megabytes. Many years ago, back in the days of floppies, a fellow sent me a CLI version that ran off 720k. No HD involvement as I recall. But that is lost in the mists of time and it don't look like anybody will be achieving those kind of milestones again.
720k? That much?!? We made do with less than that back in the day, and had to haul our own 19" racks up hill in the snow. Then walk all the way back to the village (still up hill somehow, and still snow of course) to get the slackware floppies, and and...
And no I do not miss those days at all. Trying to do a big compile job on an 4 Mb machine was not exactly fast.
First thing I did was get an extra 16 Mb module for HOLY SHIT THAT MUCH?!? Well worth it.
But yes, sometimes I have to smile a little when I see one of those current day
"space constrained" distros. But fair is fair, you tend to get more goodies installed these days, so you do get some convenience in return for the increased bloat. And with flash memory being free with a packet of cornflakes the larger install seems a reasonable tradeoff to me. Memory usage however could do with some tuning sometimes.
Anyways, will be interesting to see what flavor of basic you come up with for the 50 cent mcu.