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 TAA26619; Sun, 9 Sep 2001 19:49:53 +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 TAA26674 for ; Sun, 9 Sep 2001 19:49:52 +0200 (MET DST) Received: from chruser.svc.tds.net (chruser.svc.tds.net [204.246.1.38]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f89HnpP10944 for ; Sun, 9 Sep 2001 19:49:51 +0200 (MET DST) Received: from cs.wisc.edu ([216.170.128.65]) by chruser.svc.tds.net with ESMTP id <20010909174950.SYPA843.chruser@cs.wisc.edu>; Sun, 9 Sep 2001 12:49:50 -0500 Message-ID: <3B9BABBD.A522AF44@cs.wisc.edu> Date: Sun, 09 Sep 2001 12:49:49 -0500 From: Will Benton X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: caml-list@inria.fr Subject: [Caml-list] example toy compiler in OCAML? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I am interested in implementing a compiler (for a toy language of my own design) in ML, mostly to get more comfortable with ML, but also because I want a faster compiler than the one I have, which is written in Java. 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? Thanks, wb ------------------- 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