comp.lang.ada
 help / color / mirror / Atom feed
* Is it really Ok to assert that the Ada syntax is a context-free grammar ?
@ 2008-02-20  0:47 Hibou57
  2008-02-20  2:06 ` Jeffrey R. Carter
                   ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: Hibou57 @ 2008-02-20  0:47 UTC (permalink / raw)


Hi peoples living here :p

I got a doubt about [ARM 1.1.4-1]
> The form of an Ada program is described by means of a context-free syntax together with context-dependent requirements expressed by narrative rules.

But as pointed by someone, the grammar is not LR(1), due to the fact
(which is common to many other languages), that as an exemple X(Y) can
stand for a type cast, a function call, an array access, or even an
array slice, and this cannot be decided without knowlegde of the
context.

Am I wrong or is there really a so big mistake in the ARM ?

Please, tell me :( I want to know

Yannick




^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2008-02-25 21:47 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-20  0:47 Is it really Ok to assert that the Ada syntax is a context-free grammar ? Hibou57
2008-02-20  2:06 ` Jeffrey R. Carter
2008-02-20 10:05   ` Martin Krischik
2008-02-20 10:34     ` Ludovic Brenta
2008-02-20 11:13       ` Dmitry A. Kazakov
2008-02-22  8:57         ` Stephen Leake
2008-02-22 10:44           ` Dmitry A. Kazakov
2008-02-20 14:22       ` Hibou57
2008-02-20 15:19         ` Niklas Holsti
2008-02-20 18:34           ` Hibou57 (Yannick Duchêne)
2008-02-20 19:10             ` Hibou57 (Yannick Duchêne)
2008-02-21  0:39               ` Randy Brukardt
2008-02-21  0:56                 ` Hibou57 (Yannick Duchêne)
2008-02-21 22:19                   ` Randy Brukardt
2008-02-21 22:19                   ` Randy Brukardt
2008-02-21 23:54                     ` Hibou57 (Yannick Duchêne)
2008-02-22 19:51                       ` Randy Brukardt
2008-02-23 18:13                         ` Hibou57 (Yannick Duchêne)
2008-02-20 20:22             ` Niklas Holsti
2008-02-20 21:38             ` Manuel Collado
2008-02-21  0:30               ` Hibou57 (Yannick Duchêne)
2008-02-20 20:51         ` Robert A Duff
2008-02-21 19:24       ` Martin Krischik
2008-02-22 20:17         ` Simon Wright
2008-02-25 21:47           ` Samuel Tardieu
2008-02-23 19:02         ` Maciej Sobczak
2008-02-20 18:27     ` Jeffrey R. Carter
2008-02-21 19:20       ` Martin Krischik
2008-02-21 21:31         ` Jeffrey R. Carter
2008-02-20  5:53 ` Niklas Holsti
2008-02-20 16:43 ` Adam Beneschan

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