tjdevries / vim9jit

a vim9script -> lua transpiler (written in Rust)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/

About

a vim9script -> lua transpiler (written in Rust)

License:MIT License


Languages

Language:Rust 73.1%Language:Vim Script 17.6%Language:Lua 9.3%