Add pine nuts and garlic to a food processor and pulse until you have a paste consistency.
Add basil leaves and a pinch of salt and pepper. Pulse a little bit but not completely.
Add olive oil and lemon juice, processing as you go so the paste becomes smoother.
Add Parmesan cheese and pulse until completely smooth.
Add a bit more salt and pepper and taste to determine if you need to tweak anything to your preferences.