Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Haskell - Recursive descent parser

Can some one recommend a simple working example(code) of using recursive descent parser on haskell? All the information I found are too difficult to understand. Thx!

like image 206
Ferry Avatar asked Oct 17 '11 13:10

Ferry


1 Answers

There's a chapter in, "Real World Haskell" devoted to Parsec, the recursive descent parser combinator library that comes with the Haskell Platform. There's also a bunch of Parsec links on the Haskell Wiki. Ultimately, once you get comfortable with the examples, you'll need the reference guide.

like image 197
pat Avatar answered Nov 16 '22 00:11

pat