666e29d5f0
tcl: Phase 1 tokenizer — Dodekalogue (52 tests green)
2026-04-25 18:22:10 +00:00
bcf6057ac5
common-lisp: Phase 1 reader + 62 tests (141 total)
...
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
lib/common-lisp/parser.sx — cl-read/cl-read-all: lists, dotted
pairs (a . b) → cons dict, quote/backquote/unquote/splice as
wrapper lists, #' → FUNCTION, #(…) → vector dict, #:foo →
uninterned dict, NIL→nil, T→true, integer radix conversion
(#xFF/#b1010/#o17). Floats/ratios kept as annotated dicts.
lib/common-lisp/tests/parse.sx — 62 tests, all green.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-25 18:15:07 +00:00
8a9c074141
prolog: compile clauses to SX closures (+17)
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 18:08:27 +00:00
13d0ebcce8
common-lisp: Phase 1 tokenizer + 79 tests
...
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
lib/common-lisp/reader.sx — CL tokenizer: symbols with package
qualification (pkg:sym/pkg::sym), integers, floats, ratios, hex/
binary/octal (#xFF/#b1010/#o17), strings with escapes, #\ char
literals (named + bare), reader macros (#' #( #: ,@), line and
nested block comments.
lib/common-lisp/tests/read.sx — 79 tests, all green.
lib/common-lisp/test.sh — test runner (sx_server pipe protocol).
Key SX gotcha: use str not concat for string building.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-25 18:06:30 +00:00
7e7a9c06e9
smalltalk: GNU Smalltalk compare harness; all briefing checkboxes done
Test, Build, and Deploy / test-build-deploy (push) Failing after 11s
2026-04-25 16:32:26 +00:00
75032c5789
smalltalk: block intrinsifier (8 idioms) + 24 tests -> 847/847
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 16:10:27 +00:00
df62c02a21
smalltalk: per-call-site inline cache + 10 IC tests
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 15:30:36 +00:00
5d369daf2b
smalltalk: ANSI X3J20 validator subset + 62 tests -> 813/813
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 14:48:47 +00:00
446a0e7d68
smalltalk: Pharo Kernel/Collections-Tests slice (91 tests) -> 751/751
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 14:14:11 +00:00
788ac9dd05
predsort/3, term_variables/2, arith: floor/ceiling/truncate/round/sign/sqrt/pow
...
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
- pl-eval-arith: add floor, ceiling, truncate, round, sqrt, sign, pow, integer,
float, float_integer_part, float_fractional_part, **, ^ operators
- pl-collect-vars: helper that extracts unbound variables from a term (left-to-right,
deduplicated by var id)
- term_variables/2: dispatches via pl-collect-vars, unifies second arg with var list
- pl-predsort-insert!: inserts one element into a sorted list using a 3-arg comparator
predicate; deduplicates elements where comparator returns '='
- pl-predsort-build!: builds sorted list via fold over pl-predsort-insert!
- predsort/3: full ISO predsort — sorts and deduplicates a list using a caller-supplied
predicate
- lib/prolog/tests/advanced.sx: 21 tests (12 arith, 5 term_variables, 4 predsort)
- conformance.sh: add advanced suite
- scoreboard: 517/517 (was 496/496)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-25 14:13:12 +00:00
537e2cdb5a
sub_atom/5 (non-det substring) + aggregate_all/3 (count/bag/sum/max/min/set)
...
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
Adds two new builtins to lib/prolog/runtime.sx:
- sub_atom/5: non-deterministic substring enumeration. Iterates all
(start, length) pairs over the atom string, tries to unify Before,
Length, After, SubAtom for each candidate. Uses CPS loop helpers
pl-substring, pl-sub-atom-try-one!, pl-sub-atom-loop!. Fixed trail
undo semantics: only undo on backtrack (k returns false), not on success.
- aggregate_all/3: collects all solutions via pl-collect-solutions then
reduces. Templates: count, bag(T), sum(E), max(E), min(E), set(T).
max/min fail on empty; count/bag/sum/set always succeed.
New test suite lib/prolog/tests/string_agg.sx: 25 tests, all passing.
Total conformance: 496/496.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-25 13:50:13 +00:00
0ca664b81c
smalltalk: SUnit port (TestCase/TestSuite/TestResult/TestFailure) + 19 tests
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 13:43:18 +00:00
2075db62ba
Add :- to op table (prec 1200 xfx); enable assert/asserta/assertz with rule terms
...
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
- 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
fa600442d6
smalltalk: String>>format: + universal printOn: + 18 tests
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 13:11:17 +00:00
be2000a048
IO predicates: term_to_atom/2, term_string/2, with_output_to/2, format/1,2, writeln/1
...
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
Adds 6 new built-in predicates to the Prolog runtime and 24 tests covering
term<->atom conversion (bidirectional), output capture, format directives (~w/~a/~d/~n/~~).
456/456 tests passing.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-25 13:00:42 +00:00
04ed092f88
Char predicates: char_type/2, upcase_atom/2, downcase_atom/2, string_upper/2, string_lower/2
...
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
27 new tests, 432/432 total. char_type/2 supports alpha, alnum, digit,
digit(Weight), space/white, upper(Lower), lower(Upper), ascii(Code), punct.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-25 12:41:31 +00:00
15da694c0d
smalltalk: Number tower (Fraction, factorial, gcd:/lcm:, etc.) + 47 tests
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 12:31:05 +00:00
5a83f4ef51
Set predicates: foldl/4, list_to_set/2, intersection/3, subtract/3, union/3
...
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
Adds 5 new built-in predicates to the Prolog runtime with 15 tests.
390 → 405 tests across 20 suites (all passing).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-25 12:22:03 +00:00
47249900f2
smalltalk: Stream hierarchy + 21 tests; test.sh timeout 60s -> 180s
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 12:02:37 +00:00
8f0af85d01
Meta-call predicates: forall/2, maplist/2, maplist/3, include/3, exclude/3
...
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
Adds pl-apply-goal helper for safe call/N goal construction (atom or compound),
five solver helpers (pl-solve-forall!, pl-solve-maplist2!, pl-solve-maplist3!,
pl-solve-include!, pl-solve-exclude!), five cond clauses in pl-solve!, and a
new test suite (15/15 passing). Total conformance: 390/390.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-25 11:59:35 +00:00
8ef05514b5
List/utility predicates: ==/2, \==/2, flatten/2, numlist/3, atomic_list_concat/2,3, sum_list/2, max_list/2, min_list/2, delete/3
...
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
33 new tests, all 375/375 conformance tests passing.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-25 11:37:52 +00:00
496447ae36
smalltalk: HashedCollection/Set/Dictionary/IdentityDictionary + 29 tests
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 11:27:00 +00:00
0823832dcd
Meta/logic predicates: \\+/not/once/ignore/ground/sort/msort/atom_number/number_string (+25 tests, 342 total)
...
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-25 11:06:10 +00:00
3be722d5b6
smalltalk: SequenceableCollection methods (13) + String at:/copyFrom:to: + 28 tests
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 10:58:08 +00:00
0b5f3c180e
smalltalk: Exception/on:do:/ensure:/ifCurtailed: + 15 tests
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 10:31:59 +00:00
8ee0928a3d
ISO predicates: succ/2 + plus/3 + between/3 + length/2 + last/2 + nth0/3 + nth1/3 + max/min arith (+29 tests, 317 total)
...
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-25 10:31:28 +00:00
25a4ce4a05
prolog-query SX API: pl-load + pl-query-all + pl-query-one + pl-query (+16 tests)
...
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-25 09:58:56 +00:00
fdd8e18cc3
smalltalk: Object>>becomeForward: + 6 tests
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 09:54:40 +00:00
3e83624317
smalltalk: Behavior>>compile: + addSelector:/removeSelector: + 9 tests
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 09:30:18 +00:00
f72868c445
String/atom predicates: var/nonvar/atom/number/compound/callable/atomic/is_list + atom_length/atom_concat/atom_chars/atom_codes/char_code/number_codes/number_chars
...
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-25 09:27:08 +00:00
1c4ac47450
smalltalk: respondsTo:/isKindOf:/isMemberOf: + 26 tests
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 09:06:40 +00:00
4ced16f04e
smalltalk: Object>>perform: family + 10 tests
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 08:42:08 +00:00
c6f58116bf
prolog: copy_term/2 + functor/3 + arg/3, 14 tests; =.. deferred
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 08:39:32 +00:00
9954a234ae
smalltalk: reflection accessors (Object>>class, methodDict, selectors)
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 08:18:32 +00:00
76ee8cc39b
prolog: findall/3 + bagof/3 + setof/3, 11 tests
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 08:06:35 +00:00
44dc32aa54
erlang: round-out BIFs (+40 tests), full plan ticked at 530/530
Test, Build, and Deploy / test-build-deploy (push) Failing after 10s
2026-04-25 08:06:17 +00:00
ae94a24de5
smalltalk: conformance.sh + scoreboard.{json,md}
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 07:54:48 +00:00
a8cfd84f18
erlang: ETS-lite (+13 tests)
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 07:32:24 +00:00
373d57cbcb
prolog: assert/asserta/assertz/retract for facts, 11 tests
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 07:32:09 +00:00
5ef07a4d8d
smalltalk: Conway Life + dynamic-array literal {…}; classic corpus complete
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 07:31:47 +00:00
3190e770fb
prolog: operator-table parser + < > =< >= built-ins, 19 tests
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 06:57:48 +00:00
7c5c49c529
smalltalk: mandelbrot + literal-array mutability fix
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 06:57:03 +00:00
ce8ff8b738
erlang: binary pattern matching <<...>> (+21 tests)
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 06:54:58 +00:00
a446d31d0d
smalltalk: quicksort classic program + 9 tests
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 06:30:27 +00:00
e018ba9423
prolog: conformance.sh + scoreboard.{json,md}, 183/183 baseline
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 06:19:54 +00:00
193b0c04be
erlang: list comprehensions (+12 tests)
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 06:19:14 +00:00
e6af4e1449
smalltalk: eight-queens classic program (sizes 1/4/5 verified)
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 06:08:46 +00:00
09683b8a18
prolog: family.pl + family.sx, 10 tests; 5/5 classic programs done
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 05:52:28 +00:00
8e809614ba
erlang: register/whereis, Phase 5 complete (+12 tests)
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 05:43:57 +00:00
8daf33dc53
smalltalk: fibonacci classic program + smalltalk-load + 13 tests
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
2026-04-25 05:35:24 +00:00