To determine the safety and maximum tolerated dose (MTD) of 2',3'-dideoxyinosine (ddI), given orally and intravenously, in infants and children with AIDS. The study also measures bloodstream and cerebrospinal fluid (CSF) levels of the administered drug, and provides a preliminary assessment of the effectiveness of ddI on HIV replication.