Code

Libraries and other code projects.

stalker 0.1.0 · github · python, build-tool

Simple file-system watcher that executes commands whenever files change.

sublime_fuzzy current version on crates.io · github, crates.io · rust, fuzzy search

Fuzzy matching algorithm based on Sublime Text's string search. Iterates through characters of a search string and calculates a score based on matching consecutive/close groups of characters.

Initially intends to walk all possible paths the pattern can appear in the target string. Tracks the currently best match so paths that cannot reach the best score won't be walked in the first place.

There's also a Python implementation used for quick prototyping.