caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* camlp4 char stream
@ 2005-09-11 20:19 Christophe Raffalli
  2005-09-11 21:51 ` [Caml-list] " Martin Jambon
  0 siblings, 1 reply; 6+ messages in thread
From: Christophe Raffalli @ 2005-09-11 20:19 UTC (permalink / raw)
  To: caml-list


I would like to know how I can access directly the input char stream in 
camlp4

i want a

c-code { ... }

producing an empty str_item, but consuming the c-code in the { ... "} 
and outputing it in a separate file. An easy way is to access directly 
the char stream, but I do not find it (actually, looking at the source 
it is not stored in an accessible variable.

Someonce see a solution, other that parsing a string ?

[ [ c_code STRING -> ... ] ] would be easy, but is not very satisfactory.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-09-12 22:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-11 20:19 camlp4 char stream Christophe Raffalli
2005-09-11 21:51 ` [Caml-list] " Martin Jambon
2005-09-12  5:39   ` Christophe Raffalli
2005-09-12  6:40     ` Martin Jambon
2005-09-12 13:27     ` Olivier Andrieu
2005-09-12 22:31     ` Pietro Abate

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).