dosper7 / google-code-prettify

Automatically exported from code.google.com/p/google-code-prettify
Apache License 2.0
0 stars 0 forks source link

Enhancement Request: Add more languages #177

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
We could add some more languages using the langs.model.xml from notepad++:

http://notepad-plus.svn.sourceforge.net/viewvc/notepad-plus/trunk/PowerEditor/sr
c/langs.model.xml

Original issue reported on code.google.com by heldersepu on 7 Nov 2011 at 7:20

GoogleCodeExporter commented 8 years ago
There is some more info in the stylers.model.xml:
http://notepad-plus.svn.sourceforge.net/viewvc/notepad-plus/trunk/PowerEditor/sr
c/stylers.model.xml

Original comment by heldersepu on 7 Nov 2011 at 7:36

GoogleCodeExporter commented 8 years ago
Which languages?  How does one tokenize a language given these language 
descriptions?  Under what licenses are these language descriptions available?

Original comment by mikesamuel@gmail.com on 30 Mar 2012 at 6:10

GoogleCodeExporter commented 8 years ago
The list of languages is in the langs.model.xml files:
normal, actionscript, ada, asm, asp, autoit, bash, batch, c, caml, cmake, 
cobol, cpp, cs, css, d, diff, fortran, gui4cli, haskell, html, ini, inno, java, 
javascript, jsp, kix, lisp, lua, makefile, matlab, nfo, nsis, objc, pascal, 
perl, php, postscript, powershell, props, python, r, rc, ruby, scheme, 
smalltalk, sql, tcl, tex, vb, verilog, vhdl, xml, yaml

Tokenize a language given these, one could look into the way that notepad++ is 
using them or just extract what you need from the XML.

These language descriptions are part of Notepad++.
Notepad++ is governed by GPL License.

Original comment by heldersepu on 1 Apr 2012 at 12:43

GoogleCodeExporter commented 8 years ago
I can't look at notepad because it is governed by a more restrictive license, 
and can't include the language models if they are governed by more restrictive 
licenses.

Original comment by mikesamuel@gmail.com on 1 Apr 2012 at 3:54