LuaLS / lua-language-server

A language server that offers Lua language support - programmed in Lua
https://luals.github.io
MIT License
3.26k stars 306 forks source link

[Experimental] Rust-based LuaLs #2847

Open CppCXY opened 1 week ago

CppCXY commented 1 week ago

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

Frityet commented 1 week ago

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

CppCXY commented 6 days ago

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 commented 5 days ago

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