[reaction: see text] The synthesis and evaluation of glycosidase inhibitory activity of polyhydroxylated indolizidine alkaloids namely 2-hydroxy-1-deoxycastanospermine 3a,b and 2-hydroxy-1-deoxy-8a-epi-castanospermine 3c,d is reported. The key step involves the intermolecular 1,3-dipolar cycloaddition of allyl alcohol to d-glucose-derived nitrone 4, followed by tosylation, that afforded four diastereomeric sugar-substituted isoxazolidines 5a-d with the desired regioselectivity. The one-pot conversion of 5a-d to pyrrolidines 8a-d by hydrogenolysis, removal of 1,2-acetonoide functionality, and hydrogenation afforded corresponding target molecules 3a-d.