I'm reading monadic parser combinators. On the page 23, they leave an exercise for defining a Gofer block comment parser, and I try to implement it in Haskell. My code is here: import Control.Monad ...
i wanted to practice parsec and thought about doing a TOML parser for fun. i am looking for both directions on how to fix the remaining problems, but even more some hints on my style. the one ...
I'm creating list of Tokens from input [Char] stream using Parsec v3. The definition of Token looks like this: data Token = CharKeyword | OpeningBracket | Identifier String | Natural Int As result ...
I have been working through the exercises in a Write Yourself a Scheme in 48 Hours/Parsing and hacked together something to get parseString to comprehend escaped characters. Also had some inspiration ...
I'm learning Haskell at the moment, and have just written my first useful module - a parser fo INI files. I used Parsec. I'd like to know what can be improved here - or maybe I did some things ...
I figured it's about time to get off my ass and jump into some Haskell. So here's a first attempt at an oddly specific SVG parser. import System.Environment import Text.ParserCombinators.Parsec ...