https://github.com/duncantl/RLLVMCompile
Raw File
Tip revision: 7fad5bd394a6f74ace0f6053a5d08e4f15cf3a1f authored by Duncan Temple Lang on 07 March 2017, 00:49:31 UTC
correct name for variable
Tip revision: 7fad5bd
walk.R
walker =
function()
{

  leaf = function(e, this) {
           browser()
           print(e)
         }

  call = function(e, this) {
             cat('call')
             print(e)
             sapply(e, call, this)
         }

  handler = function(what, this) {
                function(e, this)
                  print(e)
                  cat("In handler\n")
            }
  
    list(handler = handler, call = call, leaf = leaf)
 
}
back to top