The objects are ordinary Perl objects (well, unblessed hashes, actually, and yes they are loaded from YAML files). But the objects are not the issue. As others have guessed, I am (or will be used to, hopefully) absolutely clueless in parsers and compilers.