Bring sugar, syrup, and cream to a boil and continue boiling until mixture reaches 240 degrees F on a candy thermometer (or until a bit of syrup dropped into cold water forms a medium-firm ball). Remove from heat, let mixture cool slightly, and beat with a wooden spoon until creamy. Add flavorings and beat again until well blended. Stir in nuts. Drop by spoonfuls onto waxed paper and allow to set before removing.