ulisp-builder
ferret
ulisp-builder | ferret | |
---|---|---|
2 | 8 | |
20 | 1,057 | |
- | - | |
2.8 | 0.0 | |
about 1 year ago | over 1 year ago | |
Common Lisp | Makefile | |
MIT License | BSD 2-clause "Simplified" License |
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-builder
-
uLisp wireless message display with a Pi Pico W
There is a uLisp Builder that generates platform-specific builds from a single codebase.
> The uLisp Builder is a set of programs written in Common Lisp to allow you to build a version of uLisp for a particular platform from a common repository of source files.
> The aim of the Builder was to make it easier to maintain uLisp across multiple platforms. Where the C function for a particular uLisp feature is identical on all platforms there is just a single occurrence of that source in the Builder repository.
uLisp Builder - http://www.ulisp.com/show?3F07
GitHub repo - https://github.com/technoblogy/ulisp-builder
---
uLisp for STM32 boards - http://www.ulisp.com/show?29ST
Repo - https://github.com/technoblogy/ulisp-stm32
-
uLisp
I'm a big fan of uLisp, got it running on an ESP8266. Love how the whole language fits in a single file, making it easy to hack around.
Recently I learned how the author generates the uLisp variants for different platforms using Common Lisp:
https://github.com/technoblogy/ulisp-builder
..And an accompanying article to describe how it works:
uLisp Builder - http://www.ulisp.com/show?3F07
Also, a treasure trove of other Arduino and AVR projects by the author here:
http://www.technoblogy.com/
ferret
- How to Write a (Lisp) Interpreter (In Python)
-
Ferret: A functional, lazy language for realtime embedded control systems
Seems like there has been no development since 2020 - https://github.com/nakkaya/ferret
-
Literate programming: Knuth is doing it wrong
The whole of ferret's source code is in a single org-mode file, following the literate programming style: https://github.com/nakkaya/ferret/blob/master/ferret.org
- Clojure – Differences with Other Lisps
-
Learning Clojure made me return back to C/C++
fyi there's some middle ground via ferret if you want to mix the two in the future. I think janet lang is more full featured, borrowing ideas from clojure while targeting simple embedding alongside c.
-
uLisp
Another commenter already mentioned Gambit Scheme. That provides for inline C and therefore very easy interop with external libraries. It still has a runtime and GC though - those might pose a problem depending on your platform and task.
Ferret (https://github.com/nakkaya/ferret) and Carp (https://github.com/carp-lang/Carp) are both Lisp-like low level languages. Both seem to be fairly experimental in nature though.
> anything but C
Taking you literally, Rust and D can both compile for bare metal. D in particular has a "Better C" subset. (https://dlang.org/spec/betterc.html)
In the same vein, Terra is a C like language (manual memory management) that you metaprogram with Lua. (https://github.com/terralang/terra)
Taking you very literally, Forth is also an option.
-
Writing a whole program in Org Mode
Impressive. Wonder how the performance in Emacs will be with a file this big... org source file
What are some alternatives?
ulisp - A version of the Lisp programming language for ATmega-based Arduino boards.
janet - A dynamic language and bytecode vm
abuse - Abuse (1995) by Crack dot Com
llvm-project - Fork of LLVM with Xtensa specific patches. To be upstreamed.
Carp - A statically typed lisp, without a GC, for real-time applications.
esprit - ClojureScript on the ESP32 using Espruino
Lua-RTOS-ESP32 - Lua RTOS for ESP32
ecl
etaoin - Pure Clojure Webdriver protocol implementation
tinyscheme - TinyScheme is easy to learn and modify. It is structured like a meta-interpreter, only it is written in C.
Fennel - Lua Lisp Language