Mix basil, walnuts, parmesan, garlic, olive oil, salt, and pepper in the food processer for two minutes.