Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] nosy p4 question
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] nosy p4 question
Hi,

On Wed, Jan 23, 2002 at 12:00:44PM -0800, Ian Zimmerman wrote:

> Just how does camlp4 manage to change the toplevel input sytax?  The
> toplevel has no -pp option ..

To get the normal OCaml syntax + streams & parsers, type:
   #load "camlp4o.cma";;

To get the revised syntax, type:
   #load "camlp4r.cma";;

You can afterwards change syntax or add syntax extensions by loading the
corresponding cmo or cma file.

-- 
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
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