Text-based shell reference implementation