Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] ANNOUNCE: mod_caml 1.0.6 - includes security patch
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Luc Maranget <luc.maranget@i...>
Subject: Re: [Caml-list] ANNOUNCE: mod_caml 1.0.6 - includes security patch
> On Fri, 16 Jan 2004, Richard Jones wrote:
> 
> > Being able to write:
> > 
> > var ~ /ab+/
> > 
> > and similar certainly makes string handling and simple parsing a lot
> > easier.
> > 
> 
> That (or something close to that) could be done via a library.  What I'd 
> like to see is to be able to pattern match on regexs, like:
> 
> match str with
> 	| /ab+/ -> ...
> 	| /foo(bar)*/ -> ...
> 
> etc.  The compiler could then combine all the matchings into a single DFA, 
> improving performance over code like:
> 
Hello,

I am not exactly sure I understand your needs. But you should probably have a
look at ocamllex.


-- 
Luc Maranget

-------------------
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