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 UAA27300; Sun, 9 Sep 2001 20:47:51 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 UAA27496 for ; Sun, 9 Sep 2001 20:47:50 +0200 (MET DST) Received: from localhost.localdomain (ppp235.dyn147.pacific.net.au [210.23.147.235]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f89IllP11599 for ; Sun, 9 Sep 2001 20:47:48 +0200 (MET DST) Received: from maxtal.com.au (IDENT:root@localhost [127.0.0.1]) by localhost.localdomain (8.9.3/8.8.7) with ESMTP id EAA11243; Mon, 10 Sep 2001 04:47:23 +1000 Message-ID: <3B9BB93B.82C41C4B@maxtal.com.au> Date: Mon, 10 Sep 2001 04:47:23 +1000 From: John Max Skaller X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: Will Benton CC: caml-list@inria.fr Subject: Re: [Caml-list] example toy compiler in OCAML? References: <3B9BABBD.A522AF44@cs.wisc.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Will Benton wrote: > Could anyone point me to code for an example toy/small compiler > (i.e. small enough to understand easily, preferably with ocamlllex and > ocamlyacc specifications instead of hardcoded lexing/parsing) > implemented in OCAML? http://felix.sourceforge.net is a Felix -> C++ translator written in Ocaml: I make no claim as to the quality of the code. However, it isn't a 'toy'. -- John (Max) Skaller, mailto:skaller@maxtal.com.au 10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850 New generation programming language Felix http://felix.sourceforge.net Literate Programming tool Interscript http://Interscript.sourceforge.net ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr