Commit graph

5 commits

Author SHA1 Message Date
Nick Alexander
f7fb22ae7e Review comment: Extract and use def_matches_* macros. 2017-04-03 13:15:21 -07:00
Nick Alexander
0165a842ef Review comment: Make or be or_exactly.
I baked the eof checking directly into the parser, rather than using
the skip and eof parsers.  I also took the time to restore some tests
that were mistakenly commented out.
2017-04-03 13:15:21 -07:00
Nick Alexander
f8e75d817e Review comment: nits. 2017-04-03 13:15:21 -07:00
Nick Alexander
dcc05c643c Part 1b: Add keyword_map() parsing an edn::Value::Vector into an edn::Value::map. 2017-04-03 09:15:36 -07:00
Nick Alexander
8754cf224b Part 1a: Add value_and_span for parsing nested edn::ValueAndSpan instances.
I wasn't able to abstract over `edn::Value` and `edn::ValueAndSpan`;
there are multiple obstacles.  I chose to roll with
`edn::ValueAndSpan` since it exposes the additional span information
that we will want to form good error messages in the future.
2017-04-03 09:15:36 -07:00