SmileBASIC (also known in Japan as Petit Computer 3) is an application for Nintendo 3DS that allows users to write and execute programs written in SmileBASIC, a dialect of BASIC.
There are three ways to share programs:
- Upload to SmileBASIC servers, download using a SmileBASIC key
- Copy source to PC using Rei's PetitModem software (PC mirror, SmileBASIC key
- Type in by hand :-)
A LISP-1 interpreter for SmileBASIC. I hope to eventually build a LISP development environment on top of this. Future features: Improved garbage collection, tail-call optimization, and an interface with native SmileBASIC commands from within LISP.
Sample LISP code with some simple functions:
- 0.4c 2016-02-14: Removed tail-call optimization due to deep memory system bugs. Final version using this codebase. (Key
- 0.4b 2015-11-19: Working tail-call optimization. Optimizes self calls in tail position but still piles onto the heap. A work in progress (Key
- 0.3 2015-10-26: Added PRINT statement and working mark-sweep garbage collection (Key
- 0.1 2015-10-18: Rewrote parts using more SmileBASIC, added LOAD primitive for file input. (Key
- 0.0 2015-10-16: Successfully ported D. Menezes' QBASIC LISP
- 2015-10-15: SmileBASIC is released on the North American 3DS eShop