Wash and brinjals and cut it into small pieces.
Keep it in a cup of water.
Wash and pressure cook toor dal for 2 whistles.
Soak tamarind in the water.
Cut shallots into small pieces.
Heat oil in a pan or pressure cooker.
Add mustard seeds allow it to splutter, then add urad dal and curry leaves and green chilis.
Then add shallots, saute for a minute.
Add brinjal pieces, mix gently, cook for a couple of minutes.
Add salt, asafoetida, chili powder, and turmeric powder.
Add cooked dal and tamarind pulp.
Cook covered till brinjal become tender or pressure cook for 1 whistle.
Serve hot with rice.