Cook toor dal until soft and mushy.
Heat oil in a saucepan, add the dry chilies and once they start to change color, add onions and green chilies; cook till the onions are soft.
Add ground coriander, red chili powder, garam masala, salt and pepper. Cook for 1 minute.
Add the cooked dal along with the stock/ water and tamarind pulp. Bring the mixture to a boil, lower the heat and simmer for 10~15 minutes.
Taste and adjust the seasoning accordingly.