Comment on A minimax chess engine in regular expressionsparentComments−3willows1yAgree. 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.
Comments
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.