News for hackers. Stuff that matters.
Re:XKCD commemerates GeoCities by callahad on Monday October 26, 2009 @01:00AM (#902664)
The source of the page has a few hidden gems, including:

    <SCRIPT LANGUAGE='SCHEME'>
    (define (eval exp env)
      (cond ((self-evaluating? exp) exp)
            ((variable? exp) (lookup-variable-value exp env))
            ((quoted? exp) (text-of-quotation exp))
            ((assignment?  exp) (eval-assignment exp env))
            ((definition? exp) (eval-definition exp env))
            ((if? exp) (eval-if exp env))
            ((lambda? exp) (make-procedure (lambda-parameters exp) (lambda-body exp) env))
            ((begin? exp) (eval-sequence (begin-actions exp) env))
            ((cond? exp) (eval (cond->if exp) env))
            ((application? exp)  (apply (eval (operator exp) env) (list-of-values (operands exp) env)))
            (else (error "Common Lisp or Netscape Navigator 4.0+ Required" exp))))
    </SCRIPT>
Re:XKCD commemerates GeoCities by garply on Monday October 26, 2009 @02:33AM (#902719)
He should be prompting for R5RS, not Common Lisp.
Re:XKCD commemerates GeoCities by zemoo on Monday October 26, 2009 @01:15PM (#903614)
why not R6RS?