Common Lisp, Development, LISP, Mobile Development

mocl: first impressions

mocl: Common Lisp for iPhone/iOS, Android, and other mobile platforms

As many Lispers are aware, the long-fabled and falsely-accused vapourware mocl was finally released by Wukix, pretty much right on schedule. Since it’s Canada Day long weekend, I decided to celebrate by getting myself the Personal License. The license fees are a bit steep, but hopefully the grand simplification of cross-platform mobile development through Common Lisp will make it more than worthwhile. Currently the only platforms supported by mocl are iOS and Android, but other platforms should be added eventually, ideally Blackberry 10 first. The download for mocl is available for Mac OS X and Linux (both 32- and 64-bit), but obviously if you intend to do any iOS development, you’ll need a Mac.

Edit: the latest version of mocl is now also available for Windows. – 09/16/2013

My first impressions of mocl are slightly mixed, unfortunately. The installation itself was both easy and seamless, but then I noticed that mocl’s ASDF support requires a link farm—a directory of symlinks that point to your *.asd files. Seriously, who uses link farms anymore? I tried my best to get Quicklisp working anyway, but to no avail. If there’s one thing mocl needs, it’s quicklisp support. Patiently, I symlinked drakma and all its dependencies to the mocl link farm and disabled SSL support as the documentation mentioned, but mocl’s experimental REPL crashed when loading it. Ah well. As it says when launched, the mocl REPL is currently “an experimental work in progress.”

In my next post, we’ll see if the example Contacts application from the Wukix github works or not.

Advertisements

2 thoughts on “mocl: first impressions

  1. How about “second impression”? Was mocl worth it’s money, did you manage to run Contacts example?

    1. Sadly, my main contract at the time didn’t leave me with the free time to fully enjoy and explore mocl, or examine the many updates that it has received since. We plan on using mocl at my current start-up, though; and of course I will be reviewing it thoroughly for inclusion in Part Three of Learn Lisp The Hard Way.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s