chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] define-syntax ?


From: Todd Dukes
Subject: [Chicken-users] define-syntax ?
Date: Sat, 26 Apr 2008 13:02:38 -0500

I see in the 'Deviations from the standard' section ofhte
manual that section 4.3 syntax rules macros are not provided
by default.

Are section 5.3 define-syntax macros also not available? I 
am getting this:

-----------------------------------------------------------
Syntax error: define-syntax

        "highlevel macros are not supported"

        Expansion history:

        <syntax>                (begin (define-syntax grp (syntax-rules () 
((grp name) (begin (v name (the-string)) (cons name (stri......
        <syntax>                (define-syntax grp (syntax-rules () ((grp name) 
(begin (v name (the-string)) (cons name (string->sym......      <--
*** Shell command terminated with exit status 1: 
/pkg/chicken-/3.1.0/x86_64-linux//bin/chicken disasm-utils-lib.scm -output-file 
disasm-utils-lib.c -quiet
make: *** [disasm-utils-lib.o] Error 1
bash-2.05a$ 

-----------------------------------------------------------

>From what I think is this code:

-----------------------------------------------------------
    (define-syntax grp
       (syntax-rules ()
          ((grp name)
           (begin (v name (the-string)) (cons name (string->symbol 
(the-string)))))))
-----------------------------------------------------------


I could not find an egg that had define-syntax so I was wondering if
my error is something else and I am confused by the message.


Am I missing something in the documentation?

Thanks,
Todd.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]