 <p>Luca Bolognese has written a great series of <em><a href="http://lucabolognese.wordpress.com/2011/06/30/write-yourself-a-scheme-in-48-hours-in-f-part-i/">Write Yourself a Scheme in 48 Hours in F#</a></em> where he used FParsec for parsing. The full source code with detailed test cases are online <a href="http://code.msdn.microsoft.com/windowsdesktop/Write-Yourself-a-Scheme-in-d50ae449/sourcecode?fileId=24192&amp;pathId=495493601">here</a>. </p> <p>The most relevant post is <a href="http://lucabolognese.wordpress.com/2011/08/05/write-yourself-a-scheme-in-48-hours-in-f-part-vi/">6th one</a> where he talked about parsing a simple Lisp-like language. This language is closer to JavaScript than to C just so you know.</p> <p>Current series on his blog is <em><a href="http://lucabolognese.wordpress.com/2011/08/19/adventure-in-parserland-parsing-lambda-expressions-in-f-part-i/">parsing lambda expressions in F#</a></em> (using FParsec) which could be helpful for you too.</p>