Welcome to the CHICKEN Scheme pasting service

Macro stepping attempt pasted by dzoe on Thu Jun 6 11:48:45 2024

(import (chicken syntax))

(define-syntax macro0
  (syntax-rules ()
    ((_) (macro0 1))
    ((_ 1) (macro0 2))
    ((_ 2) (macro0 3))
    ((_ 3) 'done)))

(print (macro0))
(print (expand (macro0)))
(print (##sys#expand-0 (macro0) (##sys#current-environment) #f))
(print (##sys#expand-0 (macro0) (##sys#current-environment) #t))

output added by dzoe on Thu Jun 6 11:50:39 2024

done
done
done
done

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What is the operator to construct pairs?
Visually impaired? Let me spell it for you (wav file) download WAV