在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):tanakh/Peggy开源软件地址(OpenSource Url):https://github.com/tanakh/Peggy开源编程语言(OpenSource Language):Haskell 100.0%开源软件介绍(OpenSource Introduction):Peggy: A Parser Generator of Parsing Expression Grammer (PEG)AboutThis is an yet another parser generator of Parsing Expression Grammer (PEG) which is:
UsageYou can find a recent stable release in Hackage DB. You can install this as following instruction:
Why should you use Peggy?Haskell has commonly used parser generators, one of them are Alex/Happy. But I think Alex/Happy are not good in these points:
Alex uses only too basic libraries. It does not use monad-transformers, iteratee, ListLike, Text, and so on.
Parsec has no good error recovery. unnun, kannun... ... Quick StartHere is an example of parsing arithmetic expressions.
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论