the Design Experience Weblog

Here is some code I borrowed to make emacs work nicely with scheme.

First I installed some stuff
apt-get install mzscheme
apt-get install quack-el

Then I added this to .emacs

;; Start up Scheme
(add-to-list 'load-path "/usr/share/emacs/site-lisp/quack-el")
(setq scheme-program "mzscheme")
(global-set-key [(f5)]
'(lambda ()
(interactive)
(require 'quack)
(run-scheme scheme-program)))
The code fragment borrowed from http://jeffcjensen.net/scheme/_emacs

That link has quite a bit for scheme customization for emacs but I am not sure I will need it that much yet.

I picked mzscheme because I can apt-get install it and the .emacs I borrowed from seems to have some support for it.

Little Scheme

Input Box:

Output Box:

The Little JavaScri pter

09:22 AM, 02 Jan 2008 by dave bauer Permalink | Comments (0)
categories: Programming , Computer Science , Learning Portfolio , Scheme Code

I found a couple of scheme interpreters implemented in Javscript. This makes it possible to show and run example scheme code from SICP right my my weblog. It should be fun. I can complete the exercises from SICP, and post examples with a Scheme interpreter built right into the post.

Scheme Implementation in Javascript by Chris Double and Little Scheme by Douglas Crockford who also wrote The Little JavaScripter a version of The Little Schemer focused on the same concepts implemented in Javascript.

Little Scheme

Input Box:

Output Box:

The Little JavaScri pter

07:24 PM, 26 Nov 2006 by dave bauer Permalink | Comments (1)
categories: Scheme Code

XML

Notifications

You may
request notification for the Design Experience Weblog.

Syndication Feed

XML