The tiny Visible Lisp Computer uses an ATSAMD21 microcontroller #Lisp #ItsyBitsy #Adafruit @technoblogy @MicrochipMakes

Technoblogy posts their latest version of Lisp on microcontrollers: The Visible List Computer.

Adafruit converted an earlier iteration back in December, 2016 using an ATmega1284 microcontroller. For this build:

It’s a special version of my uLisp interpreter for ARM boards, designed to run on an Adafruit ItsyBitsy M0, or an ATSAMD21E on a prototyping board, interfaced to an I2C OLED display.

VisibleLispComputer2.gif
The Lisp workspace is displayed on a 64×48 OLED display. This is an ideal fit, as uLisp running on an ATSAMD21 gives you a workspace of 3072 free Lisp objects (each of 8 bytes), and the 64×48 display provides 3072 pixels. I chose a low-cost monochrome I2C display. The program would also work on larger SSD1306-based OLED displays, such as the widely available 128×64 ones.

Free Lisp objects are displayed in black, and when an object is in use it is displayed in white. Periodically you see the garbage collection reclaiming used objects that can no longer be accessed.

Perhaps we’ll see a new iteration with the larger Adafruit ItsyBitsy M4 with the ATSAMD51 processor??

See the entire build in the Technoblogy post.



from Adafruit Industries – Makers, hackers, artists, designers and engineers! https://ift.tt/31Pqusu
via IFTTT