Created
January 19, 2013 17:14
-
-
Save fooqri/4573734 to your computer and use it in GitHub Desktop.
A simple list for a Ragel example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Tasks | |
- Go to Whole Foods | |
- Go to produce section | |
- get oranges | |
maybe Mandarine and Valencia | |
- get avocados | |
- get squash | |
maybe buttercup if they have it | |
- Go to bakery section | |
- get bagels | |
- get 12 cupcakes | |
- Go to Dairy | |
- get milk | |
should be organic 2% if they have it | |
- Pay for items | |
## Tasks | |
- Write up a Ragel example for blog | |
- Create simple example for parsing lists | |
- Ragel code for a parser | |
Should provide support for parsing multiple task lists. | |
It should also support hierarchical task lists | |
- Create a simple ruby class that uses the parser | |
- post code as gists | |
- Write up a blog post describing the use of ragel in the example | |
- Post to blog | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment