• rcarmo

    I've been tinkering with Hy and am curious as to how hard it would be to bundle with Pythonista (I haven't really tried running it there yet since I've had very little free time, but it seems feasible since it's pure Python as far as I can see) - and by that I mean adding corresponding syntax highlighting and support for running .hy files as well.

    It's really well integrated with the debugger, and I think this would be an interesting way to cater to the functional programming crowd (as far as I know, there are no modern LISPs running on iOS, at least nothing with this potential).

    posted in Pythonista read more
  • rcarmo

    A little follow-up on this: I can almost get it to run (like I did with clojure-py, I needed to provide my own copy of py_compile), but it crashes Pythonista at the REPL. I suppose there might be something else missing.

    To get it going, I synced the hy and rply folders to Pythonista and used this little script:

    from hy.cmdline import run_repl

    run_repl()

    ...after entering a single expression like (import json), Pythonista crashes.

    posted in Pythonista read more
  • rcarmo

    This is more of a question than anything else, but I'm curious as to whether there are any plans to move from PIL to Pillow (which is a tad fresher and has been replacing PIL for most uses).

    posted in Pythonista read more
  • rcarmo

    I'd like to bump this up. BLE support in Pythonista would be a great educational tool, and judging from WWDC 2012 sessions 703 and 705 the framework is rather simple, so a custom Python module that talked directly to it seems quite doable.

    Judging from sample code like https://developer.apple.com/library/IOS/samplecode/TemperatureSensor/Introduction/Intro.html, we'd need something like a Manager wrapper that exposed status and device enumeration methods, a Peripheral class that exposed the actual device characteristics and sent little messages to and fro.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!