lightweight language context manager