Cook the pasta according to the package directions. Place the garlic, pine nuts, basil, salt, and pepper in the bowl of a food processor and pulse to combine. While the machine is running, drizzle in the oil through the feed tube, stopping occasionally to scrape down the sides. Transfer to a bowl and stir in the Parmesan. Spoon over the cooked pasta.