inspect.lua
gravity
Our great sponsors
inspect.lua | gravity | |
---|---|---|
3 | 4 | |
1,308 | 4,267 | |
- | - | |
0.0 | 5.1 | |
8 months ago | 8 months ago | |
Lua | C | |
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.
inspect.lua
-
What love packages/libraries do you guys currently use and consider essential for every project you guys made?
inspect and strong
-
Losing my mind with formatting
I've used inspect.lua to inspect the client table and I can see valid-looking formatCommand settings (using the exact efm folder that u/lukas-reineke uses)
-
Lua's Lack of “Batteries”
For more complex string matching tasks that the built-in patterns cannot handle, LPeg is a good choice. It's more powerful than regexes while also being easy to use. I also wouldn't expect something like PCRE to ever be included in the Lua standard library. PCRE by itself would already be larger than the rest of the Lua interpreter + standard library.
By the way, for formatting Lua tables I like using inspect[1]. (It's not part of the standard library but oh well, that's the whole topic of today's discussion).
https://github.com/kikito/inspect.lua
gravity
-
Ask HN: Parrot language copycat my Gravity source code. What can I do?
I found out that the Parrot programming language (https://github.com/parrot-language/parrot) did copycat line by line my Gravity programming language (https://github.com/marcobambini/gravity).
I know that I used a very permissive license and that the project can be forked and modified by anyone but this is a theft more than a fork.
What can I do in this situation?
- When does garbage collector start in Gravity?
- Binding a Language to Gravity
-
Lua's Lack of “Batteries”
This is gonna be subjective, because it depends on what your priorities are.
The two alternatives at the top of my list are Gravity and Wren. They are both designed for the same general profile that Lua has—a scripting language, safe to use, embeddable, with a small VM (low code size).
- https://github.com/marcobambini/gravity
- https://wren.io/
The language design choices are nice and familiar to people who are used to other existing languages. Lua is a bit radical.
Two other options are AngelScript and Squirrel, which are both a bit older and more mature than Gravity and Wren. In my opinion they are
- http://www.angelcode.com/angelscript/
- http://squirrel-lang.org/
Finally, it’s much more feasible these days to embed something like Mono, and Guile has gotten a lot better.
What are some alternatives?
luaforwindows - Lua for Windows is a 'batteries included environment' for the Lua scripting language on Windows. NOTICE: Looking for maintainer.
umka-lang - Umka: a statically typed embeddable scripting language
formatter.nvim
blade - A modern general-purpose programming language focused on enterprise Web, IoT, and secure application development.
Penlight - A set of pure Lua libraries focusing on input data handling (such as reading configuration files), functional programming (such as map, reduce, placeholder expressions,etc), and OS path management. Much of the functionality is inspired by the Python standard libraries.
tl - The compiler for Teal, a typed dialect of Lua
love-parallax - A utility library for LÖVE that adds parallax scrolling to your camera.
zForth - zForth: tiny, embeddable, flexible, compact Forth scripting language for embedded systems
diagnostic-languageserver - diagnostic language server integrate with linters
yyjson - The fastest JSON library in C