[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Prolog FAQ
From: |
Christian |
Subject: |
Re: GNU Prolog FAQ |
Date: |
Tue, 4 Dec 2001 10:13:17 +0100 |
> While we are on the subject, is there a way to specify a file to consult
> at startup (e.g. -l in sicstus)? I couldn't find anything on the website
> or in the list archive, and gprolog --help is _very_ laconic.
>
No, not in the standard toplevel, but u can compile your own new toplevel
which parses the commandline options for example.
%file foo.pl
:- initialization((argument_list(L),consult(L))).
%end
compile it (note: no --min-size and such if u want a neww full toplevel)
$ gplc foo.pl
./ foo is ur new toplevel now
start it and consult bar.pl baz.pl
$ ./foo bar baz
cu Christian
- Re: General question about better documentation and specific question, (continued)
- Re: General question about better documentation and specific question, Vic Bancroft, 2001/12/03
- GNU Prolog FAQ, Daniel Diaz, 2001/12/03
- Re: GNU Prolog FAQ, Christian, 2001/12/03
- Re: GNU Prolog FAQ, Daniel Diaz, 2001/12/03
- Re: GNU Prolog FAQ, Christian, 2001/12/03
- Re: GNU Prolog FAQ, Daniel Diaz, 2001/12/03
- Re: GNU Prolog FAQ, Christian, 2001/12/03
- Re: GNU Prolog FAQ, K. Ari Krupnikov, 2001/12/04
- Re: GNU Prolog FAQ,
Christian <=
- Re: consult from command-line (was GNU Prolog FAQ), Daniel Diaz, 2001/12/04
seg violation compiling gprolog under x86 mandrake 8.1, Erick Alphonse, 2001/12/03