Bertho has been working on a gcmc – G-Code Meta Compiler, a front-end language for generating G-code for CNC mills:
I have been improving the gcmc compiler for a while and I think it is very powerful now. The grammar is done and a very rich set of built-in functions support easy creation of very complex designs. Gcmc’s syntax and built-in functions are now also documented at gcmc’s home page, which links to syntax and function reference.
Via the forum.