radio3-network / B3OS

Arduino Operating System for ESP32
Apache License 2.0
30 stars 5 forks source link

Replace the shell with a TCL interpreter? #1

Open EternityForest opened 1 year ago

EternityForest commented 1 year ago

I found this project: https://github.com/dragoncoder047/tinytcl, currently abandoned, but seemingly usable, and there are several others like it, some seem to need less than 10k of flash.

TCL supports the "Command arg1 arg2" syntax, but it is a real full programming language. Perhaps it would be useful to replace the shell with TCL, to allow for real scripting?

maxbrito500 commented 3 months ago

Sorry, wasn't receiving notifications and working at other projects.

Your idea is quite good and isn't difficult to include, the question is how often would it be used in real world?

Most cases would likely involve to write the script commands to a file and run them as needed.

Right now is included the Wrench scripting language, so one can already script the functionality and get it running.

But I think you mean direct pin reading and handling from the command line?