Re:Lite: A lightweight text editor written in Lua
by aethy on Tuesday October 11, 2022 @08:58PM
(#33171369)
Fair enough; totally understand. If you ever can think of anything please don't hesitate to fire up an issue on the tracker. We're (very slowly) going through them.
[ Parent
| on HN ]
Re:Lite: A lightweight text editor written in Lua
by samatman on Tuesday October 11, 2022 @09:34PM
(#33171662)
Personally, I'd like to see Lpeg integration, and support for Scintillua lexers:
https://github.com/orbitalquark/scintillua
Which would give fairly complete syntax coverage, and a good foundation for building more sophisticated tools.
Lua patterns are fairly primitive, while the opposite is true of Lpeg.
Re:Lite: A lightweight text editor written in Lua
by aethy on Tuesday October 11, 2022 @11:42PM
(#33172540)
It's unlikely that we would include that in core lite-xl due to size and complexity, but we aim to have an extremely robust plugin system (all current syntax definitions come from plugins).
It is totally possible to integrate an lpeg and scintilla plugin which could drop in replace the existing syntax support.
We already have a community member doing this, but with TreeSitter, though I'm not sure where that effort is at, at the moment.
Re:Lite: A lightweight text editor written in Lua
by mega_tux on Friday October 14, 2022 @12:29PM
(#33205653)
If remember correctly, the [Howl editor](https://howl.io/about.html) has Lpeg and use of scintillua. It looks great and it's older but I'm not sure why Lite got more press coverage.
Re:Lite: A lightweight text editor written in Lua
by keyle on Wednesday October 12, 2022 @01:41AM
(#33173303)
any plans for an M1 native build?
Re:Lite: A lightweight text editor written in Lua
by aethy on Wednesday October 12, 2022 @08:47AM
(#33176113)
Yes; people have built these before, so it's not really a problem with the source (I've even cross-compiled it for arm android); it's more just not part of the pipeline yet.
Given the prevalence of mac, this makes sense to support; but apple makes it really tricky to do things if you don't actually have mac hardware; even getting the x86_64 mac build built properly is a real struggle. So, we'll certainly try.