[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Star-up Question
Garcez <Garcez@oninetspeed.pt> writes:
goo/user 0<= (load "ex.goo" 'goo/usr)
Try (load "/home/garcez/goo_dir/ex.goo" 'goo/user)
If you look at the source for load in src/goo/eval/top.goo,
you'll see that it tries to find ex.goo in *module-search-path*,
which defaults to /, ~/.goo/mods/, $GOO_ROOT/local/mods/, and
$GOO_ROOT/mods/). The first entry is what lets you load using
an absolute path.
Another option is to evaluate
(use goo/system)
(pushf *module-search-path* "/home/garcez/goo_dir")
You can probably stick that in ~/.goo/init.goo
Faried.
--
^self