C implementation of Todo.sh