Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

polymorphic input - aka lexing #24

Open
ylixir opened this issue Feb 4, 2019 · 1 comment
Open

polymorphic input - aka lexing #24

ylixir opened this issue Feb 4, 2019 · 1 comment
Labels
enhancement New feature or request question Further information is requested
Milestone

Comments

@ylixir
Copy link
Owner

ylixir commented Feb 4, 2019

we should allow more than just strings as input.

this will allow stratifying our parsing. so we could make one parser that lexes a string, and then a second parser that parses the tokens from the lexer into an ast

maybe even go farther and implement micropass compilers etc.

@ylixir ylixir added this to the v0.6.0 milestone Feb 4, 2019
@ylixir ylixir added enhancement New feature or request question Further information is requested labels Feb 4, 2019
@ylixir ylixir changed the title polymorphic input polymorphic input - aka lexing Feb 10, 2019
@ylixir
Copy link
Owner Author

ylixir commented Feb 11, 2019

perhaps we could add "streaminterface" iterators that implement pop and lit. then the parser combinators could be bootstrapped with the stream primitives.

@ylixir ylixir modified the milestones: v0.6.0, v0.7.0 Feb 18, 2019
@ylixir ylixir modified the milestones: v0.7.0, v0.8.0 Mar 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant