From: Tito L. <tit...@gm...> - 2013-11-11 21:48:39
|
Hi, I'm using an alternative toplevel function for a standalone executable. The code (at the end of [1]) is adapted to SB-IMPL::TOPLEVEL-INIT in `sbcl/src/code/toplevel.lisp'. No problem, but there are unexported functions that I would like to avoid, otherwise the code could stop working in the future. They are SB-IMPL::PROCESS-INIT-FILE SB-IMPL::PROCESS-SCRIPT SB-IMPL::FLUSH-STANDARD-OUTPUT-STREAMS SB-IMPL::TOPLEVEL-REPL A (sometimes recursive) copy-and-paste is practicable, however I would like to know if it is possible to export these utilities, or if there is a chance to have a similar interface. Naturally, let me know if it exists a better way to write a toplevel function without the necessity to copy or rewrite these functions (pardon my ignorance in this case). Best regards, Tito Latini [1] http://sourceforge.net/p/incudine/incudine/ci/master/tree/src/executable.lisp |