Implementing “Did you mean …?” Suggestions
Introduction A lot of software that parses commands (such as git) or compilers, when you specify something that’s unknown, perhaps by having made a typo, offer “did you mean …?” suggestions to be helpful. For example, given the following C program: #include <stdio.h> int main() { print( “hello, world!n” ); } clang will print: oops.c:4:3:…