-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Marijn Schouten (hkBst) wrote:
Hi,
I'm trying to construct a function that will walk all paths on a 2- or 3-dimensional rectangular grid and calculate their squared lengths, using macros to account for the differences in dimension.
Unfortunately I do not understand syntax-case very well yet, so I'm unable to solve the errors that are reported. If someone could take a look at my code that would be much appreciated. Currently it errors with:
$ gsi -:s stripped-randomwalk -e "(main 10)" *** ERROR IN %%rebuild-macro-output1427, "/usr/lib64/syntax-case.scm"@9057.7 -- encountered raw symbol + in output of macro (step)
Thanks in advance,
Marijn
I could still use some help with that program. In the mean time I noticed that psyntax[2] (and gambit) have `syntax-object->datum' and `datum->syntax-object' while R6RS[1] and PLT have `syntax->datum' and `datum->syntax'.
Marijn
[1]:http://www.r6rs.org/final/html/r6rs-lib/r6rs-lib-Z-H-13.html#node_sec_12.6 [2]:http://www.cs.indiana.edu/chezscheme/syntax-case/7.3/psyntax.ss
- -- If you cannot read my mind, then listen to what I say.
Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML http://www.gentoo.org/proj/en/lisp/, #gentoo-{lisp,ml} on FreeNode