https://github.com/dagit/happy-plus-alex
Template for quickly and easily combining happy and alex
https://github.com/dagit/happy-plus-alex
Last synced: 5 months ago
JSON representation
Template for quickly and easily combining happy and alex
- Host: GitHub
- URL: https://github.com/dagit/happy-plus-alex
- Owner: dagit
- License: bsd-3-clause
- Created: 2013-10-04T03:54:41.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-10-16T23:05:15.000Z (over 10 years ago)
- Last Synced: 2024-12-31T04:42:00.680Z (over 1 year ago)
- Language: Logos
- Size: 188 KB
- Stars: 48
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
happy-plus-alex
===============
Template for quickly and easily combining happy and alex
The documentation for happy and alex is technically correct, but it does a poor
job of explaining to new users how to easily combine happy and alex. It turns
out that combining them is actually quite simple and natural. This repository
gives you straight forward sample code for a simple expression language.
The key insight is that almost everyone that wants to combine happy and alex
wants to use a monad and wants to have alex track source position. Therefore,
we should ask alex to generate a monadic parser and tell happy to use it.