chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] how to load define-record and define-macro ?


From: Elf
Subject: Re: [Chicken-users] how to load define-record and define-macro ?
Date: Sat, 15 Dec 2007 15:06:36 -0800 (PST)


sorry if this has already been answered by someone else...

heres one way to make macros available at runtime:

(eval-when (load eval)
    (eval `(define-macro (macroname args blah blah) `(blah))))

although i believe the preferred way is to compile and specify runtime syntax
files.

i was not aware that records werent available at runtime...

-elf



On Thu, 13 Dec 2007, Rick Taube wrote:

how do i get define-macro and define-record available at runtime so i can load some interpreted code that uses them? im in an app that launches chicken, ie im not using csi...

ive tried evalling the following exprs but none of them works and the docs for define-macro and define-record dont say what you have to do to make these available. or maybe im not understanding something more fundamental on how this works if you are not using csi?

(require-extension chicken-more-macros)
(require-extension run-time-macros)
(require-extension define-macro)
(require-extension define-record)


_______________________________________________
Chicken-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/chicken-users





reply via email to

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