Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Trees and Language::AttributeGrammar

by rg0now (Chaplain)
on Mar 06, 2006 at 12:33 UTC ( [id://534671]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    sub children{
      return list( @{ $_[0]->{_list} });
    }
    
  2. or download this
    package main;
    
    ...
    
    EOG
    
  3. or download this
    my $tree = Branch->new(3)->add_child(
         Branch->new(1.1)->add_child(
    ...
    my $result = $grammar->apply($tree, 'len');
    print "$result\n";
    
  4. or download this
    Deep recursion on subroutine "Language::AttributeGrammar::Thunk::get" 
    +at (eval 29) line 5.
    
  5. or download this
    # find the global minimum and propagate it back down the tree
    ROOT:   $/.gmin        = { $/.min }
    ...
                         ^
                         |
                        this is superfluous
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-23 12:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found