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

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

Open
dseeni opened this issue Jun 27, 2022 · 0 comments

Comments

@dseeni
Copy link

dseeni commented Jun 27, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant