NLS parsing program