Commit graph

5 commits

Author SHA1 Message Date
c6696c4f8b [parser] Handle dotted pairs! 2018-09-08 16:06:23 -07:00
c14c939ad3 [parser] ListParser can handle lists of more than 2 elements 😮
As ListParser sees items within its list, it assembles a vector of Pairs. When
the parser encounters ')', it assembles the pairs into an actual linked list and
returns the root Pair.

This work also revealed that I was asserting incorrectly in my single_pair test.
It should return Null instead of an empty Pair. Neat.

Closes #17.
2018-08-26 22:24:17 -07:00
ae63ce8e20 [parser] Add a test for parsing bools
Related to #13
2018-08-26 17:48:22 -07:00
cf503838ae [parser] Add a single pair test 2018-08-25 20:21:18 -07:00
d312c41dc7 [parser] Integration test of parsing a single Sym! 2018-08-25 11:46:42 -07:00