luau-lsp
lua-language-server
luau-lsp | lua-language-server | |
---|---|---|
2 | 1 | |
174 | 2,042 | |
- | - | |
9.3 | 10.0 | |
3 days ago | about 1 year ago | |
C++ | Lua | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
luau-lsp
-
Northlight makes Alan Wake 2 shine
That's not it, I mean the "declare" statements that aren't even listed in the grammar, but are needed to give the type checker information about C API exports. The analyzer even hardcodes a bunch of them.
luau-lsp for example ships this globalTypes.d.lua file[1] for Roblox development and let's you configure your own.
[1]: https://github.com/JohnnyMorganz/luau-lsp/blob/4b7872349d9b8...
-
Ask HN: Looking for platforms, other than Roblox, that have adopted Luau
I use Luau in my games and tools [1], and I recommend it. While I can't speak to transitioning to it from Lua, since I didn't do that, I can say that it's fast, stable, sandboxing just works (important for your use case), and it's very well supported and regularly updated.
For context, I first started using Luau as an experimental hack by integrating it with Unity. I mostly just wanted fast and simple hot reloading. I found myself writing more and more of it, and now I'm writing most of my code in it.
VS Code support is pretty good via the luau-lsp language server [2]. Type support for certain code patterns isn't great yet, but there are RFCs to improve this.
They're also quietly working on native code gen and JIT support, e.g. this PR from a few hours ago [3].
Overall, recommended! You're not crazy.
[1] https://twitter.com/kineticpoet
[2] https://github.com/JohnnyMorganz/luau-lsp
[3] https://github.com/Roblox/luau/pull/1076
lua-language-server
-
Using Lua with C++
- https://github.com/sumneko/lua-language-server (IDE only typing)
With minimum effort you can get a lot of benefit from using Sumneko's Lua language server in VSCode for near many Lua versions (LuaJIT, PUC-Rio Lua, etc.)
What are some alternatives?
glsl-language-server - Language server implementation for GLSL
terra - Terra is a low-level system programming language that is embedded in and meta-programmed by the Lua programming language.
luauDec - Decompiler for luau (https://luau-lang.org/)
SWIG - SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.
warframe-luau-dump - dumped luau warframe scripts (2024.02.16.17.13)
APIsWithLua - Sample Lua and C code to help you learn how to write Lua-based APIs.
lua-language-server - A language server that offers Lua language support - programmed in Lua
pallene - Pallene Compiler
corona - Solar2D Game Engine main repository (ex Corona SDK)
nelua-lang - Minimal, efficient, statically-typed and meta-programmable systems programming language heavily inspired by Lua, which compiles to C and native code.
Language-Server - Experimental LSP suite for Pluto, a Lua dialect, with linting and completions.
luau - A fast, small, safe, gradually typed embeddable scripting language derived from Lua