On 8/25/05, Daniel B. Faken <[EMAIL PROTECTED]> wrote: > > My question: what is the *appropriate* way to go about this? > Or, what is the minimum "boilerplate" required for a C_toplevel() > which just calls (return-to-host)? > - compiling just this statement generates about 130 LOC. > > (maybe there should just be a C_return_to_host_toplevel to pass?)
The proper way is to have a minimal Scheme toplevel, but it's inconvenient if you just want to eval a few expressions. The current darcs head has a new library unit (stub), that does basically just a (return-to-host). You can pass CHICKEN_default_toplevel as an argument to CHICKEN_run. cheers, felix _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
