I have a bunch of simple ChaiScript snippets that I want to run in an very resource-limited embedded context without heap memory. I cannot afford the ChaiScript engine.
The snippets are guaranteed to contain only basic expressions like arithemtic operands. Is it possible to extract the AST of a snippet so that I could emit C++ code (or any other language)?