Commit Graph

17 Commits

Author SHA1 Message Date
jess 3645df0dac bugs 2026-06-05 22:17:08 -07:00
jess 497323bb00 bugfixes 2026-06-04 11:53:34 -07:00
jess 7112564d9d extend eval and highlight rule permissivity 2026-05-30 23:04:26 -07:00
jess d30420324a - prelude_overrides: plugins may swap the compiler's built-in runtime helpers for their own.
- decompose_module + read_module_source: compiles a module straight from a disk path.
2026-05-30 18:52:43 -07:00
jess 6c3066fa1d decomposer/compiler 2026-05-30 15:58:00 -07:00
jess 9f2e2ff687 modular-module extension framework continued 2026-05-30 14:54:53 -07:00
jess 853a9fd0cc v2 acord core 2026-05-30 12:20:25 -07:00
jess cccb0378cb interp.rs -> interp/ module
modular extensibility including configurable module paths
2026-05-30 11:42:19 -07:00
jess 5d40b4047a fix array bug with string concat in display 2026-05-28 04:33:49 -07:00
jess 2111fcac62 rand() and .rand()
see wiki for details
2026-05-28 03:09:36 -07:00
jess 24958d4896 Syntax highlighting bug fix for external.
Also timing for tree-sitter checks
2026-05-28 02:56:36 -07:00
jess e9c2b9ed80 Impl, Trait 2026-05-26 18:24:23 -07:00
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 56d2b3ce9a - Add printing
- Beginning of iPad port
2026-05-04 13:09:37 -07:00
jess 8111a8164a Implemented Docs Browser for Windows and Linux 2026-04-29 02:21:10 -07:00
jess 46b4b7865d Whoops probably time to refer to a place that exists outside of my disk for the core dependencies. 2026-04-17 21:54:35 -07:00
jess 18ff0a0525 Initial commit 2026-04-15 02:39:18 -07:00