luafun
functional
luafun | functional | |
---|---|---|
3 | 2 | |
2,031 | 13 | |
0.8% | - | |
2.3 | 0.0 | |
7 months ago | over 1 year ago | |
Lua | Lua | |
GNU General Public License v3.0 or later | 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.
luafun
-
Lua library for dealing with iterators?
You're probably thinking of https://luafun.github.io/
-
[discussion] Why don't more (any?) plugin authors use penlight?
Have you seen the code base of penlight? 1. TBH, I don't think it takes a good perf, it's a lot of overhead to package Lua into Python. In my dev plugin experience, I rarely deal with complicated data. vim.tbl_ is enough for me. 2. My personal choice, I prefer JavaScript style rather than Python. 3. I tend to use the libs like luafun with perf gain or Lua binding libs, but I don't have this need at present. 4. Can steal a small piece of code to keep away from dependency.
-
Is luajit really that fast?
you could refactor using luajit + luafun
functional
- Use coroutines in for loops, manipulate input streams, create lambda functions which capture their contexts, and more with functional: a pure Lua, single-file library with functional utilities!
-
Does anyone use LDoc (or similar) when writing lua in nvim? If so, how?
It might do that, but I've never heard if it. I use LDoc as a successor of LuaDoc. If you don't mind the self-plug, I use it pretty extensively in my functional library.
What are some alternatives?
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.
IntelliJ-EmmyLua - Lua IDE/Debugger Plugin for IntelliJ IDEA
lcurses - Lua bindings for Curses
neodev.nvim - 💻 Neovim setup for init.lua and plugin development with full signature help, docs and completion for the nvim lua API.
lua-firebase - A Firebase modules in Lua
neogen - A better annotation generator. Supports multiple languages and annotation conventions.
luapak - Easily build a standalone executable for any Lua program
tl - The compiler for Teal, a typed dialect of Lua
luarocks-build-xmake - A luarocks build module based on xmake
luarocks - LuaRocks is the package manager for the Lua programming language.
sqlite.lua - SQLite LuaJIT binding with a very simple api.
lua-timeago - Simple Lua library library for displaying dates as relative time ago language