Currently the parser module contains the code for all of our nom-based parsers. Because these parsers produce types which already exist in our codebase, it would make sense to move these parsers from the parser module to parse methods in the implementations of these types themselves.
Perhaps they could even by unified behind a Parsable trait.
Currently the parser module contains the code for all of our nom-based parsers. Because these parsers produce types which already exist in our codebase, it would make sense to move these parsers from the
parser
module toparse
methods in the implementations of these types themselves.Perhaps they could even by unified behind a
Parsable
trait.