"alicetril" == alicetril @gmail com <alicetrillianosako@gmail.com> writes:
alicetril> Macro definition in Scheme (Guile specifically) continues to
alicetril> confound me, and I am hoping that in posting this, I will
alicetril> get the nudge I need to fix my latest issue.
[...]
alicetril> While one of these macros is finally working, the one I've
alicetril> been working on currently compiles as itself but returns an
alicetril> error message when I invoke it. Here is a self-contained,
alicetril> compilable sub-set of the code:
It's just a misplaced paren: this line needs one more close-paren,
alicetril> (else (error "Invalid arithmetical indexing operation")))
and this one needs one fewer:
alicetril> (computed-opcode (bitwise-or <opcode> (bitwise-or computed-subop 1)))))
You'd ended up with (let* ([foo (blah) (blah)]) ...) which is not a
valid form for let*, hence the error.
--
Andrew.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)