From: luc.maranget@inria.fr (Luc Maranget)
To: Diego Olivier Fernandez Pons <Diego.FERNANDEZ_PONS@etu.upmc.fr>
Cc: skaller <skaller@users.sourceforge.net>, caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Need NFA/DFA conversion help
Date: Thu, 16 Sep 2004 14:07:24 +0200 [thread overview]
Message-ID: <20040916120724.GB16633@yquem.inria.fr> (raw)
In-Reply-To: <Pine.A41.4.44.0409161246300.602286-100000@ibm1>
> > What doesn't work is sub-group matching, look ahead, etc -- things
> > requiring actions in the middle of a regexp (rather than at the
> > end).
>
> Here is the second problem. You did exactly what was expected (taking
> a textbook on formal languages and implement what is said). The
> problem is that tools like PCRE, Lex, Yacc, etc. do not work as
> textbook say. They do not accept rational or context-free languages,
> they do not use DFA, NFA or LR(k) automata as claimed.
>
Perhaps I should make my previous post (on the theoretic side of ocamllex)
a bit more precise.
The cited articles relate to << sub-group matching >> in DFA implementation
of regexp matching.
The proposed technique is an extension of the Dragon-Book technique
(Glukov ?)
--Luc
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next prev parent reply other threads:[~2004-09-16 12:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-15 15:05 skaller
2004-09-15 15:41 ` Luc Maranget
2004-09-15 19:15 ` Alain Frisch
2004-09-15 17:50 ` Jason Hickey
2004-09-15 20:50 ` Jason Hickey
2004-09-15 23:35 ` skaller
2004-09-16 11:50 ` Diego Olivier Fernandez Pons
2004-09-16 12:07 ` Luc Maranget [this message]
2004-09-16 12:37 ` james woodyatt
2004-09-16 13:29 ` skaller
2004-09-16 12:57 ` skaller
2004-09-16 13:04 ` Diego Olivier Fernandez Pons
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=20040916120724.GB16633@yquem.inria.fr \
--to=luc.maranget@inria.fr \
--cc=Diego.FERNANDEZ_PONS@etu.upmc.fr \
--cc=caml-list@inria.fr \
--cc=skaller@users.sourceforge.net \
/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