revised SciTE syntax lexer
Peter-Henry Mander
erlang@REDACTED
Mon Nov 3 18:08:40 CET 2003
Hi Chris,
I've had a good look into the Erlang Reference Manual 4.7.3 Draft 0.7
(is there a more up to date reference?) for the keyword list, and I
realise that I've only allowed for one type of "keyword" token. Erlang
also defines a few operators, some predefined attributes and some other
reserved words too which although not keywords may be candidates for
highlighting.
I'll send you what I've got, and wait to hear what you think.
The files are tested against v1.53, but I doubt that there will be any
changes against the latest version that will prevent using v1.56
Pete.
----- Original Message -----
From: "Chris Pressey" <cpressey@REDACTED>
To: "Peter-Henry Mander" <erlang@REDACTED>
Sent: Friday, October 31, 2003 10:02 PM
Subject: Re: revised SciTE syntax lexer
> On Mon, 27 Oct 2003 15:56:20 +0000
> Peter-Henry Mander <erlang@REDACTED> wrote:
>
> > Hi SciTE+Erlang users,
> >
> > I've updated the SciTE Erlang syntax highlighter with a few bug
> > fixes. The most significant fixes are:-
> > folding the fun() -> ... end notation and _not_ folding the fun
> > funct_name/arity notation. parsing radix numbers correctly (with
> > radix error highlighting too :-)
> >
> > I've cleaned the lexer code too, so the number of
> > intermediary/unresolved states in erlang.properties file is reduced.
> >
> > If anyone (Chris Pressey? James Hague?) in here would like to
> > test-drive the fix, please let me know. If there's no objection to
> > me posting the .tar.bz2 file on the mailing list, I will do so.
> >
> > Pete.
>
> Sure, I'm interested.
>
> Also, FWIW: 'begin' is actually a keyword, and 'call' actually isn't.
> (Is it part of OTP? Is OTP stuff highlighted the same as keywords?)
>
> -Chris
>
--
"The Tao of Programming
flows far away
and returns
on the wind of morning."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SciteErlangLex-1.53.tar.gz
Type: application/x-gzip
Size: 31619 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20031103/1d0670ef/attachment.bin>
More information about the erlang-questions
mailing list