What would be some cool use cases to design your own compiler?
[0] https://sentient-lang.org/
[2] Factor's home-page does a poor job of presenting examples to give a flavour for the language, so here's one on GitHub: https://github.com/factor/factor/blob/master/basis/roman/rom...
The Sentient pages mention Prolog, for what that's worth: https://sentient-lang.org/intro/declarative
Advanced regex systems such as the Ragel parser-generator support a composition-friendly syntax, [0] but the average regex system doesn't, and I guess there's no quick fix for that.
[0] http://thingsaaronmade.com/blog/a-simple-intro-to-writing-a-...