Tuesday, September 15, 2009

schemix




Schemix is a Scheme system, implemented as a patch to the Linux kernel. lol!


$ cat /dev/schemix

$ echo "(+ 1 2 3)" > /dev/schemix
$ cat /dev/schemix
6
$ cat > /dev/schemix
(define foo (kernel-lambda (char*) printk))
(foo "Blah, blah, blah")

$ dmesg | tail -n 1
Blah, blah, blah


Now that's my kind of GUI. "cat" to write a program.