Vítor Santos Costa
1369057cc4
fix style checker to be more self-contained.
2010-12-13 19:13:33 +00:00
Vítor Santos Costa
7c2c3febe5
checker should be called after preprocessing (obs from Roberto Bagnara).
2010-12-12 19:19:49 +00:00
Vítor Santos Costa
21bbffceda
make sure we rebuild saved state stuff even if we do not actually enter top-level.
...
fix bug with some definitions being reset at load time.
2010-12-07 15:06:53 +00:00
Vítor Santos Costa
1deb6d2663
fix order at boot
2010-12-06 20:15:05 +00:00
Vítor Santos Costa
552d424ee0
debugger should use the same code that system uses to find undefined predicates.
2010-12-03 12:40:30 +00:00
Vítor Santos Costa
c454690a67
fix save_program to reload foreign files SWI style when restarting.
2010-11-29 18:44:39 +00:00
Vítor Santos Costa
c081d01e78
implement access_file/2 in C
2010-08-03 21:04:16 +01:00
Vítor Santos Costa
e21526ffc8
allow term_expansion from system
2010-06-23 11:45:18 +01:00
Vítor Santos Costa
dc4557c707
more fixes to verbose_load
2010-06-14 08:56:05 +01:00
Vítor Santos Costa
380fd692d9
:- G should not go top-level (obs from Ingo Molnar).
2010-05-25 16:15:09 +01:00
Vítor Santos Costa II
788193b0c9
Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6
2010-04-22 12:17:39 +01:00
Vítor Santos Costa II
28cc9171c3
another victim of system name change
2010-04-22 12:15:59 +01:00
Ricardo Rocha
7eee5a5b56
new built-in predicates to access OPTYap statistics related to memory
...
usage.
2010-04-20 03:59:48 +01:00
Vitor Santos Costa
066603c79b
fix global variables
2010-04-08 01:44:08 +01:00
Vitor Santos Costa
f7e6242fe9
fix spy bug (obs from Nuno Fonseca).
2010-04-07 01:32:57 +01:00
Vitor Santos Costa
c468d8431e
try to make top level writing more SWI compatible.
2010-03-27 11:34:10 +00:00
Vitor Santos Costa
2ba051e908
SWI compatibility for term_expansion
2010-03-14 09:30:24 +00:00
Vitor Santos Costa
c4b39d3ab9
update Prolog code: do a cleanup and make delays use SWI interface.
2010-03-12 14:26:35 +00:00
Vitor Santos Costa
e92107e4cc
version is 6.0
2010-03-05 08:33:29 +00:00
Vitor Santos Costa
8cfbee9584
support exception/3 on undefined predicates.
2010-03-01 23:02:24 +00:00
Vitor Santos Costa
233926ea00
fix nb_getval to handle exceptions.
2010-03-01 22:32:40 +00:00
Vitor Santos Costa
28c60f7e09
fix missing global.
2010-03-01 08:47:39 +00:00
Vitor Santos Costa
dcd1c37fa8
make expand_goal built-in.
2010-02-28 22:25:54 +00:00
Vitor Santos Costa
8582d4ff45
term_expansion can be called from the current_module, as well as from user.
2010-02-28 10:08:01 +00:00
Vitor Santos Costa
12b8acfa20
fix missing initialization (obs from Paulo Moura).
2010-02-28 09:08:06 +00:00
Vitor Santos Costa
7037b38fa7
make nb_ undefined variable return an error, as SWI does.
2010-02-28 00:57:29 +00:00
Vitor Santos Costa
495529e69e
SWI compatible option: prompt_alternatives_on.
2010-02-28 00:05:38 +00:00
Vitor Santos Costa
b4481ca98c
fix confusion with file names.
2010-02-26 13:41:40 +00:00
Vitor Santos Costa
69b6f47b73
make open remember original file.
2010-02-26 11:23:15 +00:00
Vitor Santos Costa
a8039df035
protect unbound ball
2010-02-26 10:22:09 +00:00
Vitor Santos Costa
61eb299ba5
fix call(\+ !).
2010-02-26 10:03:32 +00:00
Vitor Santos Costa
daa55352ec
fix bad module passing.
2010-02-26 09:25:47 +00:00
U-Khasa\Vitor
f350e369b5
handle cr in files
2010-02-11 12:06:27 -06:00
Vitor Santos Costa
de46b64eee
allow debugging inside directives.
2010-01-25 09:02:00 +00:00
Vítor Manuel de Morais Santos Costa
5ef31fbfd2
experiment in or-parallel threads.
2010-01-14 15:58:19 +00:00
Vitor Santos Costa
b3088710d3
emulate SWI module inheritance mechanism (at least, I hope).
2009-12-04 11:00:13 +00:00
Vitor Santos Costa
bc4b718afb
follow import recursively so that we don't lose properties like being a
...
meta predicate.
2009-12-03 16:33:44 +00:00
Vitor Santos Costa
06d30b9fc9
Jump and Throw need to store the term away, if they try to use arena
...
the term will hang in the stack (#152 ).
2009-12-02 21:59:41 +00:00
Vítor Manuel de Morais Santos Costa
98f79484ae
change throw mechanism to fit better with cleanup mechanism:
...
- balls are now stored off line and recovered by Prolog code when everything
is safe.
- if a ball exists, throw uses the *existing* one (be careful not to have one
laying around).
- Jump routine cleans up every cp except ones for setup_call handling, backtracking simply calls setup handlers.
2009-11-27 11:21:24 +00:00
Vitor Santos Costa
d91bab4247
make sure goal_expansion is never seen as an undefined goal. It should at least always succeed.
2009-11-23 10:01:55 +00:00
Vitor Santos Costa
628d181923
protect against var usage.
2009-11-20 00:32:14 +00:00
Vitor Santos Costa
ce5ae8b972
another oops :(
2009-11-17 00:48:16 +00:00
Vitor Santos Costa
84022de89d
disable creep when top-level starts: this prevents creeping after a top-level.
2009-11-17 00:32:38 +00:00
Vitor Santos Costa
0ea348c26d
extend SWI interface with PL_toplevel and to handle C++ code.
...
prolog/0 built-in
fixes to parms.h changes.
2009-10-23 16:50:43 +01:00
Vitor Santos Costa
0179998d60
change Heap.h to YapHeap.h
...
rename $live to prolog/0 (for SWI compatibility).
2009-10-23 14:22:17 +01:00
Vitor Santos Costa
218bc2e423
fix to slow reconsult (Jos Deroo)
2009-09-20 10:03:10 -05:00
Vitor Santos Costa
0688fb4d68
handle old style binding lists.
2009-09-09 18:00:35 -05:00
Vitor Santos Costa
9047ad2e6e
fix bad call.
2009-09-02 23:08:36 -05:00
Vitor Santos Costa
4f71103b88
idon't disable interrupts for creeping.
2009-05-25 09:57:59 -05:00
Vitor Santos Costa
f5bff2a21d
just indenting
2009-05-24 15:16:40 -05:00