Combine basil with pine nuts and pulse in a food processor. Add the garlic and pulse a few more times.
Slowly add the olive oil in a constant stream while the food processor is on. Stop to scrape down the sides of the bowl. Add grated cheese and pulse again. Add salt and pepper.
Serve over pasta.
Makes 1 cup.