summaryrefslogtreecommitdiff
path: root/src/Fragment.hs
Commit message (Collapse)AuthorAge
* Get rid of Debug.TraceGravatar Benjamin Barenblat2015-02-12
|
* Rewrite parser, againGravatar Benjamin Barenblat2015-02-11
| | | | | | | | | | Rewrite the parser with an actual grammar this time. It’s a bit ugly in places – use of the 'manyTill'' function is especially nasty and ought to be replaced with more <|> combinators, as in the 'literateFile' definition. Many thanks to Chelsea Voss <csvoss@mit.edu> for helping me figure out the grammar for this.
* Define command-line interfaceGravatar Benjamin Barenblat2015-02-11
|
* Fragment: Give up and use pattern matchingGravatar Benjamin Barenblat2015-02-11
| | | | | | I’m normally opposed to pattern matching in high-quality apps, but this is so small that I’m unconvinced it’ll be a problem. I can always switch to explicit accessors if things get too coupled.
* Write tangleGravatar Benjamin Barenblat2015-02-11
|
* Parser: Allow internal chunk referencesGravatar Benjamin Barenblat2015-02-11
|
* Rewrite parser for cleanlinessGravatar Benjamin Barenblat2015-02-11
|
* Parse fragmentsGravatar Benjamin Barenblat2015-02-11