Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: Ian Zimmerman <itz@s...>
Subject: Re: [Caml-list] nosy p4 question

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.
Bug reports:  FAQ:
To unsubscribe, mail  Archives: