[Haskell-cafe] Could someone give me a small code review

Aaron Gray aaronngray.lists at gmail.com
Fri Dec 31 22:26:09 CET 2010


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,

Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20101231/0069e658/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exprtree.y
Type: application/octet-stream
Size: 2738 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20101231/0069e658/attachment.obj>


More information about the Haskell-Cafe mailing list