RFR: 755: Anything starting with a "/" is treated as a command

Erik Joelsson erikj at openjdk.org
Mon Feb 27 19:25:06 UTC 2023

On Fri, 24 Feb 2023 17:41:34 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> An idea might be to compare if the entered text is "roughly" equals to a Skara command. This can be measured e.g. by comparing e.g. a simplistic soundex-conversion of the command, or possibly calculating the levenshtein distance; these algorithms sound a bit scary but should be rather simple to implement, if Java does not have anything similar already.

Yes, that kind of matching would be even better. Looking into such a solution could be an interesting followup to this fix. We currently don't use any external dependencies for Skara, and breaking that tradition shouldn't be done lightly.


PR: https://git.openjdk.org/skara/pull/1479

More information about the skara-dev mailing list