chomp
chomp copied to clipboard
Reorganize types
trafficstars
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(Parserin the case of2.0) -
chomp::Buffer<- RenameShould be renamed, conflicts with
chomp::bufferas well aschomp::buffer::Bufferand is more like a window into the token-stream, it is not guaranteed to be a buffer or slice. MaybeWindow?