Hacker News new | ask | show | jobs
by 3willows 525 days ago
Agree. The whole point of the article is to generate the long list of regex programmatically.

A quick way to verify this is to download the repo, remove everything other than main.py and regex-chess.json, and the programme will still work.

All the other python files are building up to regex-chess.json, see e.g. the imports and output to write_regex_json.py.