Yuescript
dotemacs
Yuescript | dotemacs | |
---|---|---|
7 | 5 | |
410 | 378 | |
- | - | |
8.7 | 8.1 | |
8 days ago | about 2 months ago | |
C++ | Emacs Lisp | |
MIT License | Do What The F*ck You Want To Public 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.
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.
dotemacs
-
Trying to move to Emacs again
Try the built-in desktop.el https://github.com/angrybacon/dotemacs/blob/master/dotemacs.org#buffers-and-windows in my configuration I disable the frame restoration on purpose but in your case you should leave the default value
-
How to add margin between relative line number and text while using Evil mode?
display-line-numbers supports relative numbering too https://github.com/angrybacon/dotemacs/blob/master/dotemacs.org#line-numbers
-
A theme configuration helper
https://github.com/angrybacon/dotemacs/blob/master/dotemacs.org#theme
-
Magit commit - prompt to tangle.
This is how I maybe-tangle-and-compile in my init.el: https://github.com/angrybacon/dotemacs/blob/master/init.el#L38-L45
-
Weekly tips/trick/etc/ thread
https://github.com/angrybacon/dotemacs/blob/master/dotemacs.org#buffers-and-windows
What are some alternatives?
moonscript - :crescent_moon: A language that compiles to Lua
kakoune - mawww's experiment for a better code editor
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
emacs-pure
general.el - More convenient key definitions in emacs
open-builder - Open "Minecraft-like" game with multiplayer support and Lua scripting support for the both client and server
forkleft - Fegeya Forkleft, C++ implementation of ~new generation~ mark-up language.
use-theme - Emacs theme helper
tl - The compiler for Teal, a typed dialect of Lua