caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Xavier Leroy <xavier@Theory.Stanford.EDU>
To: Michel.Mauny@inria.fr
Cc: cr@dcs.ed.ac.uk, caml-list@margaux
Subject: Re: Stream pattern matching
Date: Wed, 17 Mar 1993 12:26:06 -0800 (PST)	[thread overview]
Message-ID: <9303172026.AA20250@Tamuz.Stanford.EDU> (raw)
In-Reply-To: <9303171347.AA17396@pauillac.inria.fr> from "Michel Mauny" at Mar 17, 93 02:47:49 pm

En plus de corriger l'orthographe de la ligne "Subject", je voudrais
juste faire remarquer que la factorisation gauche automatique des
analyseurs n'est non seulement pas vraiment souhaitable, mais encore
infaisable dans toute sa generalite a cause des effets de bords:

        let f = function [< p x; 'Terminal "foo" >] -> ...
                       | [< p x; 'Terminal "bar" >] -> ...

n'est pas factorisable, car rien ne vous dit que "p" va se comporter
de la meme maniere lorsqu'il est appele deux fois sur le meme flux.
Telle est la puissance et la gloire des langages algorithmiques, mes
freres. La factorisation gauche automatique ne serait possible que
pour des motifs commencant par des terminaux, ce qui n'est pas tres
interessant.

- Xavier





      parent reply	other threads:[~1993-03-18  9:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9303171031.AA15612@pauillac.inria.fr>
1993-03-17 11:31 ` Stream patterne matching cr
1993-03-17 13:47   ` Michel Mauny
1993-03-17 18:06     ` murthy
1993-03-17 20:26     ` Xavier Leroy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9303172026.AA20250@Tamuz.Stanford.EDU \
    --to=xavier@theory.stanford.edu \
    --cc=Michel.Mauny@inria.fr \
    --cc=caml-list@margaux \
    --cc=cr@dcs.ed.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).