Replies: 6 comments 13 replies
-
For larger |
Beta Was this translation helpful? Give feedback.
-
See also |
Beta Was this translation helpful? Give feedback.
-
Error recovery. While not required for this case, highly correlated that they'll be done together. See #96 |
Beta Was this translation helpful? Give feedback.
-
Ease of See also https://www.reddit.com/r/rust/comments/1fa0h2c/thinking_on_switching_from_nom_to_lalrpop/llq526r/ |
Beta Was this translation helpful? Give feedback.
-
CC @adamchalmers are you doing separate lexing and parsing? |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to unify some of the traits? Specifcly it would be VERY nice if there was 1 big trait u had to implement which gave you virtually all the features of the libarary. Sure it would be a pain to do. But you won't have ambiguity when there are 2 implementations of similar things (like InputTake and PositionInput) and you would not know that all features are avilble for your. This is especially nice if you can hardcode a deafualt error type into that trait. So when u use a parser that has an ambitious error the deafualt trait for that input would be used. I also suspect this will make implementation on the side of libarary maintainers easier since there is less time spend on trying to figure out which traits are needed for functionality. |
Beta Was this translation helpful? Give feedback.
-
winnow
works well for parsing text, but what about lexed tokens? How can we improve this?Beta Was this translation helpful? Give feedback.
All reactions