Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON #49

Open
numToStr opened this issue Oct 12, 2022 · 0 comments
Open

JSON #49

numToStr opened this issue Oct 12, 2022 · 0 comments
Labels
feature New feature or request

Comments

@numToStr
Copy link
Owner

numToStr commented Oct 12, 2022

This might be cool. Instead of printing vimdoc we can instead print the whole AST as json so that other tools can walk the AST and do cool stuff with it.

FLOW

  1. lemmy-help outputs json (flag: --to-json)
  2. User modifies the content (not the structure/AST)
  3. lemmy-help takes that json (flag: --from-json) via stdin and prints vimdoc.

IDK

  • In case of --from-json, file inputs should be discarded or appended after json?
@numToStr numToStr added the feature New feature or request label Oct 12, 2022
@numToStr numToStr changed the title JSON output JSON Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant