Commit Graph

6 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 62f5d6212e Modes menu group and submenu items:
Free (prettyu much implemented)
Relative (also pretty close)
Anchored (will take more than the afformentioned two, more to come)
2026-05-10 00:36:18 -07:00
jess 56d2b3ce9a - Add printing
- Beginning of iPad port
2026-05-04 13:09:37 -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 21c2aa8e95 Document Browser Re-design replaced MacOS' Swift version and unifies all 3 platforms under one implementation. 2026-05-01 13:57:59 -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