Use Levenshtein to suggest variables/routines/superclasses #95

Merged
merged 26 commits into from Jan 19, 2013
Commits on Jan 18, 2013
  1. @timo

    a levenshtein implementation in nqp

    timo committed Jan 18, 2013
  2. @timo
  3. @timo
  4. @timo

    these hacks are no longer needed

    timo committed Jan 18, 2013
  5. @timo

    this code caused strange exceptions:

    timo committed Jan 18, 2013
    Method 'ast' not found for invocant of class 'String'
  6. @timo

    some ineffective faffing about.

    timo committed Jan 18, 2013
  7. @timo
Commits on Jan 19, 2013
  1. @timo

    reinstate the give-up-early code.

    timo committed Jan 19, 2013
  2. @timo
  3. @timo

    new threshold logic for levenshtein

    timo committed Jan 19, 2013
    it's complicated, so it must be good, right?
  4. @timo
  5. @timo
  6. @timo

    factor out $achar, $bchar

    timo committed Jan 19, 2013
  7. @timo

    hyphens and underscores are cheap.

    timo committed Jan 19, 2013
  8. @timo

    skip the name of the class itself.

    timo committed Jan 19, 2013
  9. @timo
  10. @timo

    fix the seen array

    timo committed Jan 19, 2013
  11. @timo
  12. @timo
  13. @timo

    changing sigils is cheap, too.

    timo committed Jan 19, 2013
  14. @timo

    the bound check was wrong.

    timo committed Jan 19, 2013
  15. @timo
  16. @timo
  17. @timo
  18. @timo

    a dot was missing.

    timo committed Jan 19, 2013
  19. @timo