ferret
sci
ferret | sci | |
---|---|---|
8 | 20 | |
1,065 | 1,182 | |
- | 1.4% | |
0.0 | 7.2 | |
almost 2 years ago | 10 days ago | |
Makefile | Clojure | |
BSD 2-clause "Simplified" License | Eclipse Public License 1.0 |
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.
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
sci
-
What's the value proposition of meta circular interpreters?
I've tried researching this myself and can't find too much. There's this project metaes which is an mci for JS, and there's the SCI module of the Clojure babashka project, but that's about it. I also saw Triska's video on mci but it was pretty theoretical.
- Sci: Configurable Clojure/Script interpreter suitable for scripting
-
Windmill: Open-source developer platform to turn scripts into workflows and UIs
https://github.com/babashka/SCI if it's a requirement for proper sandboxing
-
Embedding cherry in an existing CLJS app for runtime eval
Since cherry is a compiler, the code generally runs faster than with SCI which is an interpreter. For many cases SCI is fast enough, but numerical computations in a hot loop isn't one of its strenghts:
-
Compiled and Interpreted Languages: Two Ways of Saying Tomato
Startup and sustained performance are absolutely implementation issues. For example, SBCL will take its sweet time to make machine code out of Common Lisp, but CLISP will interpret and generate bytecode. Both are useful, and both implement the same language. Clojure on the JVM takes also takes plenty of time to start up, so some use an interpreter instead. Furthermore neither of these languages has a cost model, so the cost of anything is an implementation issue.
- Show HN: Programming Google Flutter with Clojure
-
Third party integrations with a monolithic Clojure app
So far we have relied on an increasing number of home-grown integration points to our platform, where relevant combined with the excellent SCI (so we can write some Clojure-code when adhoc data conversions / calculations / tweaking is required).
-
Scala native equivalent to Clojure
Also take a look at SCI, https://github.com/babashka/sci/blob/master/doc/libsci.md
-
Langdev in Clojure
You probably want to take a look at sci if you are creating a DSL or want to use Clojure itself as your DSL.
-
ClojureRS – Clojure interpreter implemented in Rust
Built with the lovely SCI library (https://github.com/babashka/sci) + GraalVM, probably the most useful GraalVM project I've seen in the wild so far.
Also, Babashka will probably always support more features than ClojureRS could ever, particularly the interop with the various Java classes/functions, as that'd be very hard to achieve in ClojureRS.
What are some alternatives?
janet - A dynamic language and bytecode vm
clojure-lsp - Clojure & ClojureScript Language Server (LSP) implementation
ulisp - A version of the Lisp programming language for ATmega-based Arduino boards.
tailwindcss-typography - Beautiful typographic defaults for HTML you don't control.
Carp - A statically typed lisp, without a GC, for real-time applications.
hotwire-rails - Use Hotwire in your Ruby on Rails app
Lua-RTOS-ESP32 - Lua RTOS for ESP32
mdx - Markdown for the component era
etaoin - Pure Clojure Webdriver protocol implementation
rich4clojure - Practice Clojure using Interactive Programming in your editor
Fennel - Lua Lisp Language
babashka - Native, fast starting Clojure interpreter for scripting