chore: rebrand Clojure/Nim → Bara Lang across codebase

- Bulk replace Clojure/Nim → Bara Lang in src/, lib/, examples/, benchmarks/,
  experiments/, books/, LICENSE, cljnim.nimble, PLAN.md, AI_AGENT.md
- Rename book chapters: 05-clojure-nim.md → 05-bara-lang.md (en + bg)
- Update all chapter index links and anchors
- Replace project-specific 'Clojure' references with 'Bara Lang' in
  experiments/, src/ai_assist.nim, src/tui_screens.nim, src/emitter.nim,
  src/reader.nim, src/types.nim, lib/cljnim_runtime*.nim
- Keep legitimate JVM Clojure/ClojureScript/Clojure CLR references intact
This commit is contained in:
2026-05-11 12:23:29 +03:00
parent 606605c95c
commit 79cd9c08d8
41 changed files with 128 additions and 128 deletions
+8 -8
View File
@@ -1,4 +1,4 @@
# Clojure/Nim Experiments
# Bara Lang Experiments
Unconventional compilation targets that JVM Clojure cannot do.
@@ -10,7 +10,7 @@ Unconventional compilation targets that JVM Clojure cannot do.
| `native-lib/` | ✅ Working | Clojure → Nim → C shared library (.so) |
| `wasm-target/` | 🏗️ Skeleton | Clojure → Nim → WASM via Emscripten |
## web-target — Clojure in the Browser
## web-target — Bara Lang in the Browser
```bash
cd web-target
@@ -19,9 +19,9 @@ node -e "require('./build/math.js'); console.log(jsSquare(7))"
# → 49
```
**Unique:** No JVM, no JavaScript source code — pure Clojure compiled to JS.
**Unique:** No JVM, no JavaScript source code — pure Bara Lang compiled to JS.
## native-lib — Clojure as a C Library
## native-lib — Bara Lang as a C Library
```bash
cd native-lib
@@ -31,9 +31,9 @@ cd test_client && make && LD_LIBRARY_PATH=../build ./test_client
# → c_factorial(5) = 120
```
**Unique:** Call Clojure functions from Python, Rust, Go, C via FFI.
**Unique:** Call Bara Lang functions from Python, Rust, Go, C via FFI.
## wasm-target — Clojure at Native Speed in Browser
## wasm-target — Bara Lang at Native Speed in Browser
```bash
cd wasm-target
@@ -42,14 +42,14 @@ cd wasm-target
# Open www/index.html in browser
```
**Unique:** Clojure running as WebAssembly — faster than ClojureScript, smaller than JVM.
**Unique:** Bara Lang running as WebAssembly — faster than ClojureScript, smaller than JVM.
## Architecture
All experiments share the same pipeline:
```
Clojure Source (.clj)
Bara Lang Source (.clj)
cljnim compile-lib