13 karma · joined October 15, 2022
For complex inputs, use actual peg parsers : https://docs.rs/peg/latest/peg/
For simplet inputs, express your intent with readable methods using a lib : https://github.com/sgreben/regex-builder/ & https://github.com/francisrstokes/super-expressive
I also forked a tool of github to evaluate layouts considering multiple languages (ex: 40% french 60% english) https://github.com/florianfmmartin/kb-layout-evaluation
But i have not updated it recently, take a look at original repo also ;)