Re: [ANN] - Hugs for MacOS (x86) - via Nix Flakes

Carter Schonwald <[email protected]> Mon, 24 Oct 2022 14:06:24 -0400
Newsgroups gmane.comp.lang.haskell.cafe,gmane.comp.lang.haskell.hugs.user
Message-ID <CAHYVw0xAm1qiou1AMidt1OWmB6hrM9ib5AR6R7eanOeTgvbs3w@mail.gmail.com>
--===============1142041862703496965==
Content-Type: multipart/alternative; boundary="000000000000444a6305ebcba7e9"

--000000000000444a6305ebcba7e9
Content-Type: text/plain; charset="UTF-8"

wonderful! This a fantastic piece of computational archaeology!

On Sat, Oct 22, 2022 at 11:31 AM Justin Bailey <[email protected]> wrote:

> I spent some time with the last public release of the Hugs sources,
> making them compile on a modern Mac (x86 chipset). I used Nix's flakes
> feature to manage the build and install.
>
> If you'd like to run the hugs interpreter directly using the flake, just
> type:
>
> `nix run github:m4dc4p/hugs#hugs`
>
> If you'd like to execute a Haskell file, try:
>
> `nix run github:m4dc4p/hugs <file.hs>`
>
> Or alternately:
>
> `nix run github:m4dc4p/hugs#runhugs <file.hs>`
>
> (That is, `runhugs` is the default app provided by the flake.)
>
> See the README at https://github.com/m4dc4p/hugs for more details
> (including other binaries available).
>
> I don't have much of a use case for Hugs, so I got the flake to the
> point where I could start the interpreter and run simple programs. I'm
> glad to accept pull requests or bug reports. You can find the source
> and submit any issues at https://github.com/m4dc4p/hugs.
>
> Note: I don't have access to Apple silicon, so this build has only
> been tested under x86. If it works for M1 please let me know, or if
> you are able to submit a PR I'd welcome it!
>
> Enjoy!
>
> Justin
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.

--000000000000444a6305ebcba7e9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">wonderful! This a fantastic piece of computational archaeo=
logy!<br></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gma=
il_attr">On Sat, Oct 22, 2022 at 11:31 AM Justin Bailey &lt;<a href=3D"mail=
to:[email protected]">[email protected]</a>&gt; wrote:<br></div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
solid rgb(204,204,204);padding-left:1ex">I spent some time with the last pu=
blic release of the Hugs sources,<br>
making them compile on a modern Mac (x86 chipset). I used Nix&#39;s flakes<=
br>
feature to manage the build and install.<br>
<br>
If you&#39;d like to run the hugs interpreter directly using the flake, jus=
t type:<br>
<br>
`nix run github:m4dc4p/hugs#hugs`<br>
<br>
If you&#39;d like to execute a Haskell file, try:<br>
<br>
`nix run github:m4dc4p/hugs &lt;file.hs&gt;`<br>
<br>
Or alternately:<br>
<br>
`nix run github:m4dc4p/hugs#runhugs &lt;file.hs&gt;`<br>
<br>
(That is, `runhugs` is the default app provided by the flake.)<br>
<br>
See the README at <a href=3D"https://github.com/m4dc4p/hugs" rel=3D"norefer=
rer" target=3D"_blank">https://github.com/m4dc4p/hugs</a> for more details<=
br>
(including other binaries available).<br>
<br>
I don&#39;t have much of a use case for Hugs, so I got the flake to the<br>
point where I could start the interpreter and run simple programs. I&#39;m<=
br>
glad to accept pull requests or bug reports. You can find the source<br>
and submit any issues at <a href=3D"https://github.com/m4dc4p/hugs" rel=3D"=
noreferrer" target=3D"_blank">https://github.com/m4dc4p/hugs</a>.<br>
<br>
Note: I don&#39;t have access to Apple silicon, so this build has only<br>
been tested under x86. If it works for M1 please let me know, or if<br>
you are able to submit a PR I&#39;d welcome it!<br>
<br>
Enjoy!<br>
<br>
Justin<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href=3D"http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" r=
el=3D"noreferrer" target=3D"_blank">http://mail.haskell.org/cgi-bin/mailman=
/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquo=
te></div>

--000000000000444a6305ebcba7e9--

--===============1142041862703496965==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KSGFza2VsbC1D
YWZlIG1haWxpbmcgbGlzdApUbyAodW4pc3Vic2NyaWJlLCBtb2RpZnkgb3B0aW9ucyBvciB2aWV3
IGFyY2hpdmVzIGdvIHRvOgpodHRwOi8vbWFpbC5oYXNrZWxsLm9yZy9jZ2ktYmluL21haWxtYW4v
bGlzdGluZm8vaGFza2VsbC1jYWZlCk9ubHkgbWVtYmVycyBzdWJzY3JpYmVkIHZpYSB0aGUgbWFp
bG1hbiBsaXN0IGFyZSBhbGxvd2VkIHRvIHBvc3Qu

--===============1142041862703496965==--