kakoune
Yuescript
Our great sponsors
kakoune | Yuescript | |
---|---|---|
110 | 7 | |
9,571 | 402 | |
- | - | |
9.7 | 8.8 | |
7 days ago | 4 days ago | |
C++ | C++ | |
The Unlicense | 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.
kakoune
- Multi-cursor code editing: An animated introduction
-
Helix: Release 24.03 Highlights
Helix's modal editing is based on Kakoune's modal editing which is like an evolution to Vim's modal editing. You can think of it as being always in selection (visual) mode. https://github.com/mawww/kakoune?tab=readme-ov-file#selectio...
- Kakoune
- Kakoune Code Editor
-
A tutorial for the Sam command language (1986) [pdf]
And while it doesn’t use the sam language precisely, I think in the broader “postfix Vi with visual feedback” category Kakoune[1] also warrants mentioning. The command language, in my experience, feels much more logical than that of Vis coming from a blank slate (things might be different if you come from Vim, but even when I used Vim regularly I never used the editing language that much exactly because I could never remember the damn thing).
And having mentioned Kakoune it’d probably be unfair to then not mention Helix[2]. It has a very similar editing language, but it’s a fairly anti-Unix everything-bolted-in affair on the inside (“everything works out of the box” being the advertising take) compared to Kakoune’s Acme-inspired no-scripting scripting (there’s an ex-style command to exec a user program that can then drive the editor over stdio RPC, a set of hooks, and that’s it). So if you’ve come for the Plan 9 feels, I don’t expect Helix to be that appealing. It’s still a good editor, nevertheless.
[1] https://kakoune.org/
[2] https://helix-editor.com/
-
What is the best book for complete beginner?
You can take a look at kakoune. The source code (excluding documentations, test cases, customizations etc.) is less than 40k. It is, IMHO, a show case of a C++ project in use.
-
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..
-
Understanding the Origins and the Evolution of Vi and Vim
I've been using Vim for years, but if there was one thing I could change, it would be the verb-noun order. The Kakoune[1] editor behaves mostly like Vim, but where Vim has `dw` as "delete word", Kakoune has it backwards: `wd`.
It might sound minor, but by placing the range first, Kakoune can give a preview of what will be changed. The longer or more complicated the command, the more this feature shines.
Strictly better as far as I know. A shame my muscle memory, and all default installations, are still stuck with Vim.
[1] https://kakoune.org/
- Ask HN: Where do I find good code to read?
-
Helix editor: Make HTTP requests and insert JSON
Helix is a postmodern text editor built in Rust built for the terminal. It is inspired by Kakoune, another Rust based text editor. Helix has got multiple selections, built-in Tree-sitter integration, powerful code manipulation and Language server support.
Yuescript
-
Why Fennel?
I'm a big fan of moonscript, but occasionally wish it was still be improved and worked on. Yuescript¹ looks like it fixes most of my bugbears with moonscript, and it is largely a faster² drop-in replacement.
There was s little discussion here ~18 months ago³, but it will largely circular if you look as people are suggesting fennel there ;)
¹ https://github.com/pigpigyyy/Yuescript
² This probably only matters if you have tonnes of moonscript, not just a little neovim/mpv/awesomewm config or something.
³ https://news.ycombinator.com/item?id=29903133
-
Using other languages
There's also some languages made to compile straight to Lua: - MoonScript is the most popular Lua wrapper - it's built to be more Python-like, featuring indentation-based scopes, function calls without parentheses, lambda syntax, list comprehension, and much more. - Yuescript is a modern update to MoonScript that adds more features (I haven't used it myself, so I'm not entirely sure exactly how it differs from MS). - Teal is a version of Lua that adds static typing for better code standards.
- data types in function definition
-
Lua, a Misunderstood Language
Yes, this is unfortunately true.
There's a spiritual successor: https://yuescript.org/
-
I've designed a re-imagined version of the Lua logo and some other Lua flavors just for fun, what do you guys think?
Yuescript in yellow
-
100 Languages Speedrun: Episode 90: YueScript
What I didn't know about is that its fork YueScript is actively maintained, and with some extra features.
-
Trying to move to Emacs again
I've put together a Lua config with Neovim, but it was still kind of obnoxious to put together. Lua isn't that great of a language, because people seem to forget it's an embed-able language for a reason (it's not supposed to give you tons of features). Using something that makes some of your more complex problems easier like Moonscript or Yuescript can make things more complex in regards to your configuration.
What are some alternatives?
helix - A post-modern modal text editor.
moonscript - :crescent_moon: A language that compiles to Lua
micro-editor - A modern and intuitive terminal-based text editor
emacs-pure
vis - A vi-like editor based on Plan 9's structural regular expressions
open-builder - Open "Minecraft-like" game with multiplayer support and Lua scripting support for the both client and server
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
dotemacs - My Emacs configuration
neovim - Vim-fork focused on extensibility and usability
forkleft - Fegeya Forkleft, C++ implementation of ~new generation~ mark-up language.
SpaceVim - A community-driven modular vim/neovim distribution - The ultimate vimrc
tl - The compiler for Teal, a typed dialect of Lua