[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] define-syntax ?
From: |
Todd Dukes |
Subject: |
Re: [Chicken-users] define-syntax ? |
Date: |
Sat, 26 Apr 2008 14:20:07 -0500 |
Thanks a bunch. The Introduction didn't say it provided define-syntax
so I did not realize it did.
I was able to remove the need for the -R riaxpander on the command line
by adding:
(require-extension riaxpander)
to my code, but I couldn't get it to compile without the -Dcompile-syntax
on the command line. I tried adding:
(register-feature! #:compile-syntax)
or
(register-feature! 'compile-syntax)
or
(register-feature! "compile-syntax")
both before or after the (require-extension riaxpander), but get
an error:
Syntax error: Non-expression in expression sequence:
#<definition>
Expansion history:
<eval> (cons standard-bvl#3 body#4)
<eval> (##sys#call-with-values (lambda ()
(##sys#ria-expand-extended-lambda-list (cadr form#0) (cddr form#0......
<eval> (##sys#ria-expand-extended-lambda-list (cadr form#0)
(cddr form#0) ##sys#syntax-error-hook)
<eval> (cadr form#0)
<eval> (cddr form#0)
<eval> (cons (rename#1 (quote *lambda)) (cons standard-bvl#3
body#4))
<eval> (rename#1 (quote *lambda))
<eval> (cons standard-bvl#3 body#4) <--
*** 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
I will just leave the odd command line in my makefile for now and come
back to it when everything else seems to work.
Thanks,
Todd.
>>>>> "Robin" == Robin Lee Powell <address@hidden> writes:
Robin> On Sat, Apr 26, 2008 at 01:02:38PM -0500, Todd Dukes wrote:
>> 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?
Robin> They are not. There are I think 4 eggs that handle them. I
Robin> suggest riaxpander if that's all you want.
Robin> -Robin
Robin> _______________________________________________
Robin> Chicken-users mailing list address@hidden
Robin> http://lists.nongnu.org/mailman/listinfo/chicken-users