Hello wader,
I hope your are fine.
I discovered your jqjq project late.
I also made my own POSIX Shell wrapper with jq for jq but for another goal with another design (mainly 1 jq to process the code 1 jq to evaluate it).
I've been dreaming of a jq lexer/parser for a while, you did it!
Now I think about a side : a jq code beautifier !
With your lex and parse functions, I get the AST.
I need a function to convert back the AST to string.
- This "AST to string" does not exist in jqjq, isn't it?
I plan to write this "AST_to_string" function, but I'd rather ask you if you haven't already done it?
Regards,
Hello wader,
I hope your are fine.
I discovered your jqjq project late.
I also made my own POSIX Shell wrapper with jq for jq but for another goal with another design (mainly 1 jq to process the code 1 jq to evaluate it).
I've been dreaming of a jq lexer/parser for a while, you did it!
Now I think about a side : a jq code beautifier !
With your
lexandparsefunctions, I get the AST.I need a function to convert back the AST to string.
I plan to write this "AST_to_string" function, but I'd rather ask you if you haven't already done it?
Regards,