English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] example toy compiler in OCAML?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-09-09 (17:49)
From: Will Benton <willb@c...>
Subject: [Caml-list] example toy compiler in OCAML?

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?

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