Hey guys. I'm currently looking for a scripting language with a tiny footprint (less than 3KB RAM and a binary that when compiled is less than 20/30KB).
All I need is the ability to evaluate statements similar to first order logic.
For example: !(x : X | x > 5)
Would mean that "for all x in the set X, return true if all xs are greater than 5, otherwise return false".
I need the ability to define functions that would return these sets (The ability to define X and pass parameters to that function that returns a set).
It would also need to be able to support a limited form of structures, where an attribute could be obtained on a certain variable (eg. x.count).
As for data types, integer, floating point and sets are about all I need. Anything else would probably be ripped out to save space.
It needs to be written in C and the ability to compile on old versions of GCC (3.4.x) would also be useful.
Anyone got any ideas? Ideally I don't want to have to write this myself.
Question
Lant
Hey guys. I'm currently looking for a scripting language with a tiny footprint (less than 3KB RAM and a binary that when compiled is less than 20/30KB).
All I need is the ability to evaluate statements similar to first order logic.
For example: !(x : X | x > 5)
Would mean that "for all x in the set X, return true if all xs are greater than 5, otherwise return false".
I need the ability to define functions that would return these sets (The ability to define X and pass parameters to that function that returns a set).
It would also need to be able to support a limited form of structures, where an attribute could be obtained on a certain variable (eg. x.count).
As for data types, integer, floating point and sets are about all I need. Anything else would probably be ripped out to save space.
It needs to be written in C and the ability to compile on old versions of GCC (3.4.x) would also be useful.
Anyone got any ideas? Ideally I don't want to have to write this myself.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts