generators.regularTreeGrammar("Pythagorean trees"):
( { S },
  { part:0, F:2 },
  { S -> F[S, S],
    S -> part weight .2 },
  S )
