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

Naming between input, stream, source #114

Open
nicolas-zozol opened this issue Sep 13, 2018 · 0 comments
Open

Naming between input, stream, source #114

nicolas-zozol opened this issue Sep 13, 2018 · 0 comments

Comments

@nicolas-zozol
Copy link
Collaborator

nicolas-zozol commented Sep 13, 2018

By definition, a parser takes a text - or character stream - as input, and returns a structured object.

The stream will describe how the input is eaten by the parser. We should void the source word to avoid confusion.

In ParserStream, the parser is named as source which can lead to more confusion. In BufferedStream, the source is the lowerStream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant