Skip to content

for a jq code beautifier #8

@tst2005

Description

@tst2005

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions