Cook sugar and pineapple to soft ball stage. Add butter, remove from fire and beat in marshmallows, nuts and extract. Beat until creamy.