Home

Awesome

Objective

From a master English word list, filter to only keep words that:

The master word file was copied from a gist file.

Installation

This has been tested on an iMac running MacOS Monterey. These instructions will largely work for Linux; on Windows, YMMV.

  1. Clone this repo to your PureScript projects folder
    git clone https://github.com/oldfartdeveloper/wordle-generate-word-list.git
    
  2. Follow the GitHub instructions. There are simple examples of how to perform the most important PureScript development operations.
  3. cd into the new repo's directory.
  4. spago build. It should build successfully

Running the Application

To generate the text file containing the 5-letter words:

  1. Be sure you are in the project directory.
  2. Run spago run
  3. Verify that the file has been generated as doc/words.txt. It should have the current time stamp.

If you haven't already, clone and install the wordle-solver repo which will use this project's generated file.