Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support more general reader #36

Open
awvwgk opened this issue Feb 26, 2022 · 0 comments
Open

Support more general reader #36

awvwgk opened this issue Feb 26, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@awvwgk
Copy link
Member

awvwgk commented Feb 26, 2022

Currently reading an input file requires providing a formatted unit. However, non of the readers does directly read from the unit, rather they fetch a new line, tokenize and parse it. A general reader which can provide a line from any input source (formatted unit, unformatted stream, string, ...) would provide more flexibility.

The possibility to read from a file or formatted unit via the generic interface should be retained (preferably under the same symbol), however they would generate a temporary reader internally and pass it to the actual reader implementation.

@awvwgk awvwgk added the enhancement New feature or request label Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant