calysto_scheme icon indicating copy to clipboard operation
calysto_scheme copied to clipboard

Error Running Calysto Scheme notebook

Open asmodehn opened this issue 4 years ago • 6 comments

While running the Calysto Scheme Language notebook (from master), I encountered this error :

(symbol "apple")

Traceback (most recent call last):
  File "In [177]", line 1, col 2
RunTimeError: unbound variable 'symbol'

I ll try to investigate as far as I can, but do people who know Calysto Scheme have any hint ?

asmodehn avatar Apr 23 '20 16:04 asmodehn

Is that the only error you get? Other things are working ok?

dsblank avatar Apr 23 '20 16:04 dsblank

Actually, looking at what is defined, I see that "symbol" has not been defined yet. Would you like to try to add it?

dsblank avatar Apr 23 '20 16:04 dsblank

Actually actually, Calysto Scheme spells that command string->symbol

dsblank avatar Apr 23 '20 16:04 dsblank

Command-completion works very well to see what is defined. And (dir) lists all variables and macros.

dsblank avatar Apr 23 '20 16:04 dsblank

Thanks, simpler problem than I thought : symbol => string->symbol I'm discovering Calysto and just trying things out... This was the first obvious error I could find.

asmodehn avatar Apr 24 '20 07:04 asmodehn

In hte same notebook, this cell also fails : ((get 'test 'verify) "test-name" 1 = 1)

And that one and related get-attr (not sure what is expected ?) (import "conx")

asmodehn avatar Apr 24 '20 07:04 asmodehn