Re: ML-style pattern matching in C-like languages

Friedrich Dominicus <just-for-news-frido@q-software-solutions.de>
15 Dec 2005 17:51:49 -0500

          From comp.compilers

Related articles
ML-style pattern matching in C-like languages rsc@swtch.com (Russ Cox) (2005-12-15)
Re: ML-style pattern matching in C-like languages just-for-news-frido@q-software-solutions.de (Friedrich Dominicus) (2005-12-15)
Re: ML-style pattern matching in C-like languages gtg983q@mail.gatech.edu (Ben Chambers) (2005-12-15)
Re: ML-style pattern matching in C-like languages torbenm@app-2.diku.dk (2005-12-15)
Re: ML-style pattern matching in C-like languages RLake@oxfam.org.uk (2005-12-15)
Re: ML-style pattern matching in C-like languages rvclayton@acm.org (2005-12-15)
Re: ML-style pattern matching in C-like languages haberg@math.su.se (2005-12-19)
Re: ML-style pattern matching in C-like languages Juergen.Kahrs@vr-web.de (=?ISO-8859-1?Q?J=FCrgen_Kahrs?=) (2005-12-19)
[3 later articles]
| List of all articles for this month |

From: Friedrich Dominicus <just-for-news-frido@q-software-solutions.de>
Newsgroups: comp.compilers
Date: 15 Dec 2005 17:51:49 -0500
Organization: Q Software Solutions GmbH
References: 05-12-036
Keywords: C, design

Russ Cox <rsc@swtch.com> writes:


> I am working on a C compiler written in a malleable dialect of C and
> have no qualms about adding new syntax to the language to make
> writing the compiler easier. I am toying with the idea of adding
> some form of pattern-matching syntax but am not sure exactly what it
> should look like. If these are previously-charted waters, I figured
> I'd look around for maps.


How about looking at cyclone?


http://www.eecs.harvard.edu/~greg/cyclone/


Pattern matching as imlemented in it can be found here:
http://www.research.att.com/projects/cyclone/online-manual/main-screen005.html




Regards
Friedrich



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.