Category talk:J: Difference between revisions
→GeSHi Highlighter for J: Moved discussion of language-file generator to Rosetta Code:Village Pump/Syntax Highlighting#Webform-driven language-file generator
Underscore (talk | contribs) (→GeSHi Highlighter for J: Moved discussion of language-file generator to Rosetta Code:Village Pump/Syntax Highlighting#Webform-driven language-file generator) |
|||
Line 59:
While we're on the subject, I would be interested in a programmatic approach to generating these files. The structure of the GeSHi language files is very, very simple; It's little more than a PHP-native serialization of a few regex setrings and symbol constants. If GeSHi supported JSON for that structure, it would be trivial to import language highlighting as a JSON file, and such a file would be trivial to generate programmatically. But GeSHi doesn't, so I'm stuck with PHP files until I (or someone else) writes a JSON->PHP conversion. That said, a number of folks have sent me language files, and so are familiar with its structure. Would anyone be interested in writing a webform-driven language-file ''generator''? For security's sake, I can't automate the import of the generated files, but it would greatly open up the process of generating the files, and perhaps make maintenance easier. I'd give it a subdomain such as geshi.rosettacode.org. --[[User:Short Circuit|Michael Mol]] 03:33, 10 November 2009 (UTC)
|