What? Synthesizing the simple single carbohydrate that would be made into the complex one in the first place is required. I'd like to see the opposite. Exploit the ionic gradients of plants somehow to generate usable electricity while they photosynthesize. Yaya still run rinto the problem or night not good light quality depending on geography and seasons.Would it have to be a one shot from organic compounds to stuff edible by humans? Why not a multi step process converting simple carbohydrates to more and more comlpex ones with end result that can be eaten by deep space explorers?
At least until we get the Star trek matter resequencers.