Hugs98 on the iPhone

20 septiembre 2008

It’s true! Haskell on the iPhone.

If you are like me and love to learn programming languages but your duties don’t allow you to test that lovely brand new algorithm on a computer ( as there is no one near available … being at the park is a good example ).

Now you can, … on your iPhone  ;)

Hugs98 is  *THE* Haskell interpreter, it almost supports all Haskel98 specification, you can check all the details at http://www.haskell.org/Hugs/index.html

Please enjoy this hugs98 package for the iPhone installable at cydia and installer, it is included by default in the comunity sources, so you’ll only have to refresh your sources and it will be there, in the development section.

Just install com.wordpress.argaldo.hugs98 (hugs98) and/or com.wordpress.argaldo.hugs98-packages (hugs98-packages) if you want full hugs libraries ( as included in hugs98 source distribution ).

Then, open the console application and run ‘hugs’.

For the brave user:

Here are the links where you can access the .deb files that package hugs for the iPhone:

com.wordpress.argaldo.hugs98

com.wordpress.argaldo.hugs98-packages

About these ads

12 Responses to “Hugs98 on the iPhone”


  1. [...] argaldo blog added an interesting post on Hugs98 on the iPhoneHere’s a small teaser … matter where you are if your iPhone is with you….For those brave of you, here are the instructions if you want to compile hugs for the iPhone:…Please enjoy this hugs98 package for the iPhone installable at cydia…. [...]

  2. Glizik Says:

    Hi. I’ve an iPhone and I started to learn some haskell at the school… but I couldn’t figure out where is the “main” folder of hugs… or what is the working directory when you want to load a file…
    I’ve tried something like this:
    :l private/var/mobil/Library/myHtml/a.hs
    but it didn’t work…
    pls help! glizik@gmail.com
    Thx

  3. argaldo Says:

    Hi Glizik,

    First, Hugs is an intepreter and when installed in your iPhone, you have the chance of using it as an interactive interpreter to test your code ( as I do ) or to feed it with source file filled with haskell code and run them inside the interpreter.

    If your a.hs is composed of functions, you can import those functions inside Hugs using the command :l ( as you actually do ).

    Check the path of your file, maybe it’s just a matter of adding an initial slash ‘/’ to the path of the file you are trying to execute.


  4. [...] Hugs 98 is a functional programming system based on Haskell 98, the de facto standard for non-strict functional programming languages. Hugs 98 provides an almost complete implementation of Haskell 98. Now on the iPhone. This package contains the interpreter and base, haskell98 and hugsbase packages. Visit homepage [...]


  5. [...] Now on the iPhone. This package contains all the usual packages contained in the hugs98 release.. Visit homepage Ads by GoogleMazda Compact Cars – Quotes, Pics, More – [...]


  6. [...] Hugs 98 is a functional programming system based on Haskell 98, the de facto standard for non-strict functional programming languages. Hugs 98 provides an almost complete implementation of Haskell 98. Now on the iPhone. This package contains the interpreter and base, haskell98 and hugsbase packages. more info » [...]

  7. Norm2782 Says:

    Very nice! Would be nice to have this on non-jailbroken iPhones.
    Apparently Apple relaxed their policies a bit: http://www.apple.com/pr/library/2010/09/09statement.html
    Couldn’t you try to submit this to the official appstore? ;)


  8. Good answers in return of this query with genuine arguments and describing the
    whole thing on the topic of that.


  9. Thanks for ones marvelous posting! I seriously enjoyed reading
    it, you might be a great author.I will remember to bookmark your
    blog and may come back in the foreseeable future. I want
    to encourage yourself to continue your great work, have a nice afternoon!

  10. url shortner Says:

    Do you have a spam problem on this website; I also am a blogger, and I
    was wanting to know your situation; many of us have developed some nice procedures and we are
    looking to swap solutions with others, be sure to shoot me an e-mail if interested.

  11. Anónimo Says:

    Can I get this for an iPod touch second gen iOS 4.2.1?

  12. Johnd53 Says:

    Thanks for this article. I’d also like to express that it can often be hard if you are in school and simply starting out to initiate a long credit standing. There are many students who are just trying to endure and have an extended or favourable credit history are often a difficult matter to have. gfefbkefeadg


Deja un comentario

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

Seguir

Recibe cada nueva publicación en tu buzón de correo electrónico.

%d personas les gusta esto: