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

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

Open
ghost opened this issue Oct 9, 2023 · 3 comments
Open

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

ghost opened this issue Oct 9, 2023 · 3 comments

Comments

@ghost
Copy link

ghost commented Oct 9, 2023

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
Copy link
Author

ghost commented Oct 9, 2023

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

@tjdevries
Copy link
Owner

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

@ghost
Copy link
Author

ghost commented Oct 16, 2023

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