vim9jit icon indicating copy to clipboard operation
vim9jit copied to clipboard

Newbie in Need: Seeking Guidance on vim9jit - Feeling a Bit Lost

Open ghost opened this issue 2 years ago • 3 comments

Can someone help me figure out how to use vim9jit?

I've downloaded the executable file, but it's not running on my Fedora system.

ghost avatar Oct 09 '23 07:10 ghost

For this command ./vim9jit -o test --file init.vim, I'm getting this error message.

thread 'main' panicked at 'not yet implemented: [Colon] I don't think we ever get this in reality? Parser {
    lexer: Lexer { position: 100, read_position: 101, ch: Some(' ') },
    token_buffer: RefCell {
        value: [
            Token(Colon, ":", (2,13)->(2,14)),
            Token(Identifier, "os", (2,14)->(2,16)),
            Token(Equal, "=", (2,17)->(2,18)),
            Token(DoubleQuoteString, "Windows", (2,20)->(2,26)),
            Token(EndOfLine, "\n", (2,28)->(2,28)),
        ],
    },
}', crates/vim9-parser/src/lib.rs:1720:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

ghost avatar Oct 09 '23 07:10 ghost

Sounds like there was some broken code -- can you send me the file you're trying to parse?

tjdevries avatar Oct 16 '23 02:10 tjdevries

This one

https://github.com/tjdevries/vim9jit/releases/download/latest/vim9jit

ghost avatar Oct 16 '23 08:10 ghost