I never used any other implementations than GIMP's script-fu, and I am even quite new to GIMP's Scheme, too. So, maybe I'm wrong. However, the followings do not work in Script-Fu console:
(define x 13)
(define s 'x) ; or (define s `x)
,s => Error: eval: unbound variable: unquote
similarly
(unquote s) => Error: eval: unbound variable: unquote
It seems to me, that "," was planned to work but unquote has not been implemented. If so, how can I solve the following problem?
(define x 13)
(define y 7)
; define procedure to swap x and y
(define (swap)
(let ((t 0))
(set! t ,'x)
(set! x ,'y)
(set! y t)
)
)
This should run multiple times, so (set! t x)... will not work.