ulisp
lispBM
Our great sponsors
ulisp | lispBM | |
---|---|---|
33 | 3 | |
361 | 74 | |
- | - | |
2.6 | 9.6 | |
12 months ago | 16 days ago | |
C++ | C | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ulisp
- How to Write a (Lisp) Interpreter (In Python)
- Show HN: I Made a Lisp
-
Lisp Badge LE
I love his projects too. He's also the creator of uLisp.
-
Lisp in Space
Not CL, but there is ulisp (http://www.ulisp.com/) for microcontrollers, supposed to be really tiny, and there is Carp (https://github.com/carp-lang/Carp) which is without a GC so seems suitable for real-time stuff.
-
fe: A tiny, embeddable language implemented in ANSI C
There's also ulisp (for Arduino projects etc.): http://www.ulisp.com/
This is larger, because there are functions for accessing peripherals, and the core is more standard lispy with 'caadr' et.al., and it has a compacting GC, so images can be saved as a compact blob.
- ¿Any interpreted lenguage working in low memory microcontrollers?
-
What do you think of Forth?
Agreed - the interactivity is good. Lisp is close (have you seen http://www.ulisp.com/ - I can't believe they got into into that small a target!). Python is ok, but for some reason I don't use the REPL in the same way I do in Forth - I think calling functions is just harder somehow. Mostly is exploring valves from the Python REPL.
For 'hobbists' there are lots of amazing Forths, some examples: Zeptoforth has proper threading primitives, optional FAT SD card support and is MIT licensed (important for semi-commercial binary builds), Mecrisp Forth has a native register-colouring compiler is 20K and supports ARM, RISCV, FPGA and others, Flashforth support AVR and PIC. If you like ESP32, then ESP32Forth (an eForth variant) has a ton of features worth looking at. The interactivity is amazing. Of course on PCs or embedded Linux we can do this with shells and scripting languages with REPL - but with deeply embedded microcontroller the only other thing I've seen that's close is http://www.ulisp.com/ - and although it's amazing to get Lisp this small and the developer has done cool things, mostly it's still a toy project that relies on recompiling and adding to C to do any real work. No where near the maturity of the above Forth systems.
-
Microcontroller-based Lisp machine (minimum language needed)?
Have you looked at uLisp? Or perhaps Mezzano? The latter doesn't run on bare metal yet, but does have arm64 support.
There's also ulisp to take a look at. Might suit some of your needs.
lispBM
-
Microcontroller-based Lisp machine (minimum language needed)?
An ESP32 should be fine, or stm32, or nrf52 for LBM (LispBM). Some RTOS to run it on is recommended, chibios, freertos or zephyr for example (not an absolute requirement). https://github.com/svenssonjoel/lispBM
-
Lisp on embedded DSP device?
I haven't tried it but https://github.com/svenssonjoel/lispBM claims to run on the STM32F4.
What are some alternatives?
ecl
Lua-RTOS-ESP32 - Lua RTOS for ESP32
ferret - Ferret is a free software lisp implementation for real time embedded control systems.
tinyscheme - TinyScheme is easy to learn and modify. It is structured like a meta-interpreter, only it is written in C.
nesper - Program the ESP32 with Nim! Wrappers around ESP-IDF API's.
quickjs-esp32 - QuickJS port for ESP32
beartype - Unbearably fast near-real-time hybrid runtime-static type-checking in pure Python.
qemu_esp32 - Add tensilica esp32 cpu and a board to qemu and dump the rom to learn more about esp-idf
llvm-cbe - resurrected LLVM "C Backend", with improvements
ulisp-builder - Builds a version of uLisp for a particular platform from a common repository of source files
esp8266-quickjs - An attempt on getting QuickJS working on ESP8266 hardware
BLACK_F407VE - MicroPython board definition for the MCUDev Black STM32F407VET6 board