4739e2c151
Update README and architecture docs to emphasize: - Complete independence from Java ecosystem (JVM, GraalVM, Closure) - Native HAMT persistent data structures built from scratch in Nim - Multi-target compilation (native, shared lib, WASM, JS) - AI-native tooling and concurrency without JVM threads Updates both English and Bulgarian documentation.
39 lines
1.8 KiB
Markdown
39 lines
1.8 KiB
Markdown
# Clojure/Nim Documentation
|
|
|
|
> A Clojure dialect that compiles to Nim → C → native binaries.
|
|
> **The only standalone Clojure implementation completely free from the Java ecosystem.**
|
|
|
|
## Choose Language / Избор на език
|
|
|
|
| 🇬🇧 English | 🇧🇬 Български |
|
|
|------------|-------------|
|
|
| [English Documentation](en/index.md) | [Българска Документация](bg/index.md) |
|
|
|
|
## Quick Links
|
|
|
|
- **GitHub/GitLab:** [lisp-nim](https://gitlab.com/balvatar/lisp-nim)
|
|
- **Build:** `make build && make check`
|
|
- **Tests:** 276+ tests across 8 test suites
|
|
- **AI Integration:** DeepSeek API, OpenAI-compatible, Xiaomi MiMo
|
|
|
|
## Why Clojure/Nim?
|
|
|
|
Unlike every other Clojure dialect, Clojure/Nim has **zero dependency on the Java ecosystem** — no JVM, no GraalVM, no Google Closure Compiler, no Java standard library.
|
|
|
|
| Dialect | Java Ecosystem Dependency |
|
|
|---------|---------------------------|
|
|
| Clojure (JVM) | Full — runs on JVM |
|
|
| ClojureScript | Heavy — Google Closure Compiler |
|
|
| Babashka | Medium — GraalVM native-image |
|
|
| **Clojure/Nim** | **None — completely standalone** |
|
|
|
|
### Unique Advantages
|
|
|
|
1. **Native HAMT Persistent Data Structures** — Built from scratch in Nim (Persistent Vector, Map, Set with structural sharing)
|
|
2. **Multiple Targets** — Native binary, shared library (.so/.dll), WASM, and JavaScript from one codebase
|
|
3. **AOT Compiler** — Clojure → Nim → C → native, running at C speed
|
|
4. **Nim/C Interop** — Direct FFI without JVM bridging overhead
|
|
5. **AI-Native Tooling** — Built-in AI integration for code generation, optimization, and debugging
|
|
6. **Concurrency Without JVM** — Atoms, Agents, and core.async channels without Java threads
|
|
7. **Tiny Binaries** — Single executables under 1MB with no runtime dependencies
|