- 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