I've got a project where I'm creating a language a bit like SQL.

Any recommendations for a tutorial or well-documented module which can parse something like that?

Where do I start, in other words. Is it really a matter of one huge regex which matches every possible statement, like ^(SELECT|DELETE|UPDATE) \w+ etc. etc.?

P.S. I know Raku is good for things like this but I need to stick with Perl 5.


In reply to Examples or tutorials for Perl grammars? by LittleJack

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":