Skip to content

Latest commit

 

History

History
122 lines (106 loc) · 6.23 KB

README.md

File metadata and controls

122 lines (106 loc) · 6.23 KB

LilScript knowledge tree

Parent: docs/README.md. Read top-down. Each level answers a more specific question and links to detail instead of repeating it.

Retrieval Order

  1. Intent: mission explains what the user wants and refuses.
  2. Current truth: docs/current-status.md states what exists, what is green, and what is not yet a win.
  3. Contracts: language-v0.1.md, configuration.md, modules-and-delivery.md, and web-platform.md define public behavior.
  4. Durable rationale: design decisions explain why the architecture chooses contracts, proofs, exact scoring, explicit ABI, and a narrow target representation.
  5. Implementation: current architecture and its topic pages describe the code that exists.
  6. Target and execution: planned architecture and planned migration.
  7. Proof of claims: verification defines valid evidence; evidence links results.
  8. Live work: ledger. Board notes and journals are context, not architecture authority. The size workstream's contract, standings and hypothesis log are in finer/.
  9. Research: research contains experiments and rejected ideas. Load it only when the canonical pages cite a specific finding.

Question Router

Question Start here
Is a proposal consistent with product intent? Mission
What does the language guarantee? Language contract
What does a config key do? Configuration contract
Why is a semantic rule not a codec choice? Contracts before objectives
Why not add a library-specific fold? Typed proofs, not glue
What pipeline exists now? Current architecture
What is the smallest planned replacement? Planned architecture
Is a choice mandatory, ABI-fixed, or scored? Decision registry
How are raw/gzip/Brotli winners selected? Objectives -> candidate search
Is a size number publishable? Verification -> evidence
What should be implemented next? Current status -> migration -> ledger

Domain Tree

Language

Language index

Compilation

Compilation index

Operation

Source Authority Map

Concern Primary source
Grammar and AST src/lexer.rs, src/parser.rs, src/ast.rs
Semantics and effects src/semantic.rs, src/interpreter.rs
Modules/packages src/module.rs, src/package.rs
Typed IR and provenance src/ir.rs, src/lower.rs
Compilation contract/objective/ABI src/compilation_contract.rs, src/config.rs
IR optimization and proofs src/optimizer.rs, src/compress_passes.rs, src/value_analysis.rs
Decision census and families src/decision_registry.rs
Search and orchestration src/compiler.rs
JavaScript emission src/codegen_ir_js.rs, src/js_syntax_target.rs
Generated-JS migration layer src/js_peephole/
Native backend src/codegen_native.rs
Exact codecs src/bin/lilscript-codec.rs, benchmarks/codec-contract.mjs
Semantic verification tests/cases/, src/bin/lilscript-differential.rs
Compression verification comparison/cases/, comparison/algorithms/, comparison/large-libraries/
Release gates scripts/release-check.sh, comparison/run-all.sh