Category: Show Your Stuff
In the source i see you how you handle expressions.
I shoukd use a lib like: mu parser to handle expressions.
This also handles and updates gcode variables for you.
It wont run (nested) while loops. This while loop algo you can design yourself.
in future i love to see gcode dialect parsing,
given a json config file.
Then hopely the interpreter is also able to read fanuc and kuka robot language and produce the motion outputs for it. An extended version off straight_feed xyz...
would look like straigt_feed j1 j2 ....
Mu parser example