caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Threats on future of Camlp4
@ 2002-10-06 18:55 Daniel de Rauglaudre
  2002-10-06 19:23 ` Chris Hecker
                   ` (2 more replies)
  0 siblings, 3 replies; 41+ messages in thread
From: Daniel de Rauglaudre @ 2002-10-06 18:55 UTC (permalink / raw)
  To: caml-list

Hi everybody,

I am very sorry to announce here that the attitude of the direction of
the caml team is seriously comprimizing the future of Camlp4. I would
like you to send messages to stop that. Thank you if you can help.

-- 
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
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


^ permalink raw reply	[flat|nested] 41+ messages in thread
* [Caml-list] Future of Camlp4
@ 2003-02-06 12:28 Daniel de Rauglaudre
  2003-02-06 12:55 ` Jérôme Marant
                   ` (3 more replies)
  0 siblings, 4 replies; 41+ messages in thread
From: Daniel de Rauglaudre @ 2003-02-06 12:28 UTC (permalink / raw)
  To: caml-list

Hi everybody,

I don't refuse to develop Camlp4, I would be happy to continue improving
it, fixing bugs and helping users. I just say that, for internal political
reasons, I want that Camlp4 is distributed separately from OCaml.

If this condition is accepted, you are going to have the better Camlp4
I can do, and all requests from users are welcome. If it is not, I
stop developping it and you are going to get a Camlp4 loosing its
qualities little by little, because nobody knows Camlp4 like me.

Therefore, if you want that Camlp4 be good and better, ask Michel
Mauny from the Cristal Project of INRIA, to accept the separation.
Camlp4 was developped separately the years before and everything
went well.

-- 
Daniel de RAUGLAUDRE
http://cristal.inria.fr/~ddr/
-------------------
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


^ permalink raw reply	[flat|nested] 41+ messages in thread
* Re: [Caml-list] Pattern matching and strings
@ 2002-10-04 15:14 Luc Maranget
  2002-10-04 19:38 ` Alessandro Baretta
  0 siblings, 1 reply; 41+ messages in thread
From: Luc Maranget @ 2002-10-04 15:14 UTC (permalink / raw)
  To: Andreas Rossberg; +Cc: Ocaml

> I have to do a little bit of pattern matching on strings. My
 > first instict was to write something like the following.
 >
 > let foo x = ...
 > let bar x = ...
 > ... = function
 > | "foo" ^ rest -> foo rest
 > | "bar" ^ rest -> bar rest
 > | _ -> raise Unrecognized


I have thought about that a little.

My first guess is that such matching should be distinct from
ordinary PM, mixing the two would be an implementor nightmare.

My second guess is that what you want is regexp matching + a construct
for binding subparts of the matched string (maybe I am wrong here).

Using ocamllex syntax for patterns (+ as) your exemple could be written

regexpmatch s with
| "foo" (_* as x)  -> foo x
| "bar" (_* as x)  -> bar x
| _*               -> raise Unrecognized


This would be much nicer than using various regexp packages API, the
real add-on being the variables in place of \1, \2 etc.

Of course this would work only in the case where all patterns are known
statically and implementation is not 100% trivial, if you want some
warnings and compile-time production of matching automata.
(ie if you do not rely on regexp package).

In fact such, an extension is probably feasible using camlp4 and this
would probably be the best solution, to avoid extra-complexity in the
compiler itself.


In the end, do not hold your breath. I won't probably do that.
But it can be a interesting project for a compiler course...

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


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

end of thread, other threads:[~2003-02-06 19:59 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-06 18:55 [Caml-list] Threats on future of Camlp4 Daniel de Rauglaudre
2002-10-06 19:23 ` Chris Hecker
2002-10-06 19:52   ` Daniel de Rauglaudre
2002-10-06 21:01   ` brogoff
2002-10-06 21:09     ` Daniel de Rauglaudre
2002-10-06 19:29 ` Oleg
2002-10-06 20:01   ` Daniel de Rauglaudre
2002-10-06 20:24     ` Alessandro Baretta
2002-10-06 20:24       ` Daniel de Rauglaudre
     [not found]         ` <200210062143.g96Lhix15834@orchestra.cs.caltech.edu>
2002-10-07  2:47           ` Daniel de Rauglaudre
2002-10-06 20:28     ` Dave Mason
2002-10-06 20:50       ` Daniel de Rauglaudre
2002-10-06 20:45     ` Oleg
2002-10-06 21:03       ` Daniel de Rauglaudre
2002-10-06 21:46         ` Florian Douetteau
2002-10-07  2:56           ` Daniel de Rauglaudre
2002-10-06 23:54     ` Markus Mottl
2002-10-07  9:06       ` Daniel de Rauglaudre
2002-10-11 11:34       ` Kontra, Gergely
2002-10-11 12:56         ` Alessandro Baretta
2002-10-11 13:15         ` [Caml-list] Future " Daniel de Rauglaudre
2002-10-12 21:45           ` Oleg
2002-10-13  9:02             ` Daniel de Rauglaudre
2002-10-11 16:36         ` [Caml-list] Syntax brogoff
2002-10-07  7:21 ` [Caml-list] Threats on future of Camlp4 Sven LUTHER
2002-10-07  8:52   ` Daniel de Rauglaudre
2002-10-07 11:25     ` Sven LUTHER
2002-10-07 11:30       ` Daniel de Rauglaudre
2002-10-07 11:55         ` Sven LUTHER
2002-10-08  7:57     ` Alessandro Baretta
     [not found]       ` <nhalm59cf0s.fsf@malabar.mitre.org>
2002-10-08 14:05         ` Alessandro Baretta
  -- strict thread matches above, loose matches on Subject: below --
2003-02-06 12:28 [Caml-list] Future " Daniel de Rauglaudre
2003-02-06 12:55 ` Jérôme Marant
2003-02-06 13:01 ` Sven Luther
2003-02-06 13:23   ` Daniel de Rauglaudre
2003-02-06 13:59 ` Mattias Waldau
2003-02-06 14:20 ` Xavier Leroy
2003-02-06 15:59   ` Sven Luther
2003-02-06 16:30     ` Xavier Leroy
2003-02-06 16:10   ` Georges Mariano
2002-10-04 15:14 [Caml-list] Pattern matching and strings Luc Maranget
2002-10-04 19:38 ` Alessandro Baretta
2002-10-05  6:34   ` [Caml-list] Camlp4 (Was: Pattern matching and strings) Daniel de Rauglaudre
2002-10-05 12:47     ` Sven LUTHER
2002-10-05 12:42       ` Daniel de Rauglaudre
2002-10-05 13:41         ` Michel Mauny
2002-10-05 13:47           ` Daniel de Rauglaudre
2002-10-05 14:09             ` Michel Mauny
2002-10-05 18:13               ` Alessandro Baretta
2002-10-05 20:30                 ` [Caml-list] Future of Camlp4 Daniel de Rauglaudre

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