Clojure on Fennel part one: Persistent Data Structures
Summary
Andrey Listopadov explores bringing Clojure-like features to a Lua runtime via fennel-cljlib, and introduces ClojureFnl, a Clojure-to-Fennel compiler. Part one focuses on persistent data structures (HAMT-based maps/sets, bit-partitioned vectors, a persistent red-black tree, and lazy lists with a persistent queue), discusses design trade-offs and performance benchmarks against Lua tables, and outlines the goal of providing a Clojure-style API in Fennel.