The 32-bit version of uLisp for ARM, ESP, and RISC-V microcontroller boards extends its array support to include bit arrays.
Bit arrays will be particularly useful in the microcontroller-based applications that uLisp is aimed at as they can efficiently store the state of digital I/O lines, digital signals, or display pixels. You could use them as the basis for a data logger, low-speed logic analyzer, or other digital application.
uLisp's implementation supports bit arrays with an arbitrary number of dimensions, and packs bit arrays as efficiently as possible, so they take up a factor of 32 less storage than the equivalent-sized integer array.
AVR Version 3.3 - 1st June 2020
ARM Version 3.3a - 1st June 2020
ESP Version 3.3 - 1st June 2020
RISC-V Version 3.3 - 1st June 2020
The AVR, ARM, ESP, and RISC-V versions feature a format function for convenient formatting of printed output (all platforms), multi-dimensional arrays (32-bit platforms), graphics extensions for ARM, ESP8266/32, and RISC-V boards with suitable displays, such as the Adafruit PyGamer and PyBadge, and better support for using uLisp from a serial terminal, including line editing and parenthesis matching.
The AVR version of uLisp still supports the ATmega328P on the Arduino Uno, and in addition now supports the ATmega4809-based Arduino Nano Every.
AVR Version 3.2 - 29th April 2020
ARM Version 3.2 - 29th April 2020
ESP Version 3.2 - 29th April 2020
RISC-V Version 3.2 - 29th April 2020
ARM Version 3.1 of uLisp incorporates an ARM assembler which allows you to generate machine-code functions, integrated with Lisp, written in ARM Thumb code mnemonics.
In addition, Version 3.1 features graceful recovery from stack overflows, support for the CLUE and ItsyBitsy Adafruit nRF52840 boards, support for SPI1 where available, new functions set and boundp, more efficient use of symbols, and in-line comments.
ARM Version 3.1 - 20th February 2020
RISC-V Version 3.1a - 29th March 2020
Version 3.0 features bug fixes. Version 3.0a adds the #. read-time eval macro.
AVR Version 3.0b - 11th January 2020
ARM Version 3.0c - 11th January 2020
ESP Version 3.0b - 11th January 2020
Version 2.9 features improved versions of the mapping functions, and setq and setf. It also incorporates bug fixes affecting trace and return.
The AVR version added support for the ATtiny3216 and ATmega4809 microcontrollers.
AVR Version 2.9c - 2nd October 2019
ARM Version 2.9b - 25th September 2019
STM32 Version 2.9 - 25th September 2019
ESP Version 2.9 - 25th September 2019
Version 2.8 features an overhaul of the error reporting, including better information about the context in which the error occurred, and the value causing the error. For more information see Error Messages.
It also includes an update to the SPI interface, which fixes problems preventing it from working correctly on 32-bit platforms.
AVR Version 2.8a - 6th August 2019
ARM Version 2.8d - 8th September 2019
STM32 Version 2.8a - 6th August 2019
ESP Version 2.8a - 6th August 2019
Version 2.7 updates uLisp to use Lexical Scoping, like current dialects of Lisp including Common Lisp and Scheme. Previously uLisp used Dynamic Scoping, like older dialects of Lisp.
AVR Version 2.7c - 20th June 2019
ARM Version 2.7c - 20th June 2019
STM32 Version 2.7c - 20th June 2019
ESP Version 2.7c - 20th June 2019
MSP430 Version 2.7c - 20th June 2019
Version 2.6 has several new features and bug fixes, including:
- An extension to the Lisp Library to allow you to load individual function or variable definitions with require, and list the contents of the library with list-library.
- Support for optional arguments with default values in function definitions, using the &optional keyword.
- The additional mapcan mapping function.
- Support for saving the Lisp image to an SD card on platforms with an SD card interface, as an alternative to saving it to non-volatile memory (eg. EEPROM or DataFlash).
In addition, there are many bug fixes and minor improvements.
AVR Version 2.6a - 19th April 2019
ARM Version 2.6a - 19th April 2019
STM32 Version 2.6a - 20th April 2019
ESP Version 2.6a - 19th April 2019
MSP430 Version 2.6 - 18th April 2019
Version 2.5 incorporates multiple minor bug fixes. Version 2.5c fixes a bug in printing floating-point numbers. A new STM32 version was released which supported the STM32 Maple Mini and Blue Pill platforms:
AVR Version 2.5 - 30th November 2018
ARM Version 2.5c - 7th February 2019
STM32 Version 2.5c - 7th February 2019
ESP Version 2.5c - 7th February 2019
The ARM version of uLisp now includes support for Adafruit's ATSAMD51-based series of boards: the Adafruit Metro M4, Adafruit ItsyBitsy M4, and Adafruit Feather M4. With 120MHz processors these are now the fastest platforms for running uLisp. For more information see Adafruit Old.
A new ESP version of uLisp was released which supports the popular ESP8266 and ESP32-based boards. The ESP8266/ESP32 version includes wi-fi networking commands to allow you to take advantage of the wi-fi capabilities of the ESP8266 or ESP32 with the convenience of uLisp's compact syntax
The AVR version incorporates minor bug fixes.
AVR Version 2.4 - 9th October 2018
ARM Version 2.4b - 23rd September 2018
ESP Version 2.4 - 11th October 2018
The 32-bit ARM version of uLisp now includes support for floating-point numbers in addition to the 32-bit integers supported in previous versions. Programs using integers will work exactly as in previous versions, and there should be no noticeable change in performance. For more information see Floating-point features.
The ARM, AVR, and MSP430 versions of uLisp also include a new Lisp Library feature, which allows you to compile uLisp with your own Lisp extensions. For more information see Lisp Library.
AVR Version 2.3 - 2nd June 2018
ARM Version 2.3 - 2nd June 2018
MSP430 Version 2.3 - 4th June 2018
uLisp ARM Version 2.2 adds support for the BBC Micro Bit; see BBC Micro:bit. uLisp MSP430 Version 2.2 adds support for the MSP430 FR5994 LaunchPad board.
AVR Version 2.2 - 19th May 2018
ARM Version 2.2a - 21st May 2018
MSP430 Version 2.2 - 19th May 2019
uLisp Version 2.1 reduces the amount of workspace memory used by programs by about 25%. More of the example programs can now be run on an Arduino Uno.
Version 2.1 also adds a sleep function, which puts the processor into low-power mode for a specified time.
ATmega Version 2.1 - 21st April 2018
uLisp Version 2.0 added an SD card interface to allow you to read from and write to SD cards. This allows applications such as:
- Logging data to an SD card.
- Reading and processing data from an SD card.
- Reading uLisp programs from an SD card and adding them to the current workspace.
uLisp ATmega Version 2.0 - 10th February 2018
uLisp SAM/SAMD Version 2.0 - 10th February 2018
uLisp Version 1.9 adds a number of new features, including: support for characters and the character functions char, char-code, code-char, and characterp; additional string functions string<, string>, read-from-string, prin1-to-string, and princ-to-string; the additional I/O functions read-line, write-line, and write-string which support input/output via serial, SPI, and I2C where appropriate; and a sort function.
uLisp ATmega Version 1.9b - 3rd September 2017
uLisp SAM/SAMD Version 1.9a - 9th August 2017
uLisp Version 1.8 allows arbitrary symbol names on platforms with more than the minimum 2Kbytes of RAM.
It also supports the MSP430F5529 and MSP430FR5969 LaunchPad boards, using the Energia IDE.
AVR Version 1.8 - 15th April 2017
uLisp MSP430 Version 1.8 - 15th April 2017
uLisp Version 1.7 adds the pretty printer function pprint, which allows you to print functions in a nicely formatted way, and a trace feature using trace and untrace, allowing you to trace the calls to and returns from up to three functions at a time.
It also fixes a long-standing bug which could give incorrect results when two functions using the same symbols called each other.
uLisp Version 1.7 - 27th March 2017
uLisp Version 1.6 adds the &rest keyword to defun and lambda to allow you to define a function with a variable number of arguments, and adds the string functions concatenate and read-line.
It also improves the efficiency of save-image.
uLisp Version 1.6 - 4th March 2017
uLisp Version 1.5 adds support for strings, allowing you to write programs that prompt the user for input, or manipulate strings. It includes the string functions subseq for extracting a substring from a string, string= for comparing strings, length for finding the length of a string, and stringp for testing for strings. It also includes several minor bug fixes.
1.5a fixes a problem affecting save-image/load-image.
uLisp Version 1.5a - 2nd March 2017
uLisp Version 1.4 adds a built-in program editor edit that lets you step through a function definition, editing it a bit at a time, using a set of simple single-key editing commands you type at the keyboard; see Using the program editor.
It also includes room, which returns the number of free Lisp cells remaining.
uLisp Version 1.4 - 18th October 2016
- Adds setf which allows you to modify lists in place, allowing you to use lists as index-addressible arrays, and use association lists for efficient data storage.
- The other in-place operations push, pop, incf, and decf have been extended in the same way.
- Fixes two bugs that affected append with null arguments, and with-spi.
uLisp Version 1.3 - 24th July 2016
- A simple, unified I2C and SPI interface using read-byte and write-byte to transmit data via the appropriate interface, and streams to identify which interface is being used. For more details see I2C and SPI serial interfaces.
- The bitwise logical operators logand, logior, logxor, lognot, logbitp, and the bitwise shift operator ash.
- 1.2a included a minor change that fixed a subtle problem affecting dolist.
uLisp Version 1.2a - 18th June 2016
- save-image and load-image allow you to save the uLisp image to EEPROM and reload it.
- #x, #o, and #b allow you to enter numbers in hexadecimal, octal, or binary respectively.
- note now supports the ATmega1284P.
uLisp Version 1.1 - 6th June 2016
uLisp Version 1.0 - 25th May 2016