[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Interpreter tutorial error
From: |
ammkrn |
Subject: |
Interpreter tutorial error |
Date: |
Sun, 18 Jul 2021 17:30:14 +0200 (CEST) |
Hi,
I'm reading the Chicken Scheme manual's section on using the interpreter. The first code example, under "Writing Sheme Scripts" doesn't seem to work with csi Version 5.2.0 (rev 317468e4) macosx-unix-clang-x86-64 [ 64bit dload ptables ].
When I follow the instructions, I get the error below. If someone could let me know what I'm doing wrong, I would appreciate it:
Error: unbound variable: with-input-from-string
Call history:
<eval> (##sys#load-library (##core#quote library))
<eval> (##sys#load-library (##core#quote expand))
<syntax> (import (chicken process-context))
<syntax> (##core#begin (##core#require library chicken.process-context#))
<syntax> (##core#require library chicken.process-context#)
<syntax> (##sys#load-library (##core#quote library))
<syntax> (##core#quote library)
<eval> (##sys#load-library (##core#quote library))
<syntax> (print (eval (with-input-from-string (car (command-line-arguments)) read)))
<syntax> (eval (with-input-from-string (car (command-line-arguments)) read))
<syntax> (with-input-from-string (car (command-line-arguments)) read)
<syntax> (car (command-line-arguments))
<syntax> (command-line-arguments)
<eval> (print (eval (with-input-from-string (car (command-line-arguments)) read)))
<eval> (eval (with-input-from-string (car (command-line-arguments)) read))
<eval> (with-input-from-string (car (command-line-arguments)) read) <--
- Interpreter tutorial error,
ammkrn <=