News for hackers. Stuff that matters.
Re:Build Your Own Text Editor by stevekemp on Wednesday April 05, 2017 @11:45PM (#14047773)
Lua is great for extensions, isn't it?

I forked antizez's editor to add Lua support, and posted it here in the past:

https://github.com/skx/kilua/

That works well for me, even with the minor omissions, and is well-paired with my console-based mail-client - again scripted by lua:

https://github.com/lumail/lumail2/

Re:Build Your Own Text Editor by strainer on Thursday April 06, 2017 @09:56AM (#14050504)
Yes its great --a super efficient and fast little VM and comfortable syntax and scoping. I realised how great Lua is for separating user-complexity from an applications core as my customisations got more substantial.
Re:Build Your Own Text Editor by shalabhc on Thursday April 06, 2017 @10:28AM (#14050793)
Over at howl.io we've been working on another Lua/moonscript based editor. Incidentally it used scintilla as well until we switched to an in-house engine called aullar. The author wrote a blog post about it: https://howl.io/blog/2016/05/26/introducing-aullar.html
Re:Build Your Own Text Editor by strainer on Thursday April 06, 2017 @11:51AM (#14051670)
I want to get into that when I get time - an editor with LuaJIT - that should be brilliant.
Re:Build Your Own Text Editor by shalabhc on Thursday April 06, 2017 @05:44PM (#14054921)
Yes it's great. Interfacing with new libraries is easy with LuaJIT's FFI and implementing low level stuff works well too (e.g. something like reverse find on a string basically gets JITted to C speed).