Files
rose-ash/lib/prolog/scoreboard.md
giles 2075db62ba
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
Add :- to op table (prec 1200 xfx); enable assert/asserta/assertz with rule terms
- parser.sx: add (":-" 1200 "xfx") to pl-op-table so (head :- body) parses
  inside paren expressions (parens reset prec to 1200, allowing xfx match)
- parser.sx: extend pl-token-op to accept "op" token type, not just "atom",
  since the tokenizer emits :- as {:type "op" :value ":-"}
- tests/assert_rules.sx: 15 new tests covering assertz/asserta with rule
  terms, conjunction in rule body, recursive rules, and ordering
- conformance.sh: wire in assert_rules suite
- 456 → 471 tests, all passing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 13:22:09 +00:00

951 B

Prolog scoreboard

471 / 471 passing (0 failure(s)). Generated 2026-04-25T13:21:37+00:00.

Suite Passed Total Status
parse 25 25 ok
unify 47 47 ok
clausedb 14 14 ok
solve 62 62 ok
operators 19 19 ok
dynamic 11 11 ok
findall 11 11 ok
term_inspect 14 14 ok
append 6 6 ok
reverse 6 6 ok
member 7 7 ok
nqueens 6 6 ok
family 10 10 ok
atoms 34 34 ok
query_api 16 16 ok
iso_predicates 29 29 ok
meta_predicates 25 25 ok
list_predicates 33 33 ok
meta_call 15 15 ok
set_predicates 15 15 ok
char_predicates 27 27 ok
io_predicates 24 24 ok
assert_rules 15 15 ok

Run bash lib/prolog/conformance.sh to refresh. Override the binary with SX_SERVER=path/to/sx_server.exe bash ….