Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 57s
New lib/datalog/api.sx: dl-program-data facts rules takes SX data lists. Rules accept either dict form or list form using <- as the rule arrow (since SX parses :- as a keyword). dl-rule constructor for the dict shape. dl-assert! adds a fact and re-saturates; dl-retract! drops EDB matches, wipes all rule-headed IDB relations, and re-saturates from scratch — simplest correct semantics until provenance tracking arrives. 9 API tests cover ancestor closure via data, dict-rule form, dl-rule constructor, incremental assert/retract, cyclic-graph reach, assert into empty, fact-style rule (no arrow), dict passthrough.
29 lines
919 B
Plaintext
29 lines
919 B
Plaintext
# Datalog conformance config — sourced by lib/guest/conformance.sh.
|
|
|
|
LANG_NAME=datalog
|
|
MODE=dict
|
|
|
|
PRELOADS=(
|
|
lib/datalog/tokenizer.sx
|
|
lib/datalog/parser.sx
|
|
lib/datalog/unify.sx
|
|
lib/datalog/db.sx
|
|
lib/datalog/builtins.sx
|
|
lib/datalog/aggregates.sx
|
|
lib/datalog/strata.sx
|
|
lib/datalog/eval.sx
|
|
lib/datalog/api.sx
|
|
)
|
|
|
|
SUITES=(
|
|
"tokenize:lib/datalog/tests/tokenize.sx:(dl-tokenize-tests-run!)"
|
|
"parse:lib/datalog/tests/parse.sx:(dl-parse-tests-run!)"
|
|
"unify:lib/datalog/tests/unify.sx:(dl-unify-tests-run!)"
|
|
"eval:lib/datalog/tests/eval.sx:(dl-eval-tests-run!)"
|
|
"builtins:lib/datalog/tests/builtins.sx:(dl-builtins-tests-run!)"
|
|
"semi_naive:lib/datalog/tests/semi_naive.sx:(dl-semi-naive-tests-run!)"
|
|
"negation:lib/datalog/tests/negation.sx:(dl-negation-tests-run!)"
|
|
"aggregates:lib/datalog/tests/aggregates.sx:(dl-aggregates-tests-run!)"
|
|
"api:lib/datalog/tests/api.sx:(dl-api-tests-run!)"
|
|
)
|