Commit Graph

5 Commits

Author SHA1 Message Date
jess 1a0508bc06 This is a complete overhaul.
- New decomposer / Compiler pre-processor
- New Decomposer Public API allows custom external extensions of acord-core to provide their own DecomposeHook impl to extend what the compiler knows
- .dot traversal of Stucts, etc.
- Public Externs
- Regex find and replace — capture groups ($1-$9)
- Performance: syntax ident caching — moved scan_user_idents out of the per-frame render loop, cached on EditorState, recomputed on text change only
  - Performance: incremental highlighter rebuild — editor mode skips classify_document and tree-sitter when line count unchanged
  - Performance: minimap caching — classify_text cached, no longer computed every frame
  - Use declaration support in the decomposer — emits mod/use statements, returns a Dependency list for recursive decomposition of referenced notes
- Tons of new operators (below)

  HOFs (closure-like, take a function name):
  - map, filter, reduce, fold, flat_map
  - iter (with callback)
	-peek (custom, allows optional arg1 to specify how far to look-ahead. uses a custom ringbuf function)
  - all, any, find
  - sort (with optional comparator)

  Collection ops:
  - peek (with optional look-ahead)
  - window, zip, chunk
  - take, skip/drop
  - flatten, distinct/unique

  Aggregates:
  - sum, avg, min, max, count, std_devp, std_devs
  - range
2026-05-26 10:46:40 -07:00
jess 4e3dfd8e85 ive lost track. but this needs to happen. because ive lost track. 2026-05-09 22:08:49 -07:00
jess 07550b5c31 Reorganized structure of files. Transitioned macos to new implementations of browser viewer and settings menu that are shared across all platforms now. 2026-04-29 19:37:00 -07:00
jess a82e52d06b The was a single linux build warning. It turned out to be a hydra. It's probably dead now. 2026-04-28 23:02:14 -07:00
jess bae246f08d Build scripts and flow resituated for better organization & Implementing cross compilation utilities. 2026-04-28 15:53:20 -07:00