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

Aaron Gray aaronngray.lists at gmail.com
Sat Jan 1 01:11:35 CET 2011


On 31 December 2010 21:26, Aaron Gray <aaronngray.lists at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110101/30cec2e8/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exprtree.y
Type: application/octet-stream
Size: 3224 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110101/30cec2e8/attachment-0001.obj>


More information about the Haskell-Cafe mailing list