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 VAA22890; Wed, 23 Jan 2002 21:36:27 +0100 (MET) 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 VAA26291 for ; Wed, 23 Jan 2002 21:36:26 +0100 (MET) Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g0NKaPT07269 for ; Wed, 23 Jan 2002 21:36:26 +0100 (MET) Received: (qmail 4041 invoked from network); 23 Jan 2002 20:36:23 -0000 Received: from unknown (HELO kronstadt) ([64.81.49.223]) (envelope-sender ) by mail5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 23 Jan 2002 20:36:23 -0000 Received: from itz by kronstadt with local (Exim 3.33 #1 (Debian)) id 16TU87-0000O0-00 for ; Wed, 23 Jan 2002 12:36:23 -0800 To: caml-list@inria.fr (OCAML) Subject: Re: [Caml-list] nosy p4 question References: <861yggx2fn.fsf@speakeasy.org> <20020123212105.A18949@verdot.inria.fr> From: Ian Zimmerman Date: 23 Jan 2002 12:36:23 -0800 In-Reply-To: <20020123212105.A18949@verdot.inria.fr> Message-ID: <86wuy8vm7s.fsf@speakeasy.org> User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk itz> Just how does camlp4 manage to change the toplevel input sytax? itz> The toplevel has no -pp option .. Daniel> To get the normal OCaml syntax + streams & parsers, type: Daniel> #load "camlp4o.cma";; Daniel> To get the revised syntax, type: #load "camlp4r.cma";; Daniel> You can afterwards change syntax or add syntax extensions by Daniel> loading the corresponding cmo or cma file. Yes, thanks, but I already know that :-) My question was, _how_ you do it - that's why I labelled it "nosy" Best regards, -- Ian Zimmerman, Oakland, California, U.S.A. GPG: 433BA087 9C0F 194F 203A 63F7 B1B8 6E5A 8CA3 27DB 433B A087 In his own soul a man bears the source from which he draws all his sorrows and his joys. Sophocles. ------------------- 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