Talk:Oz (programming language): Difference between revisions

Content deleted Content added
oz syntax highlighting lost: 'sml' is partial fallback.
Line 94:
 
Since the switch from Geshi to Pygments for syntax highlighting ([[phab:T85794]]), support for 'oz' was unfortunately dropped, as can be seen with the plain text formatting on this page and others such as [[Alice (programming language)]]. If you want specialised 'oz' syntax highlight support again, it will need to be added to [http://pygments.org/ Pygments]. Alternatively, if there is another language which has similar syntax, we can add that as a fallback. <span style="font-variant:small-caps">[[User:John Vandenberg|John Vandenberg]] <sup>'''([[User talk:John Vandenberg|chat]])'''</sup></span> 07:00, 18 July 2015 (UTC)
:The 'sml' (Standard ML) lang works reasonably well, except that '%' comment character is not recognised. I've switched a few of the examples to sml, and moved some of the code comments into prose in the process. It should be fairly simple to create an 'oz' language in Pygments by subclassing the 'sml' handler. <span style="font-variant:small-caps">[[User:John Vandenberg|John Vandenberg]] <sup>'''([[User talk:John Vandenberg|chat]])'''</sup></span> 19:50, 18 July 2015 (UTC)