This script will filter a list of 5 letter words depending on your wordle guesses so far.
Enter your wordle guess then the result wordle gave you: b for black, y for yellow, g for green.
e.g.
enter guess
salet
enter result
gggbb
['salad', 'salal', 'salic', 'salix', 'sally', 'salmi', 'salol', 'salon', 'salop', 'salpa', 'salps', 'salsa', 'salvo']