How to use IndentParser. Any example/tutorial?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to use IndentParser. Any example/tutorial?

Sukit Tretriluxana
Hi,

I need to construct a parser that parse a language that use indentation to define blocks as Python does. I ran into Text.ParserCombinators.Parsec.IndentParser module but have no idea how to use it. Can anyone point me out to how to use this module? Any short example, tutorial, or whatever would be highly appreciated.

Thanks,
Ed

_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe