chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] extreme kludge: load that compiles


From: felix winkelmann
Subject: Re: [Chicken-users] extreme kludge: load that compiles
Date: Thu, 19 Feb 2009 10:22:06 +0100

On Wed, Feb 18, 2009 at 7:40 PM, Eduardo Cavazos <address@hidden> wrote:
> Hello,
>
> Even after R6RS, 'load' is all one can really count on. :-)
>
> Below is a "hacked" version of load that I'm using for Chicken. If an '.so'
> file doesn't exist for the file your loading, the file is compiled and one
> is generated. If it does exist but it's out of date, your file is
> recompiled, then the '.so' file is loaded. Otherwise, the '.so' is loaded
> straight away.
>

Neat. I suggest hacking further and scanning the file for embedded "load's".
In the end it leads to somethig akin to DEFSYSTEM.


cheers,
felix




reply via email to

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