Adam Hinz: The Blog
That's like saying "you don't like apples, so you don't like any fruit at all."
On 2006-06-22 at 6/22/2006 04:29:00 AM...
Scheme/JS interpreter news: I think the bottleneck is in my read function. I forgot how deeply recursive that thing is, and javascript just cannot do it (apparantely, this is especially true in IE).Ideas:
1. CPS the read function? Then maybe trampoline it. I really don't want to do that.
2. I could also try and write an imperative version of it. That's actually how I originally tried to tackle it, but it didn't work so well.
3. Snakes on the plane?
In other news, I've been thinking about the relationship between xml and a scheme list. I was thinking that you could easily represent xml structures as scheme lists. Turns out the people at LAML already did that, but I thought "what the hell" and quickly made my own brief version. I'm not going to upload it now. But I will later.
Anyway, in addition to my summer research project, I've been thinking about programming for the web in a functional language, like Scheme, and right now it seems like it would make a lot of sense. Thankfully, other people seem to think so too (read: paul graham). Also I think that LAML implementation has a cgi module for running Scheme programs through a web server. I think I will attempt that next week.