1. Why do the authors use a list type to return the results of the
parse? Specifically, is there a good reason for using lists instead
of, say, something like Maybe
Copyright By PowCoder代写 加微信 powcoder
2. If I asked you to write a parser for something (say, for the a
small functional expression language, like the one that is in this
weeks lecture notes), would you consider this approach vs., say,
something like a parser generator (regardless of the answer:
3. Parsing correct values is great, but every user who tries to
supply input to a parser will rate it based on how well it reports
errors. Is this parser combinator approach useful for that
4. Meijer has described his parser as a an embedded DSL,
where the language you’re defining is inspired by eBNF. Are the
parsers shown in the paper really clear enough to let you read
them as an eDSL?
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com