Skip to content
Prev 56463 / 63424 Next

Should CRAN accept packages with non-R code that transcompiles into R code?

As long as the semantic models are close, then such a translation is
possible and not even very difficult. Syntactic sugar is cheap. 
The challenge that you will run into is that there is a temptation
to change the semantics when designing a new language. R has many
warts that, if one were to start today, one could imagine removing.
But any change to semantics is really hard to implement by 
source to source translation. My guess is that before you know it
you will have a very different language that runs extremely slowly.




Jan Vitek, Professor 
Computer Science, 
Northeastern University