[wg-camlp4] Fwd: [Caml-list] View patterns

Anil Madhavapeddy anil at recoil.org
Mon Feb 4 19:20:41 GMT 2013


Begin forwarded message:

> From: "Jon Harrop" <jon at ffconsultancy.com>
> Date: 4 February 2013 18:59:32 GMT
> To: "Caml List" <caml-list at inria.fr>
> Subject: [Caml-list] View patterns
> 
> 
> FWIW, two of the most common camlp4 parsers in the wild, stream parsers and
> bitstring, are solved in F# using view patterns. I suspect many other
> applications of camlp4 would be written in terms of view patterns. Moreover,
> it strikes me that consideration so far on things like F#-like attributes is
> an orthogonal issue so perhaps support for that and support for view
> patterns would do a much better job of displacing camlp4.
> 
> I use view patterns to write parsers in F# but I would prefer a camlp4-like
> technology to write parsers in-line.
> 
> -- 
> Dr Jon Harrop, Flying Frog Consultancy Ltd.
> http://www.ffconsultancy.com
> 
> 
> -- 
> Caml-list mailing list.  Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/wg-camlp4/attachments/20130204/ebcd0db3/attachment.html>


More information about the wg-camlp4 mailing list