Browse thread
camlp4 char stream
- Christophe Raffalli
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Christophe Raffalli <christophe.raffalli@u...> |
| Subject: | camlp4 char stream |
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.