Back in 2013 I published a Marpa parser tutorial called Transforming Syntax, which discusses how a language can be parsed with Marpa and then transpiled to another language.
After all that time I have finally moved the tutorial to this blog. The tutorial was edited and updated on that occasion. In particular, it now promotes better best practices for Perl and Marpa. Mistakes were corrected and the AST objects greatly simplified. The code was improved and tested. In retrospect, four years of using Marpa do make a difference.
I hope Transforming Syntax continues to be useful as one of the many wonderful Marpa tutorials out there.