<div dir="ltr">oh, in that case you should check out three-peny gui! <a href="http://hackage.haskell.org/package/threepenny-gui">hackage.haskell.org/package/threepenny-gui</a><div><br></div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Thu, Jan 2, 2014 at 1:06 AM, Joey <span dir="ltr"><<a href="mailto:jmitdase@gmail.com" target="_blank">jmitdase@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>It looked interesting, but when I
initially started my project (about six months ago) it seemed
pretty immature. It also seems to be less focused on graphical
programming, which Elm is superb at with its FRP. I'd also heard
GHCJS was pretty heavyweight, getting the entire runtime going.
I'm really only using JS for rednering.<div><div class="h5"><br>
<br>
On 14-01-01 10:19 PM, Carter Schonwald wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">have you considered using GHCJS? </div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Jan 1, 2014 at 11:08 PM, Joey <span dir="ltr"><<a href="mailto:jmitdase@gmail.com" target="_blank">jmitdase@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It would
be hard, but the languages are nearly identical, so the
translation is pretty trivial AST transforming. I'm also not
looking to be complete: my main goal is sharing client and
server-side code.<br>
Thanks to Malcolm Wallace for the haskell-src-extensions
suggestion, it looks great.
<div>
<div><br>
<br>
On 14-01-01 07:24 AM, Ömer Sinan Ağacan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Compiling Haskell to another language is huge effort,
maybe instead of<br>
this you can compile Haskell to JS using GHCJS or Fay,
and then use<br>
Elm FFI to use compiled Haskell functions.<br>
<br>
---<br>
Ömer Sinan Ağacan<br>
<a href="http://osa1.net" target="_blank">http://osa1.net</a><br>
<br>
<br>
2014/1/1 Joey <<a href="mailto:jmitdase@gmail.com" target="_blank">jmitdase@gmail.com</a>>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm looking at writing a simple Haskell to Elm
translator. Thankfully, the<br>
Elm compiler is in Haskell, so I'm just trying
transforming syntax trees.<br>
<br>
I'm wondering, is there a standard way to do this
sort of thing? Template<br>
Haskell looked promising, but it seems there isn't
much of a way to do<br>
introspection on function definition. Has there been
any work/progress on<br>
this?<br>
<br>
The GHC API seemed useful for compiling, but it
seems tricky to use, and I<br>
haven't been able to find many tutorials for this
sort of thing. I could<br>
just be looking in the wrong place.<br>
<br>
What are the ways I could go about this? Are there
any similar projects I<br>
could use as reference? What packages are useful for
generating and<br>
manipulating Haskell ASTs? Does anybody have
experience in this area they<br>
could share?<br>
<br>
I've posted a similar question to the Haskell Reddit
at<br>
<a href="http://www.reddit.com/r/haskell/comments/1u55rl/standard_way_to_translate_haskell_to_other/" target="_blank">http://www.reddit.com/r/haskell/comments/1u55rl/standard_way_to_translate_haskell_to_other/</a>.<br>
<br>
Thanks!<br>
<br>
Joey Eremondi<br>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</blockquote>
</blockquote>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>