Skip to content

LISP Interpreter for ESP8266 Microcontroller

Photo of Jonas S Karlsson
Hosted By
Jonas S K. and Tomas T.
LISP Interpreter for ESP8266 Microcontroller

Details

Implementations aspects of a fast+efficient lisp interpreter for an embedded IoT wifi computer device

ESP8266 is revolutionizing the IoT business, it's a 1-2 USD, one-chip computer, with built in Wifi, RAM (~90KB), GPIO, RS232, I2C, SPI, flash (4MB) on the size of 1cm x 2cm!

You can program it using C/Lua/python/javascript.

I found that Lua was too costly, so I embarked on implementing an efficient (storage+speed) lisp.

Agenda

  1. esp8266 is what?
  2. intro to lisp in X < 10 slides
  3. simply lisp
  4. eval/apply
  5. functions
  6. tail recursions optimizations (don't blow the stack)
  7. saving bytes, bits, mallocs
  8. storing data in 0 bytes!
  9. lisp-machine/home-computer

https://github.com/yesco/esp-lisp

as per https://hkfp.hackpad.com/Hong-Kong-Functional-Programming-Meetup-Info-Future-Talks-SGDpOEpTEYH

Photo of Hong Kong Functional Programming Group group
Hong Kong Functional Programming Group
See more events