Patch to register XmlSyntax and RegularPatterns as known extensions

Hi all, I'd like to have concrete XML syntax (HSP) and regular expression pattern syntax (HaRP) registered in Language.Haskell.Extension. The attached patch registers XmlSyntax and RegularPatterns as constructors in the Language.Haskell.Extension.Extension data type, along with haddock documentation. Cheers, /Niklas

I'd like to have concrete XML syntax (HSP) and regular expression pattern syntax (HaRP) registered in Language.Haskell.Extension. The attached patch registers XmlSyntax and RegularPatterns as constructors in the Language.Haskell.Extension.Extension data type, along with haddock documentation.
Eh, and to those reading this on the libraries list, the patch was intended for cabal of course. :-) Cheers, /Niklas

On Thu, 2009-05-28 at 23:37 +0200, Niklas Broberg wrote:
I'd like to have concrete XML syntax (HSP) and regular expression pattern syntax (HaRP) registered in Language.Haskell.Extension. The attached patch registers XmlSyntax and RegularPatterns as constructors in the Language.Haskell.Extension.Extension data type, along with haddock documentation.
+ -- | Allow concrete XML syntax to be used in expressions and patterns, + -- as per the Haskell Server Pages extension language: + -- http://www.haskell.org/haskellwiki/HSP. The ideas behind it are + -- discussed in this paper: + -- http://portal.acm.org/citation.cfm?id=1088353 + | XmlSyntax + + -- | Allow regular pattern matching over lists, as discussed in the + -- following paper: http://portal.acm.org/citation.cfm?id=1016863 + | RegularPatterns Are these papers available publicly anywhere? If so perhaps we should link to those instead. The ACM links do not give full text access except to registered users/institutions.
Eh, and to those reading this on the libraries list, the patch was intended for cabal of course. :-)
And the reason Niklas is cc'ing it here is to give people a chance to comment, eg to make sure the names are sensible and that the docs are ok. Of course these docs are far better than for all the other listed extensions! (patches gratefully accepted) Niklas is one of the first victims of the new hard-line policy on providing at least some description along with registered extension names. Duncan

+ -- | Allow concrete XML syntax to be used in expressions and patterns, + -- as per the Haskell Server Pages extension language: + -- http://www.haskell.org/haskellwiki/HSP. The ideas behind it are + -- discussed in this paper: + -- http://portal.acm.org/citation.cfm?id=1088353 + | XmlSyntax + + -- | Allow regular pattern matching over lists, as discussed in the + -- following paper: http://portal.acm.org/citation.cfm?id=1016863 + | RegularPatterns
Are these papers available publicly anywhere? If so perhaps we should link to those instead. The ACM links do not give full text access except to registered users/institutions.
Well, I have them on my own webpage, the reason I didn't link to that was that our department is going through a system reorganisation and those links won't be valid for more than a few months longer. I could of course submit a new patch later, but I'd really prefer to link to a central location that wouldn't require another patch from me each time I move somewhere. ACM seemed to me to be the most stable place that also provides the full text, if only to registered people. It seems I can upload the papers to Chalmers' central publication library, but it is a bit of a hassle... Cheers, /Niklas

On Thu, May 28, 2009 at 11:44 PM, Niklas Broberg
+ -- | Allow concrete XML syntax to be used in expressions and patterns, + -- as per the Haskell Server Pages extension language: + -- http://www.haskell.org/haskellwiki/HSP. The ideas behind it are + -- discussed in this paper: + -- http://portal.acm.org/citation.cfm?id=1088353 + | XmlSyntax + + -- | Allow regular pattern matching over lists, as discussed in the + -- following paper: http://portal.acm.org/citation.cfm?id=1016863 + | RegularPatterns
Are these papers available publicly anywhere? If so perhaps we should link to those instead. The ACM links do not give full text access except to registered users/institutions.
Well, I have them on my own webpage, the reason I didn't link to that was that our department is going through a system reorganisation and those links won't be valid for more than a few months longer. I could of course submit a new patch later, but I'd really prefer to link to a central location that wouldn't require another patch from me each time I move somewhere. ACM seemed to me to be the most stable place that also provides the full text, if only to registered people.
It seems I can upload the papers to Chalmers' central publication library, but it is a bit of a hassle...
Interestingly the full papers can be downloaded from citeseer Haskell server pages through dynamic loading: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.101.5045&rep=rep1&type=pdf Regular expression patterns: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.66.3262&rep=rep1&type=pdf Those links were found through Google Scholar, I can't find the papers in question on citeseer directly :-) /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe

On Fri, 2009-05-29 at 09:16 +0100, Magnus Therning wrote:
Are these papers available publicly anywhere? If so perhaps we should link to those instead. The ACM links do not give full text access except to registered users/institutions.
Well, I have them on my own webpage, the reason I didn't link to that was that our department is going through a system reorganisation and those links won't be valid for more than a few months longer. I could of course submit a new patch later, but I'd really prefer to link to a central location that wouldn't require another patch from me each time I move somewhere. ACM seemed to me to be the most stable place that also provides the full text, if only to registered people.
It seems I can upload the papers to Chalmers' central publication library, but it is a bit of a hassle...
Interestingly the full papers can be downloaded from citeseer
Then perhaps just refer to the papers by name, if they turn up so easily on google. Duncan

Does HaRP/RegularPatterns have any relation to XHaskell (e.g. see http://code.google.com/p/xhaskell/wiki/homepage )? -Isaac Niklas Broberg wrote:
Hi all,
I'd like to have concrete XML syntax (HSP) and regular expression pattern syntax (HaRP) registered in Language.Haskell.Extension. The attached patch registers XmlSyntax and RegularPatterns as constructors in the Language.Haskell.Extension.Extension data type, along with haddock documentation.
Cheers,
/Niklas
------------------------------------------------------------------------
_______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries

On Fri, May 29, 2009 at 3:30 AM, Isaac Dupree
Does HaRP/RegularPatterns have any relation to XHaskell (e.g. see http://code.google.com/p/xhaskell/wiki/homepage )?
XHaskell is certainly related work, and we discuss the relation in our paper. The short story is that HaRP is much more lightweight, it is basically just syntactic sugar for parser combinators performing regular pattern matching over a list, with some clever semantics for the patterns involved. It has, for better or worse, none of the intricate type-based machinery that is XHaskell's claim to fame. Cheers, /Niklas

On Thu, 2009-05-28 at 23:00 +0200, Niklas Broberg wrote:
Hi all,
I'd like to have concrete XML syntax (HSP) and regular expression pattern syntax (HaRP) registered in Language.Haskell.Extension. The attached patch registers XmlSyntax and RegularPatterns as constructors in the Language.Haskell.Extension.Extension data type, along with haddock documentation.
Since there were no objections I've applied the patch, so both extensions are now registered. Duncan
participants (4)
-
Duncan Coutts
-
Isaac Dupree
-
Magnus Therning
-
Niklas Broberg