cyber
lua-language-server
Our great sponsors
cyber | lua-language-server | |
---|---|---|
12 | 79 | |
1,075 | 2,988 | |
- | 4.1% | |
9.6 | 9.4 | |
13 days ago | 6 days ago | |
Zig | 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.
cyber
-
ChatGPT4 can now write entire applications
The language is Cyber, an embedable scripting language written in Zig: https://cyberscript.dev/
-
Announcement: the Diatom programming language v0.6.0.alpha
Nice work! I’m always on the lookout for new Lua-likes as a prospective gamedev scripting language. Recently I came by one quite similar to Diatom called Cyber; well worth a look.
- Cyber 0.2 - Modules, gamedev, fast strings.
-
Cyber 0.2 - A scripting language written in Zig.
Yeah that's weird. Definitely better than as though.
-
Bog – small, strongly typed, embeddable language
> more strongly typed alternatives
See also this list for comparison https://github.com/fubark/cyber/issues/6, if you dont want lua by a meta-compiler.
If you want non-allocating scripting for optimal performance (and io limited to what you provide as buffer), go for https://dascript.org/. I dont think there are currently other projects with that performance (+ also inspired by Zig).
-
Cyber is a new language for fast, efficient, and concurrent scripting
From the GitHub page, here are some binary releases: https://github.com/fubark/cyber/releases
lua-language-server
-
Some questions about code formatting with lsp-zero and mason
Check the documentation of lua_ls
-
Beginner question: is there any coding standard for documenting Lua functions or tables emulating OOP?
You can use LLS extension for VSCode. Documentation: https://github.com/LuaLS/lua-language-server/wiki/Annotations
-
Lua: The Little Language That Could
There's lua-language-server which works with types defined in definition files and/or annotations in comments.
-
Documentation Comment highlighting with TreeSitter
Lastly, neovim now supports semantic token highlighting which uses semantic tokens from LSP servers to provide even better, language specific highlighting. Some LSP servers support semantic tokens for doc comments. The lua language server is a good example. Unfortunately, if you're using a language like C or C++, the language servers do not provide semantic tokens for comments because doxygen style comments are not specific to those languages so you might be out of luck for semantic token highlighting.
-
This little thing bugs me: in lua LSP popup content, the closing paren is always highlighted red
I think it is because the language server send a different type for the first line: https://github.com/LuaLS/lua-language-server/blob/eeffd1462b892fda5d01282acf840ba0e154e467/script/core/hover/label.lua (might be one of the other files here, not label)
-
How to add lua-language-server to $PATH
And I was reading this installation guide and after "./bin/lua-language-server " I get this in terminal
-
New to lua
Not sure about typescript but there is a jsdoc equivalent: https://github.com/LuaLS/lua-language-server/wiki/Annotations
-
How complex can I make games in Lua?
Lua with lua-language-server and annotated types is a much nicer experience.
-
mini.nvim - release of version 0.8.0
For it to be language-aware (like provide suggestions for module/table/class methods/fields) you also need language server (like lua_ls for Lua). But even without it you should see suggestions from fallback method. If you don't, then 'mini.completion' is not installed and/or activated.
-
PSA: Changes to the mason.nvim registry
I also want to thank current & past GitHub sponsors who help finance costs associated with the plugin. I regularly pay the surplus forward to other devs whose tooling I heavily rely on (huge shout-out to sumneko for working on the Lua language server, without it a plugin of the complexity of mason.nvim would be impossible, go sponsor them here).
What are some alternatives?
nvim-cyber - Syntax Highlighting for the Cyber Scripting Language for NeoVim
lua-lsp - A Lua language server
extempore - A cyber-physical programming environment
luacheck - A tool for linting and static analysis of Lua code.
ui-monorepo - ChainSafe Files & Storage UI Monorepo
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
luau - A fast, small, safe, gradually typed embeddable scripting language derived from Lua
lsp-mode - Emacs client/library for the Language Server Protocol
terra - Terra is a low-level system programming language that is embedded in and meta-programmed by the Lua programming language.
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
bog - Small, strongly typed, embeddable language.
nvim-cmp - A completion plugin for neovim coded in Lua.