Inside F#

Brian's thoughts on F# and .NET

Monadic parser combinators, parts five and six – source code

Posted by Brian on December 9, 2007

Here is the source code for part five and part six.  (I had to just link externally to the source code, as it’s too big to post inside a blog entry.)

In addition to the parser code, there is also some utility code involving IEnumerable<T> that I haven’t discussed yet on the blog.  It enables you to "backtrack" through the input stream even if the input is a forward-only one-pass enumerable.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: