What landed #48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "completion-improvements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Command completion — a :-prefixed line (that isn't the :- directive) now
completes against REPL command names instead of predicates. :l→:list/:load,
:e→:edit, bare :→Tab offers all commands. Completion returns canonical names
(never aliases), so :l yields list/load, not ls.
Stdlib completion (the append/3 gap) — predicate completion now draws on
builtins + the embedded stdlib + session predicates. append, member, length,
reverse, nth0, nth1, last all complete without the user defining them.
Files
source; parse_meta refactored to resolve against it.
usize)] (OnceLock-cached, parses STDLIB_PL).
folds in stdlib names.
completion_mode(text) -> Mode.
Tests (+12, 511 total, all green; fmt + clippy clean)
unknown → Unknown)