reactorlabs/rir

R API for contexts

Offen

#911 geöffnet am 22.09.2020

 (0 Kommentare) (0 Reaktionen) (1 zugewiesene Person)C++ (19 Forks)github user discovery
help wanted

Repository-Metriken

Stars
 (61 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 1m) (1 gemergte PR in 30 T)

Beschreibung

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