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 9c7053d2dc I win. Wingdings has an icon finally. There, Windows is supported now. Im gonna leave it at that, if someone is willing to test more thoroughly, great. Ill wait until someone actually ASKS for it to work on windows before I go any further tho. It seems like it works fine. 2026-04-17 23:13:00 -07:00
jess 9ecb30574b WAR 2026-04-17 23:07:24 -07:00
jess 2c3e9b06c2 Hmmm. This is war 2026-04-17 22:59:56 -07:00
jess 5e774c432e HMMM ICON 2026-04-17 22:53:49 -07:00
jess eec110e81a Hmm icon. 2026-04-17 22:48:52 -07:00
jess 6be17a4619 Wrap keys and menus, fix icon, add subsystem to executable. 2026-04-17 22:18:43 -07:00
jess 056c90145b Generate .ico from SVG on Windows release builds. 2026-04-17 20:27:53 -07:00