All, Apologies if this question has been beaten to death, but i'm wondering if anyone out there has plans to do a language-level support for XML processing ala OCamlDuce. i would really like to be writing more code in Haskell, but XML is in almost everything i touch and OCamlDuce provides the right level of compiler support for the sorts of applications i'm writing. Best wishes, --greg -- L.G. Meredith Partner Biosimilarity LLC 505 N 72nd St Seattle, WA 98103 +1 206.650.3740
Hi Greg, I've been using Haskell Source eXtensions which seems to have as much XML language support as you could ever possibly need :) http://www.cs.chalmers.se/~d00nibro/haskell-src-exts/ Thanks Neil On 8/29/06, Lucius Meredith <lgreg.meredith@biosimilarity.com> wrote:
All,
Apologies if this question has been beaten to death, but i'm wondering if anyone out there has plans to do a language-level support for XML processing ala OCamlDuce. i would really like to be writing more code in Haskell, but XML is in almost everything i touch and OCamlDuce provides the right level of compiler support for the sorts of applications i'm writing.
Best wishes,
--greg
-- L.G. Meredith Partner Biosimilarity LLC 505 N 72nd St Seattle, WA 98103
+1 206.650.3740 _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
There is also the Haskell XML Toolbox (HXT) http://www.fh-wedel.de/~si/HXmlToolbox/ and HaXml http://www.cs.york.ac.uk/fp/HaXml/ Could someone summarize the pros and cons of HXT versus HaXml versus HSX? Greetings, Till Neil Mitchell schrieb:
Hi Greg,
I've been using Haskell Source eXtensions which seems to have as much XML language support as you could ever possibly need :)
http://www.cs.chalmers.se/~d00nibro/haskell-src-exts/
Thanks
Neil
On 8/29/06, Lucius Meredith <lgreg.meredith@biosimilarity.com> wrote:
All,
Apologies if this question has been beaten to death, but i'm wondering if anyone out there has plans to do a language-level support for XML processing ala OCamlDuce. i would really like to be writing more code in Haskell, but XML is in almost everything i touch and OCamlDuce provides the right level of compiler support for the sorts of applications i'm writing.
Best wishes,
--greg
-- L.G. Meredith Partner Biosimilarity LLC 505 N 72nd St Seattle, WA 98103
+1 206.650.3740 _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
_______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
-- Till Mossakowski Office: Phone +49-421-218-64226 DFKI Lab Bremen Cartesium Fax +49-421-218-9864226 Robert-Hooke-Str. 5 Enrique-Schmidt-Str. till@tzi.de D-28359 Bremen Room 2.051 http://www.tzi.de/~till
Till, i was looking for an OCamlDuce-like solution. The point there is that the support is at the language level -- not library level. OCamlDuce has language constructs -- values, type and pattern-matching specifically aimed at XML processing. Thus, the OCamlDuce compiler catches many misuses, errors invisible to a library-based approach. The HXmlToolbox and HaXML are -- to the best of my knowledge -- library-based approaches, not language-level approaches. Best wishes, --greg On 8/30/06, Till Mossakowski <till@informatik.uni-bremen.de> wrote:
There is also the Haskell XML Toolbox (HXT)
http://www.fh-wedel.de/~si/HXmlToolbox/
and HaXml
http://www.cs.york.ac.uk/fp/HaXml/
Could someone summarize the pros and cons of HXT versus HaXml versus HSX?
Greetings, Till
Neil Mitchell schrieb:
Hi Greg,
I've been using Haskell Source eXtensions which seems to have as much XML language support as you could ever possibly need :)
http://www.cs.chalmers.se/~d00nibro/haskell-src-exts/
Thanks
Neil
On 8/29/06, Lucius Meredith <lgreg.meredith@biosimilarity.com> wrote:
All,
Apologies if this question has been beaten to death, but i'm wondering if anyone out there has plans to do a language-level support for XML processing ala OCamlDuce. i would really like to be writing more code in Haskell, but XML is in almost everything i touch and OCamlDuce provides the right level of compiler support for the sorts of applications i'm writing.
Best wishes,
--greg
-- L.G. Meredith Partner Biosimilarity LLC 505 N 72nd St Seattle, WA 98103
+1 206.650.3740 _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
_______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
-- Till Mossakowski Office: Phone +49-421-218-64226 DFKI Lab Bremen Cartesium Fax +49-421-218-9864226 Robert-Hooke-Str. 5 Enrique-Schmidt-Str. till@tzi.de D-28359 Bremen Room 2.051 http://www.tzi.de/~till
-- L.G. Meredith Partner Biosimilarity LLC 505 N 72nd St Seattle, WA 98103 +1 206.650.3740
Hi Lucius, my Haskell Source eXtensions [1] (which Neil suggested earlier) supports expressions, values and pattern matching as language constructs, but not types. WASH [2] supports expressions, values and (to a limited extent) types, but not pattern matching. XHaskell [3] has the support necessary to get the typing right for semi-structured data, but I don't know if they do anything explicitly targetted at XML. Hope that helps you some :-) /Niklas [1] http://www.cs.chalmers.se/~d00nibro/haskell-src-exts/ [2] http://www.informatik.uni-freiburg.de/~thiemann/WASH/ [3] http://www.comp.nus.edu.sg/~luzm/xhaskell/xhaskell.htm On 8/30/06, Lucius Meredith <lgreg.meredith@biosimilarity.com> wrote:
Till,
i was looking for an OCamlDuce-like solution. The point there is that the support is at the language level -- not library level. OCamlDuce has language constructs -- values, type and pattern-matching specifically aimed at XML processing. Thus, the OCamlDuce compiler catches many misuses, errors invisible to a library-based approach.
The HXmlToolbox and HaXML are -- to the best of my knowledge -- library-based approaches, not language-level approaches.
Best wishes,
--greg
On 8/30/06, Till Mossakowski <till@informatik.uni-bremen.de> wrote:
There is also the Haskell XML Toolbox (HXT)
http://www.fh-wedel.de/~si/HXmlToolbox/
and HaXml
http://www.cs.york.ac.uk/fp/HaXml/
Could someone summarize the pros and cons of HXT versus HaXml versus HSX?
Greetings, Till
Neil Mitchell schrieb:
Hi Greg,
I've been using Haskell Source eXtensions which seems to have as much XML language support as you could ever possibly need :)
http://www.cs.chalmers.se/~d00nibro/haskell-src-exts/
Thanks
Neil
On 8/29/06, Lucius Meredith <lgreg.meredith@biosimilarity.com> wrote:
All,
Apologies if this question has been beaten to death, but i'm wondering if anyone out there has plans to do a language-level support for XML processing ala OCamlDuce. i would really like to be writing more code in Haskell, but XML is in almost everything i touch and OCamlDuce provides the right level of compiler support for the sorts of applications i'm writing.
Best wishes,
--greg
-- L.G. Meredith Partner Biosimilarity LLC 505 N 72nd St Seattle, WA 98103
+1 206.650.3740 _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
_______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
-- Till Mossakowski Office: Phone +49-421-218-64226 DFKI Lab Bremen Cartesium Fax +49-421-218-9864226 Robert-Hooke-Str. 5 Enrique-Schmidt-Str. till@tzi.de D-28359 Bremen Room 2.051 http://www.tzi.de/~till
-- L.G. Meredith Partner Biosimilarity LLC 505 N 72nd St Seattle, WA 98103
+1 206.650.3740 _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
Till Mossakowski <till@informatik.uni-bremen.de> writes:
Could someone summarize the pros and cons of HXT versus HaXml versus HSX?
From my perspective (therefore perhaps important but hardly comprehensive), HXT vs HaXml:
HXT provides arrows. The con is you have to learn arrows. The pro is the arrows provided have the same capability as monads of state and IO. Dually, HaXml does not provide arrows or equivalent. The provided functions of type "Content -> [Content]" ("Content" is the node type) are not very flexible or helpful if you want to thread a state through a parse tree, e.g., a recent question in haskell-cafe on how to insert random numbers as attribute values into a document using HaXml. (I lied about the con of HXT. You don't have to learn arrows if you really resist --- monads of the same capability are provided too.) I have no comment on HSX, and you already know the language vs library contrast.
participants (5)
-
Albert Lai -
Lucius Meredith -
Neil Mitchell -
Niklas Broberg -
Till Mossakowski