comp.lang.ada
 help / color / mirror / Atom feed
From: Vincent DIEMUNSCH <vincent.diemunsch@gmail.com>
Subject: Re: ANTLR grammar for Ada available
Date: Mon, 31 Dec 2018 04:32:48 -0800 (PST)
Date: 2018-12-31T04:32:48-08:00	[thread overview]
Message-ID: <3d2749b5-dea5-47b3-9521-688f4f846e0d@googlegroups.com> (raw)
In-Reply-To: <dabb58f2-594e-4e2b-82cb-e7b20178821b@googlegroups.com>

Le lundi 31 décembre 2018 06:38:20 UTC+1, alby....@gmail.com a écrit :
> Hi Vincent
> 
> I would be very interested in your reasoning in saying that ANTLR v4 is more
> complex than V3. In my experience v4 capabilities in auto generating a AST and
> being able to visit/listen to specific nodes in the AST far surpasses the V3
> capabilities and make it easier to parse Ada Syntactically at a rudimentary level.

Hi Alex,

You are certainly right about the quality of the generated AST, superior in V4. My point was simply that, from a pure parser perspective, the ability of backtracking and memorizing previous attempts, as it is done in V4, although more powerful, is not necessary for parsing the Ada language. Hence it seemed to me perfectly reasonable to stay in V3 for Ada, if the runtime support already exists.

But if the advantage of a better AST is really big, then developing an Ada runtime for ANTLR V4 may be the best choice :-).

Regards,

Vincent

  parent reply	other threads:[~2018-12-31 12:32 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-02 19:28 ANTLR grammar for Ada available Oliver Kellogg
2003-03-03 10:35 ` Oliver Kellogg
2003-03-23 22:21 ` Oliver Kellogg
2003-03-24  1:32   ` John R. Strohm
2018-12-28  9:32 ` olivermkellogg
2018-12-28 13:38   ` Vincent DIEMUNSCH
2018-12-28 14:50     ` olivermkellogg
2018-12-31  5:38     ` alby.gamper
2018-12-31  7:02       ` alby.gamper
2018-12-31  8:08         ` Paul Rubin
2018-12-31 10:08           ` alby.gamper
2018-12-31 10:22             ` Paul Rubin
2018-12-31 10:42               ` alby.gamper
2019-01-01 22:20             ` olivermkellogg
2019-01-02  8:07               ` alby.gamper
2019-01-02  8:32                 ` alby.gamper
2019-01-03 10:55               ` alby.gamper
2019-01-17 21:13                 ` olivermkellogg
2019-01-18 10:19                   ` alby.gamper
2019-01-01  4:29         ` Shark8
2019-01-01  6:58           ` Lucretia
2019-01-02  8:13             ` alby.gamper
2018-12-31 12:32       ` Vincent DIEMUNSCH [this message]
2018-12-31 17:05         ` olivermkellogg
2018-12-31 17:31           ` Lucretia
2019-01-01 19:30   ` Stephen Leake
replies disabled

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