caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Re : Caml-list Digest, Vol 41, Issue 26
       [not found] <20081115110003.AD426BBB7@yquem.inria.fr>
@ 2008-11-15 12:12 ` iguern-a
  0 siblings, 0 replies; only message in thread
From: iguern-a @ 2008-11-15 12:12 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 771 bytes --]

> - GLR instead of LR(1) : this gives much more elegant description of the 
> grammar (and the possibiliy of ambigous grammar) and there
> is never a conflict. These are replaced by multiple parse trees (you can 
> choose a merge function that will report that as an error, if you think
> your grammar should not be ambiguous).

Great ! In Ocamlwizard, we've patched an ocaml parser (3.10.2) which recovers
on errors located at the end of \ffile (using the EOF token). We've also consider using the error token but it's more difficult (because of ambiguities). 

Since dypgen generates multiple parse trees, It could be easier to implement this feature. I hope I'll have time to try it.

Regards.
Mohamed Iguernelala
http://ocamlwizard.lri.fr/




      

[-- Attachment #2: Type: text/html, Size: 976 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-15 12:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20081115110003.AD426BBB7@yquem.inria.fr>
2008-11-15 12:12 ` Re : Caml-list Digest, Vol 41, Issue 26 iguern-a

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).