Reorganize types
Opened this issue · 0 comments
m4rw3r commented
Currently Chomp's module-tree is a bit deep for what it does. Would be more ergonomic with a flatter tree.
The most common types should be in the crate root:
-
chomp::Input
-
chomp::ParseResult
(Parser
in the case of2.0
) -
chomp::Buffer
<- RenameShould be renamed, conflicts with
chomp::buffer
as well aschomp::buffer::Buffer
and is more like a window into the token-stream, it is not guaranteed to be a buffer or slice. MaybeWindow
?