generators.ET0LTreeGrammar("terdragon"):
(
  { F },
  { F:0, +:1, 3-:1, conc:3 },
  {
    {
      F -> conc[+[F],3-[F],+[F]]
    }
  },
  F
)
