On 31 December 2010 21:26, Aaron Gray <aaronngray.lists@gmail.com> wrote:
I have attached a tiny parser and lexer. 

This is really key to getting the lexing correct.

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.

I plan to move over to monads next.

Any comments welcome,

Oh forgot parenthesis, brackets and braces, theres a new attachment for them.

Then there's comments to do...

Aaron