https://github.com/pjones/turtle
megaparsec demonstration
https://github.com/pjones/turtle
Last synced: 7 months ago
JSON representation
megaparsec demonstration
- Host: GitHub
- URL: https://github.com/pjones/turtle
- Owner: pjones
- License: bsd-2-clause
- Created: 2022-01-07T20:26:31.000Z (almost 4 years ago)
- Default Branch: trunk
- Last Pushed: 2022-01-07T20:26:55.000Z (almost 4 years ago)
- Last Synced: 2025-05-17T03:33:35.197Z (7 months ago)
- Language: Haskell
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# The turtle mini-language parser
A demonstration of how to use the [megaparsec][] library to write a
language parser.
The language parsed by this tool is the turtle mini-language described
in exercise 4 of The Pragmatic Programmer, 20th Anniversary Edition by
David Thomas and Andrew Hunt.
[megaparsec]: https://hackage.haskell.org/package/megaparsec