Closed GoogleCodeExporter closed 9 years ago
updated version of lang-r.js
Original comment by jeffrey....@gmail.com
on 11 Aug 2012 at 3:52
The most recent version of lang-r.js can be found at
https://github.com/jrnold/prettify-lang-r-bugs.
Original comment by jeffrey....@gmail.com
on 11 Aug 2012 at 3:32
I attached a patch.
Original comment by jeffrey....@gmail.com
on 12 Aug 2012 at 3:59
Attachments:
I grabbed a snapshot of lang-r and lang-rd just now and submitted it as r232
and will include that in an upcoming release.
$ shasum src/lang-r.js src/lang-rd.js
7aa6fbd912af3a0435a4d837ecfea82ffb676a7e src/lang-r.js
4f7c3d903ffe652873aa2c2c8855caee07d02f42 src/lang-rd.js
If you'd like to continue maintaining this on prettify's code.google page, I
can grant contributor access.
Original comment by mikesamuel@gmail.com
on 4 Feb 2013 at 11:36
Issue 237 has been merged into this issue.
Original comment by mikesamuel@gmail.com
on 4 Feb 2013 at 11:37
http://google-code-prettify.googlecode.com/svn/trunk/tests/prettify_test_2.html#
r_lang includes your testcase.
Original comment by mikesamuel@gmail.com
on 4 Feb 2013 at 11:46
Alternatively,
http://code.google.com/p/google-code-prettify/source/browse/trunk/js-modules/pre
ttify.js#681 might be a simpler approach since R and S seem to have fairly
mainstream lexical-grammars.
Original comment by mikesamuel@gmail.com
on 5 Feb 2013 at 12:17
Issue 149 has been merged into this issue.
Original comment by mikesamuel@gmail.com
on 5 Feb 2013 at 12:44
If you want to grant me access I'll continue to maintain the R code.
Original comment by jeffrey....@gmail.com
on 5 Feb 2013 at 1:31
I wish I had known about the sourceDecorator when I first wrote this. That
would have almost certainly worked. But since the syntax highlighting seems to
be working as is, and is probably more comprehensive than if I had used
sourceDecorator, I guess I'll just keep it as is. If I have a reason to change
it, I may switch it.
Original comment by jeffrey....@gmail.com
on 5 Feb 2013 at 1:33
Original issue reported on code.google.com by
jeffrey....@gmail.com
on 11 Aug 2012 at 2:35