Parse::RecDescent is the universal response to everyone needing a fast implementation of *jet another*(tm) mini-language.
BEGINNER
I would translate it into code employing some CPAN module mentioned above.
ELITE
I would translate it into xml and then translate that again into code (with XSLT) employing some CPAN module mentioned above. *Yeah, throw your eggs on me*