code: def from_string(cls, s, name=None, modules=None, active=None):
          
          r = cls(name=name, modules=modules, active=active)
          _parse_repp(s.splitlines(), r, None)
          return r
docs: Instantiate a REPP from a string.
  
          Args:
              name (str, optional): the name of the REPP module
              modules (dict, optional): a mapping from identifiers to
                  REPP modules
              active (iterable, optional): an iterable of default module
                  activations