Skip to content

dense-analysis/vim9jit

 
 

Repository files navigation

vim9jit

vim9jit is an experimental project to take vim9script and convert it to lua that can run within Neovim.

It will not be a full vimscript parser, but instead will only parse the necessary amount of vim9script to send the rest of the vimscript to Neovim's vimscript interpreter. In general, this revolves around converting new def style syntax, as well as doing things with import and a few more items.

For examples of some of the "transpiled" code, you can check: ./crates/vim9-gen/testdata/output/

Subject to change. We'll be exploring this quite a bit over the next month (Sept 2022 - Oct 2022)

About

a vim9script -> lua transpiler (written in Rust)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 80.3%
  • Vim Script 12.9%
  • Lua 6.8%