DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

(guile.info.gz) Fly Evaluation

Info Catalog (guile.info.gz) Scheme Read (guile.info.gz) Read/Load/Eval (guile.info.gz) Loading
 
 28.3 Procedures for On the Fly Evaluation
 =========================================
 
  Environments.
 
  -- Scheme Procedure: eval exp module
  -- C Function: scm_eval (exp, module)
      Evaluate EXP, a list representing a Scheme expression, in the
      top-level environment specified by MODULE.  While EXP is evaluated
      (using `primitive-eval'), MODULE is made the current module.  The
      current module is reset to its previous value when EVAL returns.
 
  -- Scheme Procedure: interaction-environment
  -- C Function: scm_interaction_environment ()
      Return a specifier for the environment that contains
      implementation-defined bindings, typically a superset of those
      listed in the report.  The intent is that this procedure will
      return the environment in which the implementation would evaluate
      expressions dynamically typed by the user.
 
  -- Scheme Procedure: eval-string string
  -- C Function: scm_eval_string (string)
      Evaluate STRING as the text representation of a Scheme form or
      forms, and return whatever value they produce.  Evaluation takes
      place in the environment returned by the procedure
      `interaction-environment'.
 
  -- Scheme Procedure: apply:nconc2last lst
  -- C Function: scm_nconc2last (lst)
      Given a list (ARG1 ... ARGS), this function conses the ARG1 ...
      arguments onto the front of ARGS, and returns the resulting list.
      Note that ARGS is a list; thus, the argument to this function is a
      list whose last element is a list.  Note: Rather than do new
      consing, `apply:nconc2last' destroys its argument, so use with
      care.
 
  -- Scheme Procedure: apply proc arg1 ... args
      PROC must be a procedure and ARGS must be a list.  Call PROC with
      the elements of the list `(append (list ARG1 ...) ARGS)' as the
      actual arguments.
 
  -- Scheme Procedure: primitive-eval exp
  -- C Function: scm_primitive_eval (exp)
      Evaluate EXP in the top-level environment specified by the current
      module.
 
Info Catalog (guile.info.gz) Scheme Read (guile.info.gz) Read/Load/Eval (guile.info.gz) Loading
automatically generated byinfo2html