chomp icon indicating copy to clipboard operation
chomp copied to clipboard

Reorganize types

Open m4rw3r opened this issue 9 years ago • 0 comments
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 (Parser in the case of 2.0)

  • chomp::Buffer <- Rename

    Should be renamed, conflicts with chomp::buffer as well as chomp::buffer::Buffer and is more like a window into the token-stream, it is not guaranteed to be a buffer or slice. Maybe Window?

m4rw3r avatar Sep 22 '16 14:09 m4rw3r