Re: ML-style pattern matching in C-like languages
- From: Friedrich Dominicus <just-for-news-frido@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: 15 Dec 2005 17:51:49 -0500
Russ Cox <rsc@xxxxxxxxx> 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
.
- References:
- ML-style pattern matching in C-like languages
- From: Russ Cox
- ML-style pattern matching in C-like languages
- Prev by Date: Re: detecting ambiguous grammars
- Next by Date: Re: ML-style pattern matching in C-like languages
- Previous by thread: ML-style pattern matching in C-like languages
- Next by thread: Re: ML-style pattern matching in C-like languages
- Index(es):