On Sun, Apr 27, 2008 at 12:55 AM, Joshua Griffith <[EMAIL PROTECTED]> wrote: > Hello, > > Is it possible to use the inline egg to compile and cache scheme instead of > c functions generated at runtime (rather than interpreting them using eval)? > I was thinking an application like compiling and caching web-scheme pages > whenever they change.
I dont think you'll need the inline egg - it should be quite straightforward to execute "csc" and compile a requested file into a cache directory, if it has a higher modification time than the compiled version. Repeated loading of .so's is ok (in fact, the runtime system tries to unload the old version, which might even work in some cases). Alternatively, you can compile s-expressions by piping them into "csc -". cheers, felix _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
