stchang / parsack

A basic Parsec-like monadic parser combinator library implementation in Racket.
MIT License
50 stars 10 forks source link

Scheme parser #28

Closed neomantic-zz closed 10 years ago

neomantic-zz commented 10 years ago

As promised, I'm submitted a PR for a basic scheme parser for a r5rs-like scheme. It does not support the full numerical tower.

It could probably stand some code review before the merge.

Additionally, it has 77 tests, but 1 failure. The pesky quotation mark test (see below) So advice on fixing this would be greatly appreciated.

screenshot from 2014-01-04 09 40 46

stchang commented 10 years ago

Thanks!

stchang commented 10 years ago

The triple-quote test parses successfully because the first two quotes parses as the empty string. I modified the test to check that the third quote is left over after the parse.