Skip to content

RFE: Create Observer/Callback layer. Make ucpp more convenient to use as a library. #1

Description

@GoogleCodeExporter
Using a preprocessor as a library typically involves not only to translate
input into output, but also to provide callback hooks, such as to report
macro definitions, macro evaluations (during macro call expansion),
processing include directives, etc.

In addition, it would be good to allow users to provide output-generating
functions so output can be streamed not into a file, but into any
user-provided callback. It would be particularly helpful for this if such
calls wouldn't be fed characters, but entire tokens.

If any of this sounds useful, I would be glad to provide more detailed
use-cases, or even patches.

Thanks,
           Stefan

Original issue reported on code.google.com by stefan.s...@gmail.com on 27 Feb 2009 at 8:11

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions