reactorlabs/rir

R API for contexts

Open

#911 opened on Sep 22, 2020

 (0 comments) (0 reactions) (1 assignee)C++ (19 forks)github user discovery
help wanted

Repository metrics

Stars
 (61 stars)
PR merge metrics
 (Avg merge 1m) (1 merged PR in 30d)

Description

There should be an R api to create contexts. This needs some thinking as to ensure that the R implementation and the C++ code of contexts stay in sync. In R we can represent the context just as a RAW vector or similar. Probably the most part should be done in C++. One option would be to use envs?

function() {
  arg1 <- c("eager","int")
  arg3 <- c("eager")
  noReflection <- T
  new.context(environment())
}

This might collide with #913

Contributor guide