in my application, my users generate a configuration file which is loaded into EEMEM and evaluated at run-time to configure inputs, outputs, actions, etc.
I would like to provide my users with a way to include expressions (return a value) and action statements (or better simple 'functions') that are evaluated at run-time using data and functions provided by my firmware environment.
I currently support expressions (compiled at run-time to pseudo-code which is saved and executed) and some actions (actually side-effects of referencing objects) but I would like to extend that functionality.
I am interested in anything from very basic to complete scripting ideally with the ability to select the options I want (and thus the ROM/RAM footprint). I have heard of Lua but that might be a bit much ...
(using ATMega1284p and AVR Studio)