Earlier I mentioned that I was working on adapting pre, the minimal interface to Parable, for use with Pythonista on iOS. I'm pleased to announce that this is now done, and ready for use.
To set it up you need to do the following:
- Create a new script named pre.py
- Copy/paste the pre code into this file
- Create a new text file named source.p
- Put your Parable code in this file, then run pre.py to see the results.
It's extremely spartan, but should work well enough to allow Parable code to run offline. This is still subject to memory constraints: I've capped the MAX_SLICES at 8000. Length of the slices is subject to whatever memory is left unused by Pythonista; it should be enough for most programs on reasonibly modern hardware. (I use a device with 1GB of RAM; use on older devices with 512MB may be problematic).
But it's here, and working now. I'd like to eventually fold this into Apologue, but I'm in the early stages of exploring this, and time constraints are making this a slow process.