If you fancy a bit of hacking fun this holiday, visit:
http://lambdalator.nfshost.com/
But remember - you're supposed to be the good guys! :)
Festive hacking
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
This is what it looks like on the iPhone/iPod Touch screen:

The top bit - down to the (* 3 5) - is the newLISP stuff: the rest - previous next etc down to Go - is the iPhone touch keyboard. Typing on this isn't too hard, but there's plenty of switching from one page to another: the parentheses are on the numbers page...
I added an 'again' button. This is supposed to do what pressing the up-arrow once does when you're editing in the newLISP terminal - puts the previous line into the edit box.
It's been cool 'watching' people type stuff into this! (The log stores all the expressions that have been input.) (Hi michael! - hi norman!). I can also see that it's a problem that each expression runs in a new newLISP interpreter session. Unfortunately I can't have persistent processes on this host...(apart from my ssh one).

The top bit - down to the (* 3 5) - is the newLISP stuff: the rest - previous next etc down to Go - is the iPhone touch keyboard. Typing on this isn't too hard, but there's plenty of switching from one page to another: the parentheses are on the numbers page...
I added an 'again' button. This is supposed to do what pressing the up-arrow once does when you're editing in the newLISP terminal - puts the previous line into the edit box.
It's been cool 'watching' people type stuff into this! (The log stores all the expressions that have been input.) (Hi michael! - hi norman!). I can also see that it's a problem that each expression runs in a new newLISP interpreter session. Unfortunately I can't have persistent processes on this host...(apart from my ssh one).
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
Sorry Fanda! I've been working exclusively with Safari and the CSS stuff that they're using, and just copied it. There are lots of strange selectors in the CSS page I don't recognise:
-webkit-text-size-adjust: none;
-moz-box-sizing: border-box;
so I'm not surprised it doesn't work well. The interface for the iPhone is pretty restrictive...!
You've probably gathered by now that I'm really not proficient with CSS! I'll have to come up with some more compatible styles.
It works OK if I remove the stylesheet altogether (there's a nice 1994-style retro-look about it then too). So there's hope...
-webkit-text-size-adjust: none;
-moz-box-sizing: border-box;
so I'm not surprised it doesn't work well. The interface for the iPhone is pretty restrictive...!
You've probably gathered by now that I'm really not proficient with CSS! I'll have to come up with some more compatible styles.
It works OK if I remove the stylesheet altogether (there's a nice 1994-style retro-look about it then too). So there's hope...
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
I've done some more playing, and I think I've made some progress.
This is the iPhone display (not during text entry): horizontal seems to work well here. The buttons are large, but then fingers are too. :)

Both Safari and Firefox pick up a different stylesheet, and this has a textarea which is resizable (although the buttons seem to float about too much. I hate CSS!


That's probably it for "Lisp on an iPhone"! At least, until February, when Apple release their SDK - then we'll get it actually running on an iPhone!
This is the iPhone display (not during text entry): horizontal seems to work well here. The buttons are large, but then fingers are too. :)

Both Safari and Firefox pick up a different stylesheet, and this has a textarea which is resizable (although the buttons seem to float about too much. I hate CSS!


That's probably it for "Lisp on an iPhone"! At least, until February, when Apple release their SDK - then we'll get it actually running on an iPhone!
Last edited by cormullion on Fri Dec 28, 2007 6:10 pm, edited 1 time in total.
I have no experience with iPhone, but I was quite impressed with Android:
http://code.google.com/android/
(see the videos)
News:
http://www.interentnews.com/dev-news/ar ... hp/3710656
http://www.infoworld.com/article/07/11/ ... SDK_1.html
Fanda
http://code.google.com/android/
(see the videos)
News:
http://www.interentnews.com/dev-news/ar ... hp/3710656
http://www.infoworld.com/article/07/11/ ... SDK_1.html
Fanda