From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id FAA17921; Thu, 25 Jul 2002 05:06:11 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id FAA17937 for ; Thu, 25 Jul 2002 05:06:10 +0200 (MET DST) Received: from fort-point-station.mit.edu (FORT-POINT-STATION.MIT.EDU [18.7.7.76]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g6P369X18142 for ; Thu, 25 Jul 2002 05:06:09 +0200 (MET DST) Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.7.72]) by fort-point-station.mit.edu (8.9.2/8.9.2) with ESMTP id XAA10764 for ; Wed, 24 Jul 2002 23:06:08 -0400 (EDT) Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86]) by central-city-carrier-station.mit.edu (8.9.2/8.9.2) with ESMTP id XAA08129 for ; Wed, 24 Jul 2002 23:06:07 -0400 (EDT) Received: from [10.0.1.4] ([18.194.0.193]) by melbourne-city-street.mit.edu (8.9.2/8.9.2) with ESMTP id XAA00436 for ; Wed, 24 Jul 2002 23:06:07 -0400 (EDT) Subject: [Caml-list] yet another xml parser From: Mike Lin To: caml-list@inria.fr Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 24 Jul 2002 22:48:27 -0400 Message-Id: <1027565308.1437.89.camel@mikelin> Mime-Version: 1.0 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk hello! none of the ocaml xml parsers out there quite served my needs, so i wrote my own. for anyone who's interested, i put up a page about it. http://mikelin.mit.edu/yaxpo/ the most interesting thing about the parser is that it is all hand written in explicit continuation-passing style (CPS) instead of using recursion or iteration. this allows one to do some amusing things in clever ways; for example, it is possible to "pause" parsing, returning control to the caller, and then pick up where it left off at some later time. i am using the parser in conjunction with another project i'm working on. it's still quite preliminary, but i'm using it already to do some 'real' stuff, so i hope it can eventually be useful standalone. mike ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners