2 Commits
Author SHA1 Message Date
adrien d53f92482d feat: switch from C to LLVM IR code generation
- Replace all C code generation with LLVM IR (flat DFA model with
  bb_ prefix labels to avoid SSA value name collisions)
- Remove c.min.js, add llvm.min.js highlight.js language definition
- Update shell.nix: gcc -> clang, remove sdl3/mesa deps
- Download LLVM Language Reference to docs/llvm/LangRef.html
- Rename #c-code to #ir-code in HTML, JS, and CSS
- Replace _generateIncludes with _generateLLVMDecls for extern
  function declarations using LLVM_DECL_MAP
- Add string pool (CodeGen.allocString, stringGlobal, llvmStringArg)
  for LLVM IR global string constants with getelementptr references
2026-06-23 03:39:22 +02:00
adrien 087c836c60 restructure: move icons into libraries/, vendor files out of git
- lib-icons/ -> libraries/icons/ (C library icon SVGs stay with their libs)
- libraries/highlight/ -> vendor/highlight/ (not committed, downloaded)
- lib/mathjax/ -> vendor/mathjax/ (not committed, downloaded)
- vendor/download.sh fetches highlight.js v11.10.0 and MathJax v3.2.2
- index.html paths updated to vendor/
- .gitignore ignores vendor/* (except download.sh)
- Removes ~1.2MB of binary font files from git tracking
2026-06-22 18:35:45 +02:00