I was surprised that ChatGPT is very much familiar with Microsoft's "Oslo" project, including its "M" language for grammar definitions (which never left its preview phase and was discontinued in 2009), and it's perfectly able to write gramma