Commit Graph

8 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 ba983e3776 - Mini-map initial implements
- Improved editor mode rendering efficiency when editing large files (10k+ locs)
2026-05-10 19:38:58 -07:00
jess 6001b41fab Oh so you'd like a graphics backend, is that right, linux?
Also I made sidecar a bit less aggro.
2026-05-02 20:24:58 -07:00
jess e8a7f655ec Fixed the View mode bugs I'd been putting off. Added build scripts. 2026-04-26 19:59:42 -07:00
jess 313b25a522 tables bugs 2026-04-20 06:27:32 -07:00
jess 43c1698797 Lasagna hat. Uh... no, it was tables which got some sorting sorted out, fixed the gutter to be drawn with the rest of the compositor's sweep. 2026-04-19 17:08:17 -07:00
jess 03284a694e Switched to Oklab color space + a few other tricks to get Cosmic Text + wgpu to bend to my will.
Fixed VIM mode + added rainbow formula to gutter since it worked so great for args/terms.
2026-04-16 15:28:22 -07:00
jess 18ff0a0525 Initial commit 2026-04-15 02:39:18 -07:00