in reply to Trees and Language::AttributeGrammar

my wild guess is that 2.15 should be a child of 2.1 and not a child of 2.0
the hardest line to type correctly is: stty erase ^H
  • Comment on Re: Trees and Language::AttributeGrammar

Replies are listed 'Best First'.
Re^2: Trees and Language::AttributeGrammar
by rg0now (Chaplain) on Mar 06, 2006 at 14:25 UTC
    I am not entirely sure I understand what you are talking about. The values associated with the nodes are completely optional and arbitrary -- they could very well be strings or other objects or even left undef. The code just tries to count how many nodes the tree has, independently of the values associated with these nodes.