Chop beerakaya/ridge gourd and slit green chillies. Cook them in a pressure cooker until 1 whistle.
While beerakaya/ridge gourd is cooking, lightly roast poppy seeds and grind with coconut. I have used mortar pestle to prepare coconut and poppy seeds paste. You may use the blender.
Mix cooked dal and veggies in the same cooker.
Add ground coconut paste, salt, turmeric and tamarind pulp. Bring it to a boil. Check the taste, add salt/tamarind if needed.