caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Pattern Matching Papers
@ 2005-07-13 18:12 Nicolas Cannasse
  2005-07-13 19:06 ` [Caml-list] " David MENTRE
  2005-07-20 16:13 ` Norman Ramsey
  0 siblings, 2 replies; 4+ messages in thread
From: Nicolas Cannasse @ 2005-07-13 18:12 UTC (permalink / raw)
  To: caml-list

Hi list,

I'm interested in implementing pattern matching in a ML-like language, and I
need some resources on the following topics :
- pattern matching completeness check
- pattern matching compilation
Papers, tutorials and source code are welcome.

Thanks,
Nicolas Cannasse


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

* Re: [Caml-list] Pattern Matching Papers
  2005-07-13 18:12 Pattern Matching Papers Nicolas Cannasse
@ 2005-07-13 19:06 ` David MENTRE
  2005-07-15  7:48   ` Luc Maranget
  2005-07-20 16:13 ` Norman Ramsey
  1 sibling, 1 reply; 4+ messages in thread
From: David MENTRE @ 2005-07-13 19:06 UTC (permalink / raw)
  To: Nicolas Cannasse; +Cc: caml-list

"Nicolas Cannasse" <warplayer@free.fr> writes:

> Papers, tutorials and source code are welcome.

You should take a look at Luc Maranget papers:
  http://moscova.inria.fr/%7Emaranget/pub.html

Yours,
d.
-- 
pub  1024D/A3AD7A2A 2004-10-03 David MENTRE <dmentre@linux-france.org>
 5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A


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

* Re: [Caml-list] Pattern Matching Papers
  2005-07-13 19:06 ` [Caml-list] " David MENTRE
@ 2005-07-15  7:48   ` Luc Maranget
  0 siblings, 0 replies; 4+ messages in thread
From: Luc Maranget @ 2005-07-15  7:48 UTC (permalink / raw)
  To: David MENTRE; +Cc: Nicolas Cannasse, caml-list


> You should take a look at Luc Maranget papers:
>   http://moscova.inria.fr/%7Emaranget/pub.html
> 
> Yours,
> d.
> -- 
> pub  1024D/A3AD7A2A 2004-10-03 David MENTRE <dmentre@linux-france.org>
>  5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A


Thank you for citing my papers!

I'd like to cite some other papers.

* On Backtracking Automata:

- Lennart Augustsson's article includes compiler code.

@inproceedings{5303,
 author = {Lennart Augustsson},
 title = {Compiling pattern matching},
 booktitle = {Proc. of a conference on Functional programming languages and computer architecture},
 year = {1985},
 isbn = {3-387-15975-4},
 pages = {368--381},
 location = {Nancy, France},
 publisher = {Springer-Verlag New York, Inc.},
 address = {New York, NY, USA},
 }

- Phil Wadler's chapter in Simon Peyton Jones book 'Implementation of
  Functional  languages' also provides compiler code.

- Another implementation of the same algorithm is described in Xavier Leroy's
  'Zinc Report'.
<http://pauillac.inria.fr/~xleroy/publi/ZINC.ps.gz>

* On decision trees (or tree automata)

- M. Pettersson's article, a stimulating approach of this other compilation
  algorithm (LNCS 641).

 @inproceedings{727270,
 author = {Mikael Pettersson},
 title = {A Term Pattern-Match Compiler Inspired by Finite Automata Theory},
 booktitle = {CC '92: Proceedings of the 4th International Conference on Compiler Construction},
 year = {1992},
 isbn = {3-540-55984-1},
 pages = {258--270},
 publisher = {Springer-Verlag},
 address = {London, UK},
 }


-- Luc


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

* Re: [Caml-list] Pattern Matching Papers
  2005-07-13 18:12 Pattern Matching Papers Nicolas Cannasse
  2005-07-13 19:06 ` [Caml-list] " David MENTRE
@ 2005-07-20 16:13 ` Norman Ramsey
  1 sibling, 0 replies; 4+ messages in thread
From: Norman Ramsey @ 2005-07-20 16:13 UTC (permalink / raw)
  To: Nicolas Cannasse; +Cc: caml-list

 > Hi list,
 > 
 > I'm interested in implementing pattern matching in a ML-like language, and I
 > need some resources on the following topics :
 > - pattern matching completeness check
 > - pattern matching compilation
 > Papers, tutorials and source code are welcome.

In addition to other papers mentioned on this list, there are two
unpublished papers that may have some value:

   Baudinet, Marianne and David MacQueen. 1985 (December). Tree pattern
   matching for ML (extended abstract). Unpublished manuscript, AT&T Bell
   Laboratories.

   Scott, Kevin and Norman Ramsey. 2000 (May). When do match-compilation
   heuristics matter? Technical Report CS-2000-13, Department of Computer
   Science, University of Virginia.

My paper with Kevin Scott has some tutorial stuff in it.  If you like,
I can try to dig out source code, but it's in SML and may not be so useful.



Norman


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

end of thread, other threads:[~2005-07-20 16:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-13 18:12 Pattern Matching Papers Nicolas Cannasse
2005-07-13 19:06 ` [Caml-list] " David MENTRE
2005-07-15  7:48   ` Luc Maranget
2005-07-20 16:13 ` Norman Ramsey

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