Files
dimgigov 79cd9c08d8 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
2026-05-11 12:23:29 +03:00

36 lines
1.0 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Bara Lang → WASM Demo</title>
<style>
body { font-family: monospace; max-width: 800px; margin: 40px auto; padding: 20px; background: #1a1a2e; color: #eee; }
h1 { color: #e94560; }
.result { background: #16213e; padding: 15px; margin: 10px 0; border-radius: 5px; }
</style>
</head>
<body>
<h1>⚡ Bara Lang → WASM (Emscripten)</h1>
<p>Bara Lang compiled to Nim, then to WebAssembly via Emscripten.</p>
<div class="result">
<div id="output">Loading WASM module...</div>
</div>
<script>
var Module = {
onRuntimeInitialized: function() {
const out = document.getElementById('output');
out.innerHTML = `
<b>wasmSquare(7)</b> = ${Module._wasmSquare(7)}<br>
<b>wasmFactorial(5)</b> = ${Module._wasmFactorial(5)}<br>
<br>
<i>Bara Lang running at native speed in your browser!</i>
`;
}
};
</script>
<script src="../build/math.js"></script>
</body>
</html>