On Thu, 11 Jul 2019 21:39:34 +0200 Daniel Kochmański wrote:
> > Looking in the ECL source I saw a si::eval-with-env function in file
> > ecl-16.1.3/src/c/compiler.d .If you do
> >
> >> (find-symbol "EVAL-WITH-ENV" "SYSTEM")
> > SI:EVAL-WITH-ENV
> > :EXTERNAL
> >
> > which suggests that t
Hello Spiros,
> I was wondering if ECL has something analogous or could be added easily.
no such interfaces are present currently in ECL. Even with bytecompiler
code is not interpreted but always minimally compiled.
> Looking in the ECL source I saw a si::eval-with-env function in file
> ecl
clisp provides a facility to evaluate a form in a non null lexical
environment. It works as follows
> (let ((a 1) (b 2))
(ext:eval-env '(format t "a is ~A b is ~A~%" a b) (ext:the-environment)))
a is 1 b is 2
NIL
The clisp documentation gives
Macro EXT:THE-ENVIRONMENT. As in Sch