Open agershun opened 9 years ago
As I hear it its a request to change the format of the AST - cause the JSON will still represent a syntax tree
Do we have any hints on what it will benefit? What is the need behind? Is it to interact with the syntax tree?
If its to have an easier way of debugging an export of AST to JSON might be an option.
Yes, plus it will:
new yy.CreateTable({tableid:$1});
in the parserSounds good !
AS I recall it last time I can the .compile()
I got a JSON back - is this issue resolved?
Currently AlaSQL parser produces AST (abstract syntax tree) with classes on nodes. I received coule requests to change it to simple JSON (like WebSQLShim does).