jelm
ulisp
Our great sponsors
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.
jelm
- Is APL Dead?
- The Lisp OS “Mezzano” Running Native on Librebooted ThinkPads
-
Learning Common Lisp to beat Java and Rust on a phone encoding problem
I have a bunch of links to ML material for either APL or J. I don't know of any particular library for J. J is interpreted, so it is not as fast as other implementations. I am mainly using it to experiment on concepts and teach myself more ML in J because of the iterative nature of the REPL, and the succinct code. I can keep what's going on in my head, and glance at less than 100 lines, usually 15 lines, of code to refresh it.
There is a series of videos of learning neural networks in APL cited by others here on this thread.
Pandas author, Wes McKinney, cited J as an influence in his work on Pandas.
Extreme Learning Machine in J (code and PDF are here too):
https://github.com/peportier/jelm
Convolutional neural networks in APL (PDF and video on page):
https://dl.acm.org/doi/10.1145/3315454.3329960
A DSL to implement MENACE (Matchbox Educable Noughts And Crosses Engine) in APL (Noughts and Crosses or Tic-tac-toe):
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.
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.
lispBM - An interpreter for a concurrent lisp-like language with message-passing and pattern-matching implemented in C.
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.
BQN - An APL-like programming language. Self-hosted!
llvm-cbe - resurrected LLVM "C Backend", with improvements
qemu_esp32 - Add tensilica esp32 cpu and a board to qemu and dump the rom to learn more about esp-idf
array - Simple array language written in kotlin