Skip to content

JSON #49

@numToStr

Description

@numToStr

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions