In a medium-sized saucepan, combine apples, sugar, water, raisins and cinnamon; bring to a boil, reduce heat to medium and cook apple mixture, covered, for 15 minutes. Stir occasionally and cook until all moisture is absorbed. Place cookies in a bag and crush with rolling pin into crumbs. Divide half the crumbs between serving glasses. Divide apple mixture between serving glasses and top with remaining crumbs. Scoop ice cream onto each and sprinkle with nuts. Serve at once.