Re: 8051 assembler in Common Lisp



Tim Wilson wrote :
> I also don't know if I could have gone the EVAL approach and still used
> the s-expr x86 address notation I used (ModR/M, etc. is a hairy
> monster). Or the backpatching to fix forward labels.
(Apologies in advance if google messes up the threading. My uni doesn't
seem to provide any news server)

The addresses & variable length jumps problem looks to me like a
constraint solving problem that wouldn't be that hard to express. I'd
take a look at screamer (or screamer+, which has basic support for
working on aggregate objects like objects or lists). I think it would
still work with address arithmetic, too. Of course, this is a pretty
big hammer for your problem, but it's already written, so why reinvent
a (simpler) wheel?

Paul Khuong

.