Step 7a WIP: ->> and as-> pipe operators (thread-last has transpiler bug)
Add to evaluator.sx: - step-sf-thread-last: thread-last operator (inserts value at end) - step-sf-thread-as: thread-anywhere with named binding - thread-insert-arg-last: last-position insertion function - step-sf-case: missing function (was in old transpiled output but not spec) - Register ->>, |>, as-> in step-eval-list dispatch Status: - ->> dispatch works (enters thread-last correctly) - HO forms (map, filter) with ->> work correctly - Non-HO forms with ->> still use thread-first (transpiler bug) - as-> binding fails (related transpiler bug) Transpiler bug: thread_insert_arg_last definition body is merged with step_continue in the let rec block. The transpiler incorrectly chains them as one function. Need to investigate the let rec emission logic. 2644 tests still pass (no regressions from new operators). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user