Version française
Home     About     Download     Resources     Contact us    
Browse thread
Camlp4 generate more than one (compiled) files?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Conglun Yao <yaoconglun@g...>
Subject: Camlp4 generate more than one (compiled) files?
Dear all,

I'm just wondering is it possible to use camlp4 to generate more than
one compiled files.
Normally, camlp4 preprocesses a file and then pass it directly to
compiler (for *.cmo),  or its pretty-printer (for *.ml or other
'plain' file).

In my case, I want to extend the syntax, and write a file, then
preprocess (camlp4) it to generate two different *.cmo files, each one
could be executed separately.

Is it possible?

Thanks,
Conglun