lojban-prolog-things peg.pl and peg_syntax.pl implement a PEG-like DSL which transforms to DCG morphology.pl is the lojban morphology, as transcribed from camxes (https://raw.githubusercontent.com/lojban/ilmentufa/master/camxes.peg retrieved on 2019-11-07).