abuse
ferret
abuse | ferret | |
---|---|---|
4 | 8 | |
44 | 1,057 | |
- | - | |
0.0 | 0.0 | |
almost 9 years ago | over 1 year ago | |
C | Makefile | |
- | 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.
abuse
-
Ask HN: Interesting source code/What's some interesting code you've read lately?
[2] https://github.com/videogamepreservation/abuse
-
Good open source games written in C?
Rogue, nethack, and Abuse come to mind, and then pretty much all the old id software stuff, along with the raven engine. These SDL tutorials might be of interest to you too, they are basically in the format of game sources with detailed explanations.
-
DOS games with source code
Abuse
- uLisp
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?
llvm-cbe - resurrected LLVM "C Backend", with improvements
janet - A dynamic language and bytecode vm
terra - Terra is a low-level system programming language that is embedded in and meta-programmed by the Lua programming language.
ulisp - A version of the Lisp programming language for ATmega-based Arduino boards.
tinyscheme - TinyScheme is easy to learn and modify. It is structured like a meta-interpreter, only it is written in C.
Carp - A statically typed lisp, without a GC, for real-time applications.
chocolate-doom-nx - Chocolate Doom for the Nintendo Switch
Lua-RTOS-ESP32 - Lua RTOS for ESP32
ecl
etaoin - Pure Clojure Webdriver protocol implementation
raylib-games - A collection of games made with raylib
Fennel - Lua Lisp Language