Advance notice that I'd like to make Cabal depend on parsec

Bardur Arantsson spam at scientician.net
Thu Mar 14 19:01:52 CET 2013


On 03/14/2013 03:53 PM, Duncan Coutts wrote:
> Hi folks,
> 
> Why did I choose parsec? Practicality dictates that I can only use
> things in the core libraries, and the nearest thing we have to that is
> the parser lib that is in the HP. I tried to use happy but I could not
> construct a grammar/lexer combo to handle the layout (also, happy is not
> exactly known for its great error messages).
> 

Just thinking out loud here, but what about ditching the current format
for something that's simpler to parse/generate? Like, say, JSON?

Regards,






More information about the cabal-devel mailing list