<div class="gmail_quote">On 31 December 2010 21:26, Aaron Gray <span dir="ltr">&lt;<a href="mailto:aaronngray.lists@gmail.com">aaronngray.lists@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I have attached a tiny parser and lexer. <div><br></div><div>This is really key to getting the lexing correct.</div><div><br></div><div>The only thing I could not get neatly was to disallow hyphens at the end of identifiers, so have left it off until a good solution arrives.<div>


<br></div><div>I plan to move over to monads next.</div></div><div><br></div><div>Any comments welcome,</div></blockquote><div><br></div><div>Oh forgot parenthesis, brackets and braces, theres a new attachment for them.</div>

<div><br></div><div>Then there&#39;s comments to do...</div><div><br></div><div>Aaron</div></div>