go-vimlparser icon indicating copy to clipboard operation
go-vimlparser copied to clipboard

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

Open dseeni opened this issue 2 years ago • 0 comments

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?

dseeni avatar Jun 27 '22 05:06 dseeni