Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Examples or tutorials for Perl grammars?

by tybalt89 (Monsignor)
on Jul 09, 2021 at 23:29 UTC ( [id://11134881]=note: print w/replies, xml ) Need Help??


in reply to Examples or tutorials for Perl grammars?

A good start would be to write a few (short) example programs in your new language and show them here to give the rest of us an idea of what you want to do. Also save them for later as test cases (hint: to validate a language usually requires lots and lots of test cases :).

Also try to generate an EBNF for your language and show that here as well.

Parsers are not (usually) one huge regex, but a set of smaller regexes with surrounding code that call each other recursively (sort of, maybe, perhaps...).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11134881]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-03-29 10:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found