Scheme on the iPad
web.mac.com
web.mac.com
For example, you touch, and that creates a node.
o
Then you can type something inside that node. Then you drag lines out of it, and you create child nodes, and so on. o-------o
\
\
o
The node doesn't have to be a circle, it could be a long rectangle with atoms inside [ ____ ______ ______ ]
You can drag out an atom to turn it into another node [ _____ ______ ______ ]
|
|
|
|
[ ___ ___ ]However, I don't think they dropped the rule against being able to download code. If this thing lets you load files from the net that are interpreted as Scheme programs, it could be in violation of that rule.
That would be all you need for e.g. Emacs.
Edit: I checked, the rule is a bit unclear but the discussion seemed to be just about downloaded content. Emacs is possible. For a phone, which should be able to handle visa card info etc, I guess this is reasonable.
The server uses the Java AppEngine API. Yes, we did run into issues with requests exceeding the AppEngine timeout. At one point (this may still be true) we were able to compile our compiler on AppEngine. Which brings us to Moby-Scheme, the heart of WeScheme! It's a self-hosting (Scheme -> JavaScript) compiler. [https://github.com/dyoo/moby-scheme]
WeScheme was written in support of BootStrap [http://www.bootstrapworld.org/] an educational initiative aimed at using computer science as a vehicle for teaching algebra to middle-school students.
There is a semi-working structured editor for WeScheme that is a pile of jQuery hooking interactions with content-editable. In retrospect we should have just gone for HTML5. There's also the inkling of a scratch-like interface which is works by swapping in a new style sheet. I'm afraid I can't find the latest version, in my younger days I was a bit sloppy about version control. An older version is available at http://ch4n.org/editor Your mileage may vary.
</shameless plug>
Scratch is an MIT project based on squeak that allows kids to program by dragging blocks in the screen.
And BYOB is an extension to scratch to use functional programming.
However his efforts although were enough to change apple policy, they weren't successful enough to get Scratch to run on the ipad. :-(
Here is a quick summary of the story: http://www.mobilewikiserver.com/Scratch.html http://www.cincomsmalltalk.com/main/2010/12/john-mcintosh-at...