Benedikt Huber wrote: > have a look at the module Text.ParserCombinators.Parsec.Combinator. > Those functions should help you to build up parsers from smaller > building blocks. > > Using sepBy1, the above parser can be written as > > dot = T.dot lexer > qualifiedIdentifier = sepBy1 identifier dot
WOW!!!! That is really impressive! Thanks, Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "One serious obstacle to the adoption of good programming languages is the notion that everything has to be sacrificed for speed. In computer languages as in life, speed kills." -- Mike Vanier _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
