Vitor Santos Costa
7cbdad30f2
be more careful about calling the solver:
...
- only pass variables related to the query
- call the solver in case we have only evidence
2008-10-29 18:23:26 +00:00
Vitor Santos Costa
181e122200
try to avoid doing stack expansion so often on arena overflow
2008-10-29 18:21:41 +00:00
Vitor Santos Costa
de043e3ee9
generate an Error on memory overflow.
2008-10-29 18:19:15 +00:00
Vitor Santos Costa
67d9e0ef26
fix compilation of (V;_) where V is unbound (obs from Ingo Molnar).
2008-10-29 18:16:11 +00:00
Vitor Santos Costa
017146ee54
fix compilation of C/3 (there was a bug with .)
2008-10-29 17:58:47 +00:00
Vitor Santos Costa
d4016ce69e
make -/1 fy with 200 priority, for compatibility with other Prologs (obs from Paylo Moura)
2008-10-28 11:34:19 +00:00
Vitor Santos Costa
e783a03610
fix write_strings breakage
2008-10-25 09:02:42 +01:00
Vítor Santos de Costa
1b399e3433
fix bad call to $execute in $spy
2008-10-24 14:26:44 +01:00
Vítor Santos de Costa
0028072865
fix gibbs EM in case we have 0 elements.
2008-10-24 10:36:37 +01:00
Vítor Santos de Costa
7f365f7377
make GC happen when we have 1/4 of total memory free.
...
There was a problem of not having enough room to put 10% of the heap.
2008-10-24 10:35:53 +01:00
Vítor Santos de Costa
5c959aee93
go back to SICSTus accents mode (and accept newlines in quoted atoms).
2008-10-24 00:23:45 +01:00
Vitor Santos Costa
0dcf34b7bc
mainbranch fixes to:
...
- fix quoted characters output
- fix line position in read_term and friends
- make messages look a bit better
- CLP(BN) EM improvements.
2008-10-23 22:17:45 +01:00
Vítor Santos de Costa
592fe9e366
new version of CLP(BN) with EM learning
2008-10-22 00:44:02 +01:00
Vítor Santos de Costa
b3cb7b1071
add log/2 and exp/2
2008-10-22 00:40:15 +01:00
Vítor Santos Costa
7eeaf24db2
fix SHAREDIR in chr
2008-10-20 18:00:47 +01:00
Vítor Santos Costa
9c3ef66490
fix OSX breakage
2008-10-20 17:58:12 +01:00
Vitor Santos Costa
7e4384cf5c
fix if/3 compilation (obs from Brian De Vries)
2008-10-18 12:50:02 +01:00
Vítor Santos de Costa
7207c18e65
fix longmp in trow not to recover trail. This way we do not need to do
...
copy_term/2 and we avoid losing the attributed variable stack.
2008-10-18 11:03:25 +01:00
Vitor Santos Costa
87987d0b85
fix extra arguments.
2008-10-17 12:37:39 +01:00
Vítor Santos de Costa
9403ea8942
get rid of duplicate declarations.
2008-10-16 17:22:01 +01:00
Vítor Santos de Costa
eeff5515b4
fix isblank warning
2008-10-16 17:19:14 +01:00
Vítor Santos de Costa
45e8b6fc8f
when I call from $spy I am not under debugger control.
2008-10-13 15:40:05 +01:00
Vítor Santos de Costa
6692a5888c
make sure we force debug_jump false on creep.
2008-10-10 00:39:24 +01:00
Vítor Santos de Costa
8b171db743
fix notrace so that it will not call goal_expansion and friends.
2008-10-08 13:43:33 +01:00
Vítor Santos de Costa
bb27cf9b66
fix chr loader for Linux/Unix
2008-10-08 13:29:28 +01:00
Vítor Santos de Costa
a116b546f3
fix dynamic_loading_problem
...
pass dynamic loader straight to ./yap when booting the first time
simplify prefix for chr
make cross-compiler use this.
2008-10-08 13:15:53 +01:00
Vítor Santos de Costa
aef5725901
fix overflow fixes
2008-10-08 13:15:09 +01:00
Vítor Santos de Costa
444fc8fb7f
fix overflow bug
2008-10-07 23:52:26 +01:00
Vítor Santos de Costa
2cdcf87044
fix yxn instruction type.
2008-10-07 22:32:15 +01:00
Vítor Santos de Costa
681d0f186d
fix bad type for p_number_y
2008-10-07 22:00:38 +01:00
Vitor Santos Costa
06a5d8f9db
fix some unbound variables in dist_unbound
2008-09-30 11:48:24 +01:00
Vitor Santos Costa
83c6d45cbc
fixed: bad argument passing in expand_component.
2008-09-30 11:46:49 +01:00
Vitor Santos Costa
32a1396b79
declare hook predicates so that $notrace will not think they are undefined.
2008-09-30 11:44:48 +01:00
Vitor Santos Costa
75cd0c619c
syntax error fixing in em.yap
2008-09-30 00:04:07 +01:00
Vitor Santos Costa
3b811d0d70
changes to support em: step 1
2008-09-30 00:02:31 +01:00
Vitor Santos Costa
09ccb295c2
FIX: in tabling mode _trust_me was being assembled as _retry_me (obs from Chris Mungali)
2008-09-26 18:52:29 +01:00
Vitor Santos Costa
fb8648d7df
remove early completion code.
2008-09-26 18:50:09 +01:00
Vitor Santos Costa
ce8a8bc965
fix showprofres/1.
2008-09-26 00:58:57 +01:00
Vítor Santos Costa
770e838ddd
fix cast warnings in heapgc.c
2008-09-24 20:45:12 +01:00
Vítor Santos Costa
abcb8f99fe
FIX: InitCPred and friends should check for overflow.
2008-09-24 00:59:41 +01:00
Vítor Santos Costa
139f591458
fix catch and throw: make sure we have an environment.
...
use $notrace consistently: note that it only matters if ran from the
debugger, otherwise it is just a meta-call.
2008-09-24 00:13:02 +01:00
Vítor Santos Costa
6747cb21de
do not allow backtracking to a frozen CP.
2008-09-24 00:12:32 +01:00
Vítor Santos Costa
30900bd61f
go back to only doing gc when needed.wq
2008-09-24 00:11:22 +01:00
Vítor Santos Costa
e252ef0b2f
more debugger fixes!
...
- make sure donotrace and oncenotrace are known to the signal mechanism:
they should disable creeping
- avoid creep at deallocate: it is a very bad idea :(
2008-09-23 23:43:01 +01:00
Vítor Santos Costa
ebbefd71ce
debugger fixes:
...
fix $execute0 and $call: they should be handled explicitely
fix missing ! for builtins in debugger meta-call
2008-09-23 22:50:25 +01:00
Vítor Santos Costa
1e8de3f86c
fix ) in arity 0 predicates
2008-09-23 22:49:44 +01:00
Vitor Santos Costa
895e29d444
FIX: '$execute0' should be invisible to creep processing
2008-09-22 18:07:50 +01:00
Vitor Santos Costa
bcb6edfb8a
include PtoAtomHashEntryAdjust to reduce casts
2008-09-18 17:59:16 +01:00
Vitor Santos Costa
20e8924bba
fix type warning in EnvPreg/error.c
2008-09-18 17:48:31 +01:00
Vitor Santos Costa
7f51339a97
fix syntax error in current_predicate
2008-09-18 17:48:01 +01:00