I have the following htdp/bsl
program saved as example.rkt
:
#lang htdp/bsl
(+ 1 1)
When the above is run using racket example.rkt
, the output is as expected (i.e. 2
).
However, when I try to start an REPL with htdp/bsl
as the language (racket -I htdp/bsl
), the following error appears:
Welcome to Racket v6.3.
default-load-handler: cannot open module file
module path: (lib "htdp/bsl")
path: /usr/share/racket/pkgs/htdp-lib/htdp/bsl.rkt
system error: No such file or directory; errno=2
context...:
This error does not appear when the language selected is typed/racket
, for example.
Why does the error happen with htdp/bsl
, and how do I correctly start an REPL with htdp/bsl
as the language?
htdp/bsl
and the teaching languages in general wasn't designed to be used that way. They are designed to be used in DrRacket. – Ozmo#lang htdp/bsl
? Or is BSL designed to be used only in DrRacket? – Tafoya