There are 2 repositories under treegen topic.
Procedural generation of tree models in blender
PyTorch library for synthesizing programs from natural language
TreeGen for blender2.8