cloture
clojerl
cloture | clojerl | |
---|---|---|
8 | 12 | |
371 | 1,634 | |
- | 0.3% | |
4.5 | 5.1 | |
7 months ago | 6 months ago | |
Common Lisp | Erlang | |
- | 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.
cloture
-
Trouble defining a Lisp-1 DSL in Common Lisp
For reference, and to show that it's possible, you might be interested in how I did this for Cloture (Clojure in CL): https://github.com/ruricolist/cloture/blob/master/clojure/core.lisp
-
The Jank Language: LLVM Hosted Clojure
Why not use something like https://github.com/ruricolist/cloture (a Clojure "adapter" that runs on Common Lisp) if you want that?
- Cloture – Implementation of Clojure in Common Lisp
- ClojureRS – Clojure interpreter implemented in Rust
- Clojure – Differences with Other Lisps
-
Clojure, but without the JVM?
Clojure on Common Lisp: https://github.com/ruricolist/cloture
- Seeking clojure-styled concurrency operators for common lisp
-
On Repl-Driven Programming
It does not offer the full experience. It has no breakloop and no ability to browse and edit the live running environment. It has no ability to rummage around inside the dynamic environment of a suspended function call, much less to redefine the suspended function or the types of its parameters, nor to restart the suspended call. Indeed, the JVM makes some of that stuff really inconvenient to do.
You cannot do everything from the Clojure repl in the way you can from a Common Lisp repl or from a Smalltalk worksheet.
I don't know that the Clojure language design forbids it; you might, for example, implement Clojure on top of a Lisp or Smalltalk environment and hook up their tools to Clojure through its interop. That might work, and ruricolist has been working on such an implementation called Cloture:
https://github.com/ruricolist/cloture
But existing Clojure implementations don't have the full set of tools.
clojerl
- Really hard convincing colleague to switch to Clojure
-
Clojure Scripting on Node.js
Basically, you take a programming language and make it work on a platform that meant to be programmed using a different PL. Clojure is hosted by design - it's not Java, but can be used to program for JVM. It ain't Javascript, but can be used to target nodejs and browser; not an [official] CLR language, but you can write .Net programs. You can use Clojure to make Flutter apps with ClojureDart. You can integrate Python into Clojure with libpython-clj. Or write Clojure to target Erlang/OTP; or Rust; or R; There's even a clojure-like language for Lua - Fennel.
There's something about Clojure people like so much, they want it to work atop any platform.
https://github.com/Tensegritics/ClojureDart
https://github.com/clj-python/libpython-clj
https://github.com/clojerl/clojerl
https://github.com/clojure-rs/ClojureRS
https://github.com/scicloj/clojisr
https://fennel-lang.org
- On Repl-Driven Programming
-
Which Programming language libraries can Clojure use as its own?
But there are also unofficial implementations—i.e. not JVM, JS, .NET—of Clojure for other host environments, e.g. Clojerl. And of course nearly everything /u/borkdude touches interops with something in some way.
-
CL vs Racket
Tail call optimization/elimination isn't a property of functional languages - there are tons of non-functional languages with it, like Lua or even C, when compiled with -O3, to name a few. Besides, Clojure is a hosted language, so it shares the platform characteristics, and recur is a language-way of providing a construct for tail call looping. Clojure on BEAM for example, supports tail call elimination, because BEAM does. And Beam is a quite functional environment ;)
-
Clojure, but without the JVM?
Clojerl: an implementation for the Erlang VM. The reader conditional is :clje.
- Clojerl 0.9.0 is out with features released in Clojure 1.9, including Spec
- Elixir Protocols vs. Clojure Multimethods
-
haskell elixr or clojure
There's also an unofficial BEAM VM implementation
- London Clojurians talk: Clojure - JVM + BEAM = Clojerl (by Juan Facorro)
What are some alternatives?
janet - A dynamic language and bytecode vm
meander - Tools for transparent data transformation
clj-chrome-devtools - Clojure API for controlling a Chrome DevTools remote
nx - Multi-dimensional arrays (tensors) and numerical definitions for Elixir
etaoin - Pure Clojure Webdriver protocol implementation
joker - Small Clojure interpreter, linter and formatter.
planck - Stand-alone ClojureScript REPL
protocol_ex - Elixir Extended Protocol
ClojureRS - Clojure, implemented atop Rust (unofficial)
lazy-seq - Lazy sequences for Fennel and Lua (mirror)
awesome-clojure-likes - Curated list of Clojure-like programming languages.