hackersrage / google-code-prettify

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

Support for BUGS, JAGS, and Stan languages #234

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Support for syntax highlighting of several languages used for Bayesian 
statistical models: BUGS, JAGS, and Stan.  Stan is hosted on on googlecode, 
http://code.google.com/p/stan/.

The most recent versions of lang-stan.js and lang-bugs.js can be found at 
https://github.com/jrnold/prettify-lang-r-bugs.

Original issue reported on code.google.com by jeffrey....@gmail.com on 11 Aug 2012 at 4:29

GoogleCodeExporter commented 9 years ago
I attached a patch.

Original comment by jeffrey....@gmail.com on 12 Aug 2012 at 4:02

Attachments:

GoogleCodeExporter commented 9 years ago
Updated patch. Stan language updated to version 1.0.2.

Original comment by jeffrey....@gmail.com on 23 Sep 2012 at 6:28

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry it's taken a while for me to get to this. Should I use the 23 Sep 
version, or do you have a more recent version?

Original comment by mikesamuel@gmail.com on 5 Feb 2013 at 12:23

GoogleCodeExporter commented 9 years ago
Is stan a separate language or should it be treated as a variant of C++ : 
http://code.google.com/p/google-code-prettify/source/browse/trunk/js-modules/pre
ttify.js#681 ?

Original comment by mikesamuel@gmail.com on 5 Feb 2013 at 12:26

GoogleCodeExporter commented 9 years ago
Stan is not a derivative of C++; there is a C++ library, but the syntax 
highlighting is for the modeling language associated with it. 

I attached an updated patch. Do you need example code? 

Original comment by jeffrey....@gmail.com on 5 Feb 2013 at 1:27

Attachments: