[R-gui] R Grammar

Duncan Murdoch murdoch at stats.uwo.ca
Tue Aug 26 21:48:44 CEST 2008


On 8/26/2008 3:43 PM, Aurélien Vallée wrote:
> Hello,
> 
> I'm currently working on a Netbeans Platform IDE for R, and i wondered if an
> R grammar is available somewhere on the internet, I need it for syntax
> highlighting and code completion.

The parser uses a grammar written in Bison, available in

https://svn.r-project.org/R/trunk/src/main/gram.y

The lexical scanner is handwritten (in the same file), so it'll be a bit 
more work to decipher.

Duncan Murdoch



More information about the R-SIG-GUI mailing list