bug-zile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-zile] A Couple of "Where Lua Is Used" Updates


From: Gary V . Vaughan
Subject: Re: [Bug-zile] A Couple of "Where Lua Is Used" Updates
Date: Tue, 24 Sep 2013 13:35:48 +0700

Hijacking the thread slightly, with more details for anyone interested in Zile...
and cross-posting to the otherwise super quiet zile list for anyone still hanging
out there.

On Sep 24, 2013, at 8:53 AM, Gary V. Vaughan <address@hidden> wrote:
On Sep 23, 2013, at 11:13 PM, steve donovan <address@hidden> wrote:
On Mon, Sep 23, 2013 at 3:28 PM, Gary V. Vaughan <address@hidden> wrote:
Something else interesting that's falling out of the reorganisation is that I now
have 75% of a Lisp -> Lua translator (a la moonscript), which I think I'll work
on finishing sooner rather than later..

At this point, I feel I need some background on the Z* projects.

As an aside for anyone who feels inspired to try out the in-progress zmacs, I
just rebuilt it to check whether it works with latest luarocks releases of those
rocks it depends upon.  And it almost does, except that recent luaposix releases
trip it up, and building lrex-gnu on Mac OS still sucks :)  I'm happy to help
anyone who gets stuck building the prerequisites.

Here's what I needed to get a working build of zmacs, 75% Lisp->Lua translator
embedded et. al.:

address@hidden
├!50965=luarocks-5.2 list

Installed rocks:
----------------

alien
   0.7.0-1 (installed) - /usr/local/lib/luarocks/5.2//lib/luarocks/rocks

lrexlib-gnu
   2.7.2-1 (installed) - /usr/local/lib/luarocks/5.2//lib/luarocks/rocks

lua-stdlib
   35-1 (installed) - /usr/local/lib/luarocks/5.2//lib/luarocks/rocks

luabitop
   1.0.2-1 (installed) - /usr/local/lib/luarocks/5.2//lib/luarocks/rocks

luaposix
   5.1.28-1 (installed) - /usr/local/lib/luarocks/5.2//lib/luarocks/rocks


The luabitop dependency is pulled in by luaposix-5.1.28, but is otherwise
ignored by Zile zmacs.

And the obligatory screenshot of todays build, because I know people like this
sort of thing :)


I haven't implemented my LPEG rewrite of the syntax hiliting engine from the
zi branch yet, so just plain terminal foreground and background at the moment,
but here's where zi got to hiliting some of it's own code earlier this year
with the TextMate Lua mode ported over before I realised big files were a no-no
in it's current state.  Zmacs will look quite similar to this once I've redone
the syntax engine in LPEG (after I've climbed out of the lua-stdlib, luaposix,
Specl rabbit-hole):


And one final plug, is that the thing that I especially love about TextMate
is how the modes are context aware, and can correctly highlight multi-syntax
files - e.g. _javascript_, css and php embedded in an html file, or for my own
purposes - shell and m4 embedded in a Makefile, or configure.ac. I'm not aware
of any other editor that can do this - Zi would have had that capability had
I ported more modes from TextMate, and zmacs will too in due course, which
will be a step up even from the mighty Emacs!!

Cheers,
-- 
Gary V. Vaughan (gary AT vaughan DOT pe)

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

[Prev in Thread] Current Thread [Next in Thread]