tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
12
Task/Runtime-evaluation/Scheme/runtime-evaluation.ss
Normal file
12
Task/Runtime-evaluation/Scheme/runtime-evaluation.ss
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
> (define x 37)
|
||||
> (eval '(+ x 5))
|
||||
42
|
||||
> (eval '(+ x 5) (interaction-environment))
|
||||
42
|
||||
> (eval '(+ x 5) (scheme-report-environment 5)) ;; provides R5RS definitions
|
||||
|
||||
Error: identifier not visible x.
|
||||
Type (debug) to enter the debugger.
|
||||
> (display (eval (read)))
|
||||
(+ 4 5) ;; this is input from the user.
|
||||
9
|
||||
Loading…
Add table
Add a link
Reference in a new issue