Move sorry
extraction to a separate command #263
Labels
No labels
category
bug
category
chore
category
doc
category
feature
category
optimization
category
organization
part/Delation
part/Elab
part/Environment
part/FFI
part/Frontend
part/Goal
part/REPL
part/Serial
priority
high
priority
irrelevant
priority
low
priority
medium
priority
pending-measurement
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#264 feat(frontend): Distil search target
aniva/Pantograph
Reference: aniva/Pantograph#263
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The problem with the existing
frontend.refactor
command is that it produces source code nobody wants to read, and it relies on the delaborator, which is in a permanent whack-a-mole situation. Preliminary trials on PutnamBench shows that about 1 in 5 data points fail to roundtrip.Given the distinct nature of search target extraction, we should have a command to turn
sorry
s directly into a search target with multiple mvars. For example, given the mystery example here:We produce a target of the type
If this is the type of mvar
?root
, then we can easily extractf
andmystery
from?root.val
and?root.p
.When this feature is more stabilized, we should disable the
sorry
collection function infrontend.process
.