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
+1 -1
View File
@@ -1,4 +1,4 @@
# Simplified core.async for Clojure/Nim
# Simplified core.async for Bara Lang
# Provides channels with put!/take!/close! and go blocks
import deques, locks
+1 -1
View File
@@ -1,5 +1,5 @@
# Persistent Map — Hash Array Mapped Trie (HAMT)
# Clojure-style 32-way branching with structural sharing
# Bara Lang-style 32-way branching with structural sharing
# Takes pre-computed hashes and equality functions from callers
import hashes
+1 -1
View File
@@ -1,5 +1,5 @@
# Persistent Vector — Hash Array Mapped Trie
# Clojure-style 32-way branching with structural sharing
# Bara Lang-style 32-way branching with structural sharing
type
PVecNode*[T] = ref object
+1 -1
View File
@@ -481,7 +481,7 @@ proc cljNumEq*(args: seq[CljVal]): CljVal =
cljBool(true)
proc cljEqual*(a, b: CljVal): bool =
## Clojure = equality: structural equality for all types, numeric equality for numbers
## Bara Lang = equality: structural equality for all types, numeric equality for numbers
if a.isNil and b.isNil: return true
if a.isNil or b.isNil: return false
if a.kind != b.kind:
+1 -1
View File
@@ -1,4 +1,4 @@
# Minimal Clojure runtime for JavaScript target
# Minimal Bara Lang runtime for JavaScript target
# No C FFI, no threads, no processes — just plain Nim/JS
type