Andrew Lentvorski has ported Gambit Scheme to run on the Nintendo DS (no longer available). It seems to include access to the DS wireless functionality to run a REPL over a socket.