I'm pretty ignorant of ComputerCraft but couldn't you do this with turtles? Give a turtle a dirt block and a bunch of sapling and have him climb the trunk, remove leaves, place the dirt, plant the sapling, wait for a block update then break the dirt and replace it with wood, then start again.