Chop or grate the parmesan, and put it in a food processor with the pistachios and the basil. Squeeze in a bit of lemon juice and add a pinch of salt to start with.
Process while you drizzle in first olive oil, and then water until you reach the consistency you would like.
Taste and add lemon juice and salt to taste.