Vitor Santos Costa
|
d476e36a90
|
initialise LOCAL in system_malloc (obs from Jose Santos).
|
2009-11-19 08:25:08 +00:00 |
|
Vitor Santos Costa
|
d9016fa650
|
init_local should be called Yap_init_local to avoid clashesh.
|
2009-11-19 08:24:38 +00:00 |
|
Vitor Santos Costa
|
9cbdf8f57e
|
tiny cleanups.
|
2009-11-18 23:36:07 +00:00 |
|
Vitor Santos Costa
|
6c887452e6
|
allow randomization of initial address, this enables testing restore routine.
|
2009-11-18 23:32:00 +00:00 |
|
Vítor Manuel de Morais Santos Costa
|
71de4ed52a
|
Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6
|
2009-11-18 13:13:51 +00:00 |
|
Vítor Manuel de Morais Santos Costa
|
c108ac508d
|
check for callable before looking at predicate terms...
|
2009-11-18 13:13:16 +00:00 |
|
Vítor Manuel de Morais Santos Costa
|
a316090f8c
|
fix nth_instance: fix bugs and actually add two versions (obs from Theofrastos Mantadelis)
|
2009-11-18 13:06:37 +00:00 |
|
Vítor Manuel de Morais Santos Costa
|
f31aeff952
|
fix bad order of comparison in NthClause.
|
2009-11-18 12:48:22 +00:00 |
|
Vitor Santos Costa
|
939eda0050
|
just be consistent in calls.
|
2009-11-17 10:04:07 +00:00 |
|
Vitor Santos Costa
|
945fff50a2
|
we should only recover H after we backtrack, never before.
|
2009-11-17 10:03:14 +00:00 |
|
Vitor Santos Costa
|
1c52d17a4d
|
get_bom should consider the case the file is empty.
|
2009-11-17 02:37:29 +00:00 |
|
Vitor Santos Costa
|
7b85efff0c
|
subsumes should check for loops (Ulrich's #146).
|
2009-11-17 02:08:01 +00:00 |
|
Vitor Santos Costa
|
b7646836b6
|
remove some weird white spaces.
|
2009-11-17 02:07:48 +00:00 |
|
Vitor Santos Costa
|
832f3d2e4a
|
fix missing header for Yap_rational_tree_loop
|
2009-11-17 02:07:06 +00:00 |
|
Vitor Santos Costa
|
c51c17aa52
|
make sure to get valid terms in meta_call, not references.
|
2009-11-17 00:23:34 +00:00 |
|
Vítor Manuel de Morais Santos Costa
|
99b2347cd8
|
SWI supports xor operator.
|
2009-11-11 10:54:38 +00:00 |
|
Vítor Manuel de Morais Santos Costa
|
8ecac6c2f9
|
sebuf on stdin was called if any std stream was a tty. Bad. (obs from Ashwin Srinivasan).
|
2009-11-10 11:25:56 +00:00 |
|
Vítor Manuel de Morais Santos Costa
|
b5ad71c9c1
|
improve functor tracing
|
2009-11-10 11:25:39 +00:00 |
|
Vítor Manuel de Morais Santos Costa
|
8f46f3d71d
|
fix bad passing of ! destination if we were running at an exec: affected debugger.
|
2009-11-04 12:17:17 +00:00 |
|
Vítor Manuel de Morais Santos Costa
|
2fdf8e9bda
|
fix bad ! register when calling continuation of meta-predicate (obs from A Kimmig).
|
2009-11-03 23:17:06 +00:00 |
|
Vítor Manuel de Morais Santos Costa
|
69d34fb0ce
|
fix over zealous cleaning of attributed variables in heapgc.c
|
2009-11-03 15:07:48 +00:00 |
|
Vitor Santos Costa
|
a628079e00
|
make sure we walk every clause when doing restore mega_clause.
|
2009-11-02 12:46:39 +00:00 |
|
Vítor Manuel de Morais Santos Costa
|
6a8cee8b79
|
compilation fixes
|
2009-10-31 00:18:13 +00:00 |
|
Vitor Santos Costa
|
bda231f24d
|
Use "Foreign.h"
|
2009-10-31 00:02:17 +00:00 |
|
Vitor Santos Costa
|
923094bd01
|
more updates to HEAPFIELDS.
|
2009-10-30 23:59:00 +00:00 |
|
Vitor Santos Costa
|
7116d1385b
|
move more fields to HEAPFIELDS
|
2009-10-28 15:53:23 +00:00 |
|
Vitor Santos Costa
|
838b14cb77
|
more data structures.
|
2009-10-28 15:20:46 +00:00 |
|
Vitor Santos Costa
|
d3f969e1b1
|
various_codes includes all the head pointers to the code space. Try to
centralise everything in a single file (HEAPFIELDS) and generate them
from a Prolog script (buildheap).
|
2009-10-28 13:11:35 +00:00 |
|
Vitor Santos Costa
|
36a7e5c59e
|
fix error handling in syntax_error (don't assume ARG2 has the output).
|
2009-10-26 22:56:18 +00:00 |
|
Vitor Santos Costa
|
4c8eb33e06
|
we had args already (no need for argv0)
improve error handling in YAP_ReadBuffer
|
2009-10-26 10:42:19 +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
|
253444d7ca
|
support parms.h
pass argv[0]
|
2009-10-23 09:09:16 +01:00 |
|
Vitor Santos Costa
|
c6e16a608a
|
fix @ option in format/2
|
2009-10-21 00:07:31 +01:00 |
|
Vítor Manuel de Morais Santos Costa
|
54465b08f1
|
support ISO extension popcount/1
|
2009-10-20 10:03:10 +01:00 |
|
Vítor Manuel de Morais Santos Costa
|
36e0c6bcf7
|
support for msb
|
2009-10-20 09:50:51 +01:00 |
|
Vítor Manuel de Morais Santos Costa
|
d18cb214fa
|
implement epsilon (from ISO)
|
2009-10-20 09:21:59 +01:00 |
|
Vítor Manuel de Morais Santos Costa
|
91b47a438b
|
indenting stuff.
|
2009-10-19 16:39:06 +01:00 |
|
Vítor Manuel de Morais Santos Costa
|
230d8f504f
|
should make sure when we reset a trail_entry it looks like a variable pointer.
|
2009-10-19 16:37:25 +01:00 |
|
Costa Vitor
|
56d37591a5
|
fix var_in_term
|
2009-09-12 17:17:16 -05:00 |
|
Costa Vitor
|
a1d44f068e
|
fix stupid typo.
|
2009-09-12 16:45:00 -05:00 |
|
Costa Vitor
|
c0fd49df34
|
fix bad functor in heap routines.
|
2009-09-12 16:44:28 -05:00 |
|
Costa Vitor
|
32122f4171
|
make sure we have enough room when splitting mega clause.
|
2009-09-12 16:43:44 -05:00 |
|
Costa Vitor
|
fc28a49122
|
just use stderr
|
2009-09-12 16:43:18 -05:00 |
|
Vitor Santos Costa
|
1e905eb5ef
|
allow unification not to bound a variable.
|
2009-09-09 17:59:25 -05:00 |
|
Costa Vitor
|
d02c9d23c2
|
handle cases where test is called with unbound variable.
|
2009-08-31 23:59:34 -05:00 |
|
Costa Vitor
|
4431682276
|
get rid of unused variable.
|
2009-08-31 23:58:05 -05:00 |
|
Costa Vitor
|
a00c69b6f7
|
badly initialised memory stream (obs from J Santos).
|
2009-08-31 23:56:00 -05:00 |
|
Costa Vitor
|
3cbdc8d14a
|
make low level tracer understand yapor.
|
2009-08-19 23:46:51 -05:00 |
|
Costa Vitor
|
33085fd8d1
|
fix YAPOR not being threadtes as threads.
|
2009-08-19 22:44:48 -05:00 |
|