Skip to content

Question: Can vimparser ingest the json or lisp file and output vimscript? (compile?) #54

@dseeni

Description

@dseeni

hey @haya14busa

Firstly really awesome project. Go seems like a fun language to learn! (Currently learning Rust).

I was wondering if its possible to compile the json or lisp-ish output to vimscript? No right?

It was very useful to identify certain string declarations and exe calls in a large vim project, I was wondering if I could make changes to the Json tree output and then compile back to vimL?

It looks like I might need to write that part myself, just wanted to make sure it wasn't provided in the repo somehow.

But how would I do this? On a high level? It seems like I would have to go through your Go code, look at your node <--> token bindings, and basically invert them right? While processing the JSON output? ---> This would result in VimL?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions