Re: Add haskell-src as an official machine-readable component of the Haskell standard
There is nothing to stop an library author doing exactly this, and it might even be useful for some people (personally I'm going to stick to haskell-src-exts, because it's a brilliant library). However, I don't think we should make it official or part of the standard. I've found plenty of HSE/GHC parsing differences in my work, and my suspicion is that several of them are probably also present in haskell-src. I also don't want the Haskell Prime Committee to take on the jobs of library maintainership or implementation, those are best kept elsewhere. Thanks, Neil On Tue, Nov 16, 2010 at 9:13 AM, Yitzchak Gale g...@sefer.org wrote: I propose that the haskell-src package be renamed haskell20nn-src for each revision Haskell 20nn of the standard, and be made an official machine-readable component of the standard. This has the following advantages: 1. It would require almost no extra work, because haskell-src already exists, and syntax changes, if any, will be very minimal for each revision. 2. For the portion of the standard that it covers, any ambiguity that might creep into the human-readable standard document would be resolved. 3. It would serve as a basic machine-verification tool which is easily extensible. 4. As a side-effect, the haskell-src package would be continually maintained. The package is useful in its own right as a much lighter-weight version of haskell-src-exts. It is much easier to use when an application does not require full support of all of Haskell's syntax. This proposal is a natural extension of a proposal raised on the libraries mailing list in the context of the Haskell Platform: Ian Lynagh proposed that the current haskell-src-exts be renamed haskell-src (and included in the Haskell Platform, as suggested by Sterling Clover), and that the current haskell-src be renamed to haskell98-src (and removed from the Platform). The libraries subthread is here: http://www.haskell.org/pipermail/libraries/2010-November/015018.html Thanks, Yitz ___ Haskell-prime mailing list Haskell-prime@haskell.org http://www.haskell.org/mailman/listinfo/haskell-prime ___ Haskell-prime mailing list Haskell-prime@haskell.org http://www.haskell.org/mailman/listinfo/haskell-prime
Re: Add haskell-src as an official machine-readable component of the Haskell standard
Ben Millwood wrote: So we don't actually specify the content or API of the library itself, merely state its existence? If we specify the API we make those decisions, if we don't I don't see what exactly you are asking for... So why are you proposing that it be different from a Hackage package in /any/ respect? ...Why doesn't an independent parser do that? ...I don't see any benefit in putting an official stamp on a particular one. It doesn't give it a practical edge over any other... In an enterprise software development environment, getting the software to work in a practical way is not good enough. You need to be able to produce officially recognized documented evidence that it works. The existence of well-specified standards is a prerequisite for the adoption of a language in the mainstream. Haskell is particularly well-suited to the needs of verification, validation, and certification. Galois is doing a lot of great work in this area. I am proposing a simple step, requiring almost no effort on our part. It would immediately raise the quality of the standard considerably, by enriching the expressiveness available to the writers of the standard. It would also immediately raise the perceived value of the standard considerably, by providing the beginnings of an automated validation and certification framework. And it would provide a basis for future work in many directions, both within the standard and based upon it. Thanks, Yitz ___ Haskell-prime mailing list Haskell-prime@haskell.org http://www.haskell.org/mailman/listinfo/haskell-prime
Re: Add haskell-src as an official machine-readable component of the Haskell standard
Hi Neil, Neil Mitchell wrote: There is nothing to stop an library author doing exactly this, and it might even be useful for some people (personally I'm going to stick to haskell-src-exts, because it's a brilliant library). Yes, it is. I am not proposing changing in any way how we develop and use Haskell parsers as tools. I am proposing taking an existing parser and using it in a different way. I've found plenty of HSE/GHC parsing differences in my work, and my suspicion is that several of them are probably also present in haskell-src. Indeed. Easily finding and documenting such discrepancies is one of the major benefits of having a machine-readable component in the standard. I also don't want the Haskell Prime Committee to take on the jobs of library maintainership or implementation, those are best kept elsewhere. Agreed. I am not proposing that. The machine-readable portion of the standard will be based on a parser library that exists quite apart from the standard. Thanks, Yitz ___ Haskell-prime mailing list Haskell-prime@haskell.org http://www.haskell.org/mailman/listinfo/haskell-prime