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

Re: recursive algorithm for nested data structures

by ikegami (Patriarch)
on Aug 19, 2009 at 19:36 UTC ( [id://789927]=note: print w/replies, xml ) Need Help??


in reply to recursive algorithm for nested data structures

Parse::RecDescent grammar:
my $grammar = <<'__EOI__' { use strict; use warnings; } parse : list /\Z/ { $item[1] } list : '(' list_ele(s?) ')' { $item[2] } list_ele : list | TERM TERM : /\w+/ __EOI__

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2024-04-19 10:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found