Pete Kazmier <[EMAIL PROTECTED]> writes:

> As part of my learning experience, I think I want to see if I can
> write a haskell pastebin that does proper syntax highlighting.
> Someone in #haskell suggested that I use just a lexer because using a
> parser is overkill.  However, I can't make this assessment until I see
> how to use the parser and the information it can supply.

Thanks for the responses and pointers to the other projects.  I'll
investigate those after the day-job (the one that pays the bills).

As for using the lexer vs the parser, I was hoping to do things such
as folding and/or nifty mouse-overs of logical blocks of code, which
is why I was interested in the parser.  I'm not sure if I could do the
same with only a lexer.

I'm basically just looking for something concrete to tinker with as I
learn Haskell and it seems that Haskell is missing a snazzy pastebin.

Thanks,
Pete

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to