clp
vis
clp | vis | |
---|---|---|
8 | 56 | |
94 | 4,160 | |
- | - | |
4.9 | 8.2 | |
7 months ago | 8 days ago | |
Lua | C | |
MIT License | GNU General Public License v3.0 or later |
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.
clp
-
Lua: The Little Language That Could
I used luajit to write an alternative to bat because it was annoyingly slow for large files. It ended up being like 15 times faster. Such a cool language!
-
Scintilla is a free source code editing component with a permissive license
There’s a related project that’s really cool called scintillua that lets you use lpeg lexers for scintilla. It supports over 120 languages and it’s super easy to add new ones.
https://github.com/orbitalquark/scintillua
You can also use it as a standalone lua library. I packaged it up to make a faster (but much less feature full) alternative to bat.
https://github.com/jpe90/clp
-
Ask HN: What have you created that deserves a second chance on HN?
a fast alternative to bat for syntax highlighting in the command line (eg for fzf preview window)
https://github.com/jpe90/clp
-
Building the fastest Lua interpreter automatically
It's super fast and has some really interesting libraries. I used parsing expression grammars to write a faster alternative to bat.
- Tutorial for embedding Lua in C standalone app
-
What are the downsides of using Lua?
I recently made a project that uses a lua library to lex source files, then writes them out to stdout with syntax highlighting. Long story short at this point in my code I have a big indexed table of token names and positions. I just iterate over the token names and io.write an ANSI escape sequence that corresponds to the color type of token (simple table lookup), and then io.write the tokenized text.
-
A Tutorial on Portable Makefiles
I recently learned more Makefiles by using them for a recent project of mine. I wish I had seen this when I was working on it! I learned (stole) from the musl libc configure script and makefile instead.
Makefiles aren't as easy to work with as alternatives in other language ecosystems, but I found they let me do a lot without the need for extra dependencies.
Coincidentally the author of this blog post commented on one of my reddit posts and helped me work out a few kinks in the project.
https://github.com/jpe90/clp
-
Seeking feedback on command line syntax highlighter
Hello! I'm working on a small project that just highlights source files and writes them to stdout: https://github.com/jpe90/clp
vis
- Vis: A vi-like editor based on Plan 9's structural regular expressions
- Oasis – a small, statically-linked Linux system
-
Why Kakoune
> I wonder if the author has ever heard of vis[0]
Yes.
https://github.com/martanne/vis/wiki/Differences-from-Kakoun...
https://github.com/mawww/kakoune/wiki#onboarding
> which imho fulfills far better each one of those premises
Not very motivated for such a harsh critic..
-
The Text Editor Sam by Rob Pike
If you want an editor that uses Sam's structural regexes with keyboard-focussed vi-style interaction, you might be interested in https://github.com/martanne/vis
-
Can we write a Neo-vim Successor using rust?
Not Rust, but there's vis which aims to be a Vi(m) inspired editor with Sam's structural regular expressions.
-
Met that guy one the train yesterday
I do not use vim nor a WM nor a Thinkpad, but I do use vis. It's great.
-
Helix: Release 23.03 Highlights
> They either break from Vim's model (kakoune, helix) or follow Vim along with all it's flaws (Neovim, Vis).
I am sincerely curious of what flaws from Vim has Vis inherited, in your opinion.
I have the impression that the design idea of Vis is taking only the modal design of Vi (not Vim), plus the structural regular expressions of Sam, then make it as clean as possible with programmability via Lua plugins.
In fact, the state non-goals [1] seems to clearly distant itself from Vim.
[1]: https://github.com/martanne/vis#non-goals
- Helix: Post-Modern Text Editor
- Mle is a small, flexible, terminal-based text editor written in C
What are some alternatives?
KataScript - A simple scripting language
kakoune - mawww's experiment for a better code editor
neovim - Vim-fork focused on extensibility and usability
micro-editor - A modern and intuitive terminal-based text editor
tl - The compiler for Teal, a typed dialect of Lua
nextvi - Next version of neatvi (a small vi/ex editor) for editing bidirectional UTF-8 text
awesome - awesome window manager
vim-visual-multi - Multiple cursors plugin for vim/neovim
lcpp - A Lua C PreProcessor
mle - flexible terminal-based text editor (C)
xmake - 🔥 A cross-platform build utility based on Lua
nvim-select-multi-line - Neovim plugin. select multiple lines that are not adjacent.