comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: OpenToken: Parsing Ada (subset)?
Date: Wed, 17 Jun 2015 12:44:17 -0500
Date: 2015-06-17T12:44:17-05:00	[thread overview]
Message-ID: <85lhfi8c26.fsf@stephe-leake.org> (raw)
In-Reply-To: mlpfds$el7$1@dont-email.me

"G.B." <bauhaus@futureapps.invalid> writes:

> On 16.06.15 16:46, Stephen Leake wrote:
>> Using the regular expression "'[^']'|''''" for CHARACTER_LITERAL
>
> ISO/IEC 10646 question: Is [^'] matching a single wide character?

I don't think this is an ISO question; the Emacs regexp engine does not
claim to match an ISO regexp spec (at least, not that I'm aware of).

In practice, this does work for non-ASCII characters in Emacs, so the
answer is "yes" for Emacs.

I haven't tested this with Aflex yet; I don't think Aflex will work with
non-ASCII text (one of the reasons I'm not planning to use it with
Emacs).

I suspect it would require a major rewrite to get Aflex to work with
UTF-8 or some other non-ASCII representation.

-- 
-- Stephe

  reply	other threads:[~2015-06-17 17:44 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-01 13:08 OpenToken: Parsing Ada (subset)? Jacob Sparre Andersen
2015-06-02 22:12 ` Stephen Leake
2015-06-03  1:43   ` Shark8
2015-06-03  7:36     ` Dmitry A. Kazakov
2015-06-05  9:03       ` Stephen Leake
2015-06-05  9:23         ` Georg Bauhaus
2015-06-05 20:49           ` Shark8
2015-06-05 23:52             ` Dennis Lee Bieber
2015-06-05 12:20         ` Dmitry A. Kazakov
2015-06-16 12:43           ` Stephen Leake
2015-06-16 13:24             ` Dmitry A. Kazakov
2015-06-16 14:13               ` G.B.
2015-06-17 17:38                 ` Stephen Leake
2015-06-17 17:29               ` Stephen Leake
2015-06-17 17:42                 ` Shark8
2015-06-17 19:03                 ` Dmitry A. Kazakov
2015-06-05 20:53         ` Shark8
2015-06-16 14:46           ` Stephen Leake
2015-06-16 15:31             ` G.B.
2015-06-17 17:44               ` Stephen Leake [this message]
2015-06-16 21:34             ` Randy Brukardt
2015-06-17 17:58               ` Stephen Leake
2015-06-17 20:44                 ` Randy Brukardt
2015-06-18  7:51                 ` AdaMagica
2015-06-18  9:12                 ` Georg Bauhaus
2015-06-17 17:50 ` AdaMagica
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox