Cook the dhal by adding 2 cup water and cook for 2 whistles.
Mean time dry roast the red chilly powder and coriander powder for 5 minutes in low to medium flame.
Add the chopped pavakka into the cooked dhal. Add sugar and salt as required.
Add turmeric powder and tamarind water. Again pressure cook for 1 whistle.
Grind the coconut by adding roasted chilly masala and a half cup of water to make a fine paste.
Add it into cooked pavakka, bring it to a boil and remove it from flame. Finally proceed with tempering. Heat oil in a kadai and splutter mustard seeds and add curry leaves. Pour it over the curry.