reactorlabs/rir

R API for contexts

Ouverte

#911 ouverte le 22 sept. 2020

 (0 commentaire) (0 réaction) (1 personne assignée)C++ (19 forks)github user discovery
help wanted

Métriques du dépôt

Stars
 (61 étoiles)
Métriques de merge PR
 (Merge moyen 1m) (1 PR mergée en 30 j)

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

Guide contributeur