Fixed the identifier-syntax issue in revision 1241. Keeping this open until I resolve the second issue "cannot redefine macros".
Ikarus Scheme version 0.0.2patched+ (revision 1241, build 2007-12-14) Copyright (c) 2006-2007 Abdulaziz Ghuloum
> (define p (cons 4 5)) > (define-syntax p.car (identifier-syntax (_ (car p)) ((set! _ e) (set-car! p e)))) > p.car 4 > (set! p.car 15) > p.car 15
Fixed the identifier-syntax issue in revision 1241. Keeping this open until I resolve the second issue "cannot redefine macros".
Ikarus Scheme version 0.0.2patched+ (revision 1241, build 2007-12-14)
Copyright (c) 2006-2007 Abdulaziz Ghuloum
> (define p (cons 4 5))
> (define-syntax p.car (identifier-syntax (_ (car p)) ((set! _ e) (set-car! p e))))
> p.car
4
> (set! p.car 15)
> p.car
15