dreamstack/compiler
enzotar 6368b798cf feat: v2 module system — import/export with multi-file compilation
Syntax:
  import { Counter, shared_count } from "./shared"
  export let shared_count = 0
  export component Counter = ...

Implementation:
- Lexer: Import, Export keywords
- AST: ImportDecl(names, source), Export(name, inner_decl)
- Parser: parse_import_decl, parse_export_decl
- CLI: resolve_imports() — recursive file resolution, dedup, inline

Resolves relative paths, adds .ds extension, handles transitive imports.
110 tests, 0 failures.
2026-02-25 20:36:18 -08:00
..
ds-analyzer feat(compiler): complete bitstream integration — all 9 changes 2026-02-25 13:26:59 -08:00
ds-cli feat: v2 module system — import/export with multi-file compilation 2026-02-25 20:36:18 -08:00
ds-codegen feat: v2 built-in functions — 90+ native functions 2026-02-25 20:30:08 -08:00
ds-layout feat(compiler): complete bitstream integration — all 9 changes 2026-02-25 13:26:59 -08:00
ds-parser feat: v2 module system — import/export with multi-file compilation 2026-02-25 20:36:18 -08:00
ds-types feat: v2 phase 1 — array access, timer, string interpolation 2026-02-25 19:20:20 -08:00