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

[Experimental] Rust-based LuaLs #2847

Open
CppCXY opened this issue Sep 10, 2024 · 3 comments
Open

[Experimental] Rust-based LuaLs #2847

CppCXY opened this issue Sep 10, 2024 · 3 comments
Labels
beta Related to beta version compile Related to compiling the server from source enhancement New feature or request rust

Comments

@CppCXY
Copy link
Collaborator

CppCXY commented Sep 10, 2024

This version switches the host part of luals entirely to a Rust implementation. The related build tool directly uses Cargo. It is not fully completed yet; it can run on the Windows platform for now. I do not have the equipment to test it on other platforms.

I created this repo as a way to learn Rust and did not intend to replace the original luals. It simply provides another possibility for multi-platform compilation.

link: https://github.com/LuaLS/lua-language-server-rust

@CppCXY CppCXY pinned this issue Sep 10, 2024
@CppCXY CppCXY added enhancement New feature or request beta Related to beta version compile Related to compiling the server from source labels Sep 10, 2024
@Frityet
Copy link
Contributor

Frityet commented Sep 10, 2024

intresting, do you plan to do a 1-1 port or just provide the same featureset?

@CppCXY
Copy link
Collaborator Author

CppCXY commented Sep 11, 2024

intresting, do you plan to do a 1-1 port or just provide the same featureset?

it is just a 1-1 port. I am not completely re-implementing luals in Rust. I am only replacing bee.lua with Rust while still using the exact same Lua scripts as before.

@CppCXY
Copy link
Collaborator Author

CppCXY commented Sep 12, 2024

The current Rust version can run correctly. Feel free to give it a try if you're interested.

@CppCXY CppCXY added the rust label Sep 12, 2024
@CppCXY CppCXY unpinned this issue Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Related to beta version compile Related to compiling the server from source enhancement New feature or request rust
Projects
None yet
Development

No branches or pull requests

2 participants