Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: