-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
A generic input stream parser should be created that replaces both the PDF and WKT parsers.
It should be able to be passed a token tree of some sort and output an object which represents it.
Things it should support
- Blocks (ex. PDF objects, streams, arrays, parameter arrays): Start and stop indicators, potential for nesting - has content
- Key value pairs (ex. PDF parameters): Key and associated value
- Skipped content (ex. ability to ignore streams)
Either the parser will have this functionality, or it will be abstract and the concrete implementations will just be notified of the block / key value pairs and do its own parsing. I'm leaning toward the second one.
https://stackoverflow.com/questions/15895124/what-is-push-approach-and-pull-approach-to-parsing
Metadata
Metadata
Assignees
Labels
No labels