[Haskell-cafe] Standard package file format

Bardur Arantsson spam at scientician.net
Sat Sep 17 07:51:25 UTC 2016


On 2016-09-17 09:25, Herbert Valerio Riedel wrote:
> Hello,
> 
> On 2016-09-17 at 08:41:37 +0200, Joachim Durchholz wrote:
>> Am 17.09.2016 um 00:13 schrieb Herbert Valerio Riedel:
>>> the prospect that a standard format like YAML would allow to reuse
>>> standard tooling/libraries for YAML seems quite weak to me;
>>
>> It's not about standard tooling, it's about tools written by third
>> parties. Tools that you didn't have the time or interest to write
>> yourself, but which still help make your ecosystem more useful to
>> others.
> 
> Sure, but we don't need to throw out the baby with the bathwater to
> accomplish that!
> 
> Oleg is currently working on a new parser for cabal.config,
> cabal.project & ${pkg}.cabal grammar (NB: cabal already uses one
> standard unified syntax for all its configuration/description files)
> which lends itself better to provide equivalent of ghc-exactprint
> (i.e. perfect roundtripping, allowing for faithful refactoring
> tooling). Then 3rd parties can then use this new parser as a library.

I didn't see anything in the PR about exporting that parser as a
library. Do you have a reference for that?

Regardless: It will only help third party code written in Haskell. Much
as I like most userland software to be written in Haskell it won't help
e.g. IntelliJ IDEA one whit.

Regards,



More information about the Haskell-Cafe mailing list