How to construct parametric bootstrap confidence intervals in R without using boot package?

How can I construct parametric bootstrap confidence intervals in R without using the boot package?

• As it stands that sounds like a pretty broad question. Why without the boot package? Is this for some class? – Glen_b Apr 30 '14 at 0:14
• As an inspiration, I've posted pseudocode for a _non-_parametric bootstrap here. Shouldn't be too hard to adapt to the parametric case. – jona May 2 '14 at 20:07