In a food processor or high-speed blender, combine fresh basil, walnuts, lemon juice, minced garlic, salt, and pepper. Pulse a few times to break down the ingredients. Slowly drizzle in the olive oil while blending until the mixture is smooth and creamy. You can adjust the texture by adding more or less oil.