[Haskell-cafe] Embedding compiled Haskell Platform in custom application

2013-09-23 Thread blackbox.dev.ml
Hi!
I'm writing a tool that generates haskell code, build it with cabal and
launch it. I want to deliver that tool to clients, but I don't want to
force them, to install system wide any specific ghc or cabal version. How
can I embed compiled ghc, cabal and selected libraries (for specific
platform) in installer of my application?
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Why GHC is written in Happy and not a monadic parser library?

2013-08-02 Thread blackbox.dev.ml
Hi!
Is there any specific reason why GHC is written in a parser GENERATOR
(Happy) and not in MONADIC PARSER COMBINATOR (like parsec)?

Is Happy faster / handles better errors / hase some great features or
anything else?

thank you :)
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Learning GHC API

2013-08-02 Thread blackbox.dev.ml
HI!
Could you please give me hints where to find materials to learn GHC API?
I know there is  http://www.haskell.org/haskellwiki/GHC/As_a_library, but
this contains only 2 examples and I would to learn how to create datatypes,
classes, functions etc using GHC API, how to compile them later or generate
Haskell code out of them (if its possible).

I would be thnakful for any hint! :)
Thank you,
Wojtek
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe