From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 7477AD45F for ; Wed, 2 Nov 2005 02:27:52 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id jA21Rq6X012785 for ; Wed, 2 Nov 2005 02:27:52 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id CAA10432 for ; Wed, 2 Nov 2005 02:27:50 +0100 (MET) Received: from smtp2.syd.swiftdsl.com.au ([218.214.225.98]) by concorde.inria.fr (8.13.0/8.13.0) with SMTP id jA21RlQ7012757 for ; Wed, 2 Nov 2005 02:27:49 +0100 Received: (qmail 7193 invoked from network); 2 Nov 2005 01:27:33 -0000 Received: from unknown (HELO coltrane.mega-nerd.net) (218.214.64.136) by smtp2.syd.swiftdsl.com.au with SMTP; 2 Nov 2005 01:27:33 -0000 Received: from coltrane (localhost [127.0.0.1]) by coltrane.mega-nerd.net (Postfix) with SMTP id E97EC7B66 for ; Wed, 2 Nov 2005 12:27:24 +1100 (EST) Date: Wed, 2 Nov 2005 12:27:24 +1100 From: Erik de Castro Lopo To: caml-list@inria.fr Subject: Examples using parser combinator in Pagoda CF library? Message-Id: <20051102122724.63a2a978.ocaml-erikd@mega-nerd.com> Organization: Erik Conspiracy Secret Labs X-Mailer: Sylpheed version 2.0.0 (GTK+ 2.6.10; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 43681618.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 43681613.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; parser:01 combinator:01 ocamlyacc:01 parser:01 combinators:01 wetware:01 jhw:01 religion:98 loving:98 temper:98 library:03 library:03 erik:04 erik:04 src:95 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 Hi all, I'm currently using ocamlex and ocamlyacc but have recently heard of parser combinators. Searching the net I found the Pagoda Core Foundation library which has this: http://www.wetware.com/jhw/src/pagoda/doc/cf/Cf_parser.html Its obviously nice to have documentation, but its also nice to have working examples. Anyone have any? Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ "And this is one of the central problems with Islam. It's a religion with something for everyone. If you wake up one morning in a good mood you can find all sorts of stuff that are peaceable, loving, kind. On the other hand, if you wake up in a foul temper then there's plenty of hateful stuff to help you vent your spleen. In reality, if you believe the Quoran is the word of god then you have to take both on board. You can't pick and choose." -- http://garymonro.blogsome.com/2005/08/11/