Vitor Santos Costa
4fa9021a7b
integration work:
...
- use SWI flags whenever possible
- support by module unknown, escapes, strings
- accesss thread info fom SWI
- allow strings to be input as strings.
- remove some unused flags.
2013-11-13 10:38:20 +00:00
Vítor Santos Costa
917d5ad75b
line numbers for clauses and clause properties
2013-11-05 17:59:19 +00:00
Vitor Santos Costa
43163a190f
Atom Translations and CUDA stub
2013-10-04 13:22:00 +01:00
Vitor Santos Costa
743c9c69fb
get rid of PROTO
2013-04-25 17:15:04 -05:00
Vitor Santos Costa
6cd778f70b
exo stuff
2013-01-09 09:21:07 +00:00
Denys Duchier
97163fa150
place INLINE_ONLY at front of extern inline declarations AND definitions. gcc and clang then behave the same.
2012-06-30 20:42:14 +02:00
Vítor Santos Costa
70bde4d38f
inline extern patch by Denys Duchier
2012-06-29 22:44:08 +01:00
Vitor Santos Costa
0febddf090
fix prototype complaints.
2011-09-07 22:04:18 +02:00
Vitor Santos Costa
5dd62b6354
fix reading predicates with prolog and other module.
2011-09-05 01:11:06 +02:00
Vitor Santos Costa
51e635f0c9
more QLY stuff.
2011-08-31 13:59:30 -07:00
Vitor Santos Costa
ec438106a0
more qly stuff
2011-08-27 21:23:14 -03:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
b6aca9463d
Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3
2011-08-18 22:35:13 +01:00
Vitor Santos Costa
fc9c92b5c1
use lifo for properties as before.
2011-08-18 05:06:02 -07:00
Vitor Santos Costa
27299d432f
more operator stuff.
2011-08-17 14:35:29 -07:00
Vitor Santos Costa
5f3df98069
make sure wide property is always the first property.
2011-08-17 11:16:21 -07:00
Vitor Santos Costa
a56402303e
first step for quick loader, and fix an instruction format.
2011-07-30 00:07:35 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
840e287cda
mode changes
2011-07-25 17:09:28 +01:00
Vitor Santos Costa
e160d86304
use assembler to tell whether a clause has cut, instead of stupidly searching the clause.
2011-07-05 07:28:28 +01:00
Ricardo Rocha
f22994edf9
remove macro MY_ThreadHandle and use LOCAL_ThreadHandle instead
2011-05-09 19:55:06 +01:00
Vítor Santos Costa
8fb8aec9bf
MULTIPLE_STACKS - or-parallelism/threads/tabling
...
YAPOR_THREADS - threads with or-parallelism
make tabling require reference counting for dynamic predicates.
2011-04-14 18:51:11 +01:00
Vítor Santos Costa
90d93fdbdd
cache abstra machine register in threaded mode.
2011-03-07 16:02:55 +00:00
Vitor Santos Costa
b02507ed22
fix 32 bit atoms to ensure alignment at 8 bytes (broken with blobs).
2010-12-02 11:49:58 +00:00
Vitor Santos Costa
7b6f330bd3
improve blob support (but just skeleton).
2010-11-29 23:17:06 +00:00
Vitor Santos Costa
ccb7991a56
should not use PP for thread private
...
more lock tracing aids.
2010-07-28 11:26:20 +01:00
Vítor Santos Costa
e031026a62
instrument PE locking
...
fix missing unlock in index_pred (if predicate had been indexed while we were
waiting).
2010-07-25 11:22:16 +01:00
Vítor Santos Costa
be2a3a635e
L constants are evil in 64 bits
2010-05-11 12:25:49 +01:00
Vitor Santos Costa
d5e1ff38f4
new interface to access globals. They are not in a file called GLOBALS, from which
...
we generate several files automatically.
2010-03-21 22:12:42 +00:00
Vitor Santos Costa
53b4828000
new Atts Code.
2010-03-08 09:24:11 +00:00
Vitor Santos Costa
6d1eec34db
make atom locking compatible with SWI-Prolog.
2009-12-21 10:12:47 -02:00
Vítor Manuel de Morais Santos Costa
506da0b1bf
make write always protect operators when they are not used as operators so as to follow standard ( #150 ).
2009-11-27 16:09:48 +00:00
Vitor Santos Costa
ffe1dfdfff
support for module based operators.
2009-11-20 00:33:14 +00: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
475e681907
do fetch and remove a the same time: PopFromDB
2009-06-13 13:06:02 -05:00
Vitor Santos Costa
4b65b063ca
fixes for threads to compile and boot.
2009-03-24 13:27:36 +00:00
Vítor Santos Costa
4b826e76ae
support for user defined indexing: step 1 basic routines.
2009-02-12 16:39:20 +00:00
Vitor Santos Costa
8a3978e3e1
rename BinaryTestPredFlag to BinaryPredFlag
...
get rid of small annoying arithmetic bugs
2009-02-09 21:56:40 +00:00
Vítor Santos Costa
43e70f2003
more changes to support SWI Input/Output. Now it compiles, which does
...
not mean it would work!
2008-12-22 12:03:14 +00:00
Vítor Santos Costa
e737599dc4
Change to simpler Eval mechanism
...
- avoid duplicate code
- implement different optimised code.
2008-12-04 23:33:32 +00:00
vsc
0c0826b938
fix some icc warnings
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2165 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-25 22:03:14 +00:00
vsc
d02bc3de81
update chr
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2143 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 14:38:02 +00:00
vsc
637f381d94
valgrind it!
...
enable atom garbage collection.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2055 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-23 17:57:56 +00:00
vsc
64d62f1e3e
improve JT
...
fix graph compatibility with SICStus
re-export declaration.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2037 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-05 12:17:25 +00:00
vsc
3beda27d14
fixes to support threads and assert correctly, even if inefficiently.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2030 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-26 23:43:10 +00:00
vsc
42048570f3
speedup meta-calls
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1976 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-07 09:25:27 +00:00
vsc
a5f5f4c237
compile ground terms away.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1975 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-06 17:02:13 +00:00
vsc
b5c8c9bad3
fix uninitalised lock and reconsult test.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1971 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-01 10:01:35 +00:00
vsc
fd049830a3
fix thread bug
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1943 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-29 00:29:00 +00:00
vsc
77f10fe803
handle learning from interpretations.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1942 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-28 23:18:17 +00:00
vsc
7fe05a5c48
fix some thread bugs (thanks to Paulo Moura).
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1866 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-04-16 15:24:24 +00:00
vsc
67738fbbd1
fix max modules limitation
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1865 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-04-10 22:13:21 +00:00