3 ms·
In the first figure, it gives "int x y;" and says that the new algorithm gives the complete set of minimal cost repair sequences, which is in this case "Delete
by tzs 6y ago
In the first figure, it gives "int x y;" and says that the new algorithm gives the complete set of minimal cost repair sequences, which is in this case "Delete y", "Insert ,", and "Insert =".
I haven't read the article, so maybe this is covered later, but why isn't "Delete x" included?
- laszlokorte 6y agoJust a guess: "int x" could already be comsumed so there is no need to change anything about it. It's only the next token that can not be processed.
- choeger 6y agoIntriguing, so if we design a language that allows for: int single x; and int x y z; The error for int single x y z; Would be to delete "y" and "z", but not to delete "single"?
- deleted 6y ago[deleted]