I suppose I was thinking that given the functionality is already available in J, it might be fairly simple to implement syntax highlighting if it were possible for the Wiki to call the J routine from Python. I take it from your answer that it isn't as simple as I was hoping!
---Oleg Kobchenko wrote: > As you may know MoinMoin wiki server and its extensions > are written in Python. For example, Literate is a set of > such extensions, specifically developed for use in J Wiki. > So the best way to approach syntax highlighting is to see > how they did it for other languages and adapt it for J. > > --- On Fri, 5/23/08, Sherlock, Ric wrote: > > > The verbs in ~system/packages/export/export.ijs do a great > > job of producing HTML pages of colourised code from J > > scripts using the same colour schemes as available in the > > Windows IDE. > > You can use it from the IDE menu (Edit | Export Script), > > but to get a better idea of all the functionality it > > enables try: > > load 'export' > > export_jexport_'' > > > > Is it possible to somehow use the script as a Parser to > > colourise J code blocks on the wiki as shown on this page? > > <http://www.jsoftware.com/jwiki/HelpOnParsers> > > --------------------------------------------------------------------- > - > > For information about J forums see > > http://www.jsoftware.com/forums.htm > > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
