Skip to content

History / Tutorial 10 UDFs

Revisions

  • Fix doc drift found by running every datalog example - Per-fact valid time uses a 4th-element map, not a 5-element vector (Cookbook-Bitemporal-Modeling, Datalog-Reference; EBNF fact rule). - Performance-Tuning: fix rule syntax; replace the 3-arity bounded-depth rule (rules take 1 or 2 args, INT-028) with a working per-hop pattern. - Datalog-Reference: document the rule arity limit. - Quoted error messages now match the engine and carry their codes. - Use-Cases/Home: bindings live in their own repos. Android and JVM are io.github.project-minigraf on Maven Central, Swift is minigraf-swift, C tarballs are on minigraf-c releases. Fix imports and dead links. - Architecture: v8 keys are on the v3 branch, not main; document error.rs, magic_sets.rs, browser/, fault_inject.rs; bindings table. - Comparison: ~1.2MB budget; WASM row lists WASM targets only. - Tutorial-01: fix Tutorial-03 link. Refs project-minigraf/minigraf#383, #405, #407 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BBxgR4mnF8VMVGa42idcxx

    @adityamukho adityamukho committed Sep 26, 2026
  • Replaced clojure fences with datalog.

    @adityamukho adityamukho committed May 14, 2026
  • docs: fix window UDF key concepts table — :order-by required in :over clause

    @adityamukho adityamukho committed May 14, 2026
  • docs: fix UDF tutorial — prepared.execute signature, window output, key concepts Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

    @adityamukho adityamukho committed May 14, 2026
  • docs: tutorial section 10 — user-defined functions Adds Tutorial-10-UDFs.md covering register_predicate (valid-promo? filter) and register_aggregate (delivery-score on-time rate), with verified output, runtime-resolution semantics, window clause usage, and key concepts table. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

    @adityamukho adityamukho committed May 14, 2026