Heat oil in a pan..
Fry chillies, dal, garlic and the onions, till golden brown.
Grind the fried ingredients with tamarind and salt in a mixer.
Splutter mustard seeds and curry leaves in oil and pout it to the mixture.
Now you can serve it with Dosa, Idly or even Chappathi or Paratha.