Commit Graph

2465 Commits

Author SHA1 Message Date
Vítor Santos Costa
6ed7736c28 C implementation of numbervars 2011-11-03 07:44:08 +09:00
Vítor Santos Costa
02e39ee78a beautify code. 2011-11-02 21:21:28 +09:00
Ubuntu32
29dc250a66 fix big int indexing 2011-11-01 17:25:59 -07:00
Vítor Santos Costa
1ddd61314c support for X^[A,B] and X^length in arithmetic expressions. 2011-10-27 12:36:48 +02:00
Vítor Santos Costa
8785108e66 Yap_unifiable and TagOfTerm 2011-10-27 12:35:40 +02:00
Vítor Santos Costa
980c79359f Yap_unifiable and YAP_Unifiable. 2011-10-27 12:35:07 +02:00
Vítor Santos Costa
384ddd84ad extend interface with IsTermNIl() 2011-10-24 22:46:16 +01:00
Vítor Santos Costa
5d0eed5eb1 make sure SWI atom constants are typed as atom_t 2011-10-21 23:06:17 +01:00
Vítor Santos Costa
df05859cb4 fix maximum limit for expanding area. 2011-10-21 22:05:28 +01:00
Vítor Santos Costa
5cd157147f fix CurrentTrailTop 2011-10-21 22:04:58 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
f7f90d5f5c fix conflict with WIN library 2011-10-21 19:12:21 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
e3847eff38 optimise straight line code. 2011-10-21 19:11:25 +01:00
Vitor Santos Costa
72afe868ec allow access to argc and argv in the c-interface. 2011-10-13 16:46:39 +01:00
Vitor Santos Costa
98cc029b66 fix warning. 2011-10-13 16:46:29 +01:00
Vítor Santos Costa
d4ea15811e fix yapor bootstrap. 2011-10-13 15:04:16 +01:00
Vitor Santos Costa
a2a554f17f improve debugger error reporting. 2011-10-12 23:50:49 +01:00
Vítor Santos Costa
df6c0b59e9 jump guessing 2011-10-04 06:42:01 -03:00
Vítor Santos Costa
ff67abc937 fix prefetching 2011-10-03 15:29:57 -03:00
Vítor Santos Costa
43c07f5051 more speed stuff. 2011-10-02 21:01:14 -03:00
Vítor Santos Costa
66ae65fe09 small look at compilation. 2011-10-02 19:55:22 -03:00
Vítor Santos Costa
36d20477fb small fixes to avoid using global reg. 2011-10-02 16:18:09 -03:00
Vítor Santos Costa
bab27a5761 fix warning. 2011-10-02 16:17:30 -03:00
Vitor Santos Costa
29866562fb fix gc calling from C-code. 2011-10-01 13:00:00 -07:00
Vitor Santos Costa
7c57ab99f2 add debugging aids. 2011-10-01 12:59:45 -07:00
Joao
cc80efbff0 CACHE_REGS 2011-09-21 15:30:29 +01:00
Joao
9e50de9efc Merge branch 'master' of git://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-09-20 11:38:10 +01:00
Joao
7378b56289 Fix READ_LOCK. 2011-09-20 11:36:49 +01:00
Vítor Santos Costa
7cc1d98079 fix bug with incremental gc setting HZ incorrectly. 2011-09-20 09:53:43 +01:00
Vítor Santos Costa
abf74a8aa9 avoid unnecessart work. 2011-09-20 09:53:06 +01:00
Joao
1a6aff8aa1 Merge branch 'master' of git://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-09-15 15:44:26 +01:00
Joao
64ae3cdf52 fix YAPOR incremental copy. 2011-09-15 15:40:47 +01:00
Vitor Santos Costa
045df7d7d6 MultiFiles should initialize as FAIL. 2011-09-07 23:35:11 +02:00
Vitor Santos Costa
bf54802c49 go back to model where multifile cannot be in module 0. 2011-09-07 22:04:42 +02:00
Vitor Santos Costa
c47a7be2e8 fix formt to include all predicates and add right arity to DB entries. 2011-09-07 08:03:46 +02:00
Vitor Santos Costa
db0a7771ba fix multi-file preds defined in Prolog mode to be actuall defined in that mode. 2011-09-07 08:02:54 +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
9cfd4d8d8b move package/PLStream to os
modify Makefiles accordingly
define __unix__ on Unix like clones (OSX, AIX, etc).
2011-09-04 19:42:33 +02:00
Vitor Santos Costa
eaceaaad29 spaces changed. 2011-09-04 19:24:53 +02:00
Vitor Santos Costa
9d8e7ed034 indent alloc.c 2011-09-04 19:22:08 +02:00
Vitor Santos Costa
c3ea833845 check for NULL cps when adjusting. 2011-09-04 13:05:09 +02:00
Vitor Santos Costa
5a91af843f encoding is done by SWI code, don't mess around. 2011-09-02 21:03:41 +01:00
Vitor Santos Costa
8a9868a120 fix spurious error. 2011-09-02 15:37:47 +01:00
Vitor Santos Costa
11a84ec0a2 cosmetic fixes. 2011-09-01 06:20:21 -07:00
Vitor Santos Costa
521d65c058 fix oops in try_open 2011-09-01 06:11:38 -07:00
Vitor Santos Costa
b331c4bed0 ClSize should be the block size in bytes, and not the amount of code. Check that for megaclauses. 2011-08-31 21:13:29 -07:00
Vitor Santos Costa
8314ecde02 adjust bmap pointers too. 2011-08-31 14:10:31 -07:00
Vitor Santos Costa
51e635f0c9 more QLY stuff. 2011-08-31 13:59:30 -07:00
Vitor Santos Costa
b343da1042 avoid repeated computations. 2011-08-31 13:58:41 -07:00
Vitor Santos Costa
d349079e82 temporary disable ground terms opt. 2011-08-31 13:58:06 -07:00
Vitor Santos Costa
1b34fde09e consider case where we are not indexed. 2011-08-31 13:57:10 -07:00
Vitor Santos Costa
dfa10d1c23 fix size calculation. 2011-08-31 13:55:46 -07:00
Vitor Santos Costa
083c88a91d iroutine to add new operator in certain module. 2011-08-31 13:54:52 -07:00
Vitor Santos Costa
9993ca2f3a syntax change 2011-08-31 13:54:19 -07:00
Vitor Santos Costa
ec438106a0 more qly stuff 2011-08-27 21:23:14 -03:00
Vitor Santos Costa
ae05e95815 more qly fixes. 2011-08-25 03:20:20 +01:00
Vitor Santos Costa
6df5d0a214 don't remove source annotations. 2011-08-25 03:19:27 +01:00
Vitor Santos Costa
26e3f2cea0 qly fixes 2011-08-24 12:40:06 +01:00
Vitor Santos Costa
7c0ba3b867 qly stuff. 2011-08-24 00:11:54 -03:00
Vitor Santos Costa
704989bf70 fix bad memory reference 2011-08-23 14:26:59 -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
fee0ee8691 fix scanning for operators. 2011-08-18 05:01:48 -07:00
Vitor Santos Costa
d8b5a0e5d5 handle SY of wide characters. 2011-08-17 16:23:12 -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
5a2aa219db more slot stuff 2011-08-16 08:47:31 -07:00
Vitor Santos Costa
a3303eeb69 more qlyw stuff. 2011-08-16 10:34:44 -03:00
Vitor Santos Costa
2ab46f753d recover slots 2011-08-16 13:30:51 +00:00
Vitor Santos Costa
0b12932f34 make this code DEBUG only. 2011-08-09 08:34:23 -03:00
Vitor Santos Costa
31aed3db43 fix merge. 2011-08-09 08:13:42 -03:00
Vitor Santos Costa
451dc1380f qly to qlyw 2011-08-09 08:11:23 -03:00
Vitor Santos Costa
fe8544c01e fix debugging info. 2011-08-03 16:11:41 +01:00
Vitor Santos Costa
c871761c11 more qly stuff. 2011-08-03 08:23:00 +01:00
Vitor Santos Costa
a56402303e first step for quick loader, and fix an instruction format. 2011-07-30 00:07:35 +01:00
Vitor Santos Costa
169758af5e fix bug. 2011-07-28 10:31:56 +01:00
Vitor Santos Costa
4a50cfa853 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-07-27 16:51:24 +01:00
Vitor Santos Costa
619d0622e6 allow writing of opaque terms. 2011-07-27 16:50:14 +01:00
Vitor Santos Costa
a06586ad22 make more slot ops inline. 2011-07-27 16:31:10 +01:00
Vitor Santos Costa
b55ffd0089 fix warning message. 2011-07-26 21:05:16 +01:00
Ricardo Rocha
efc59cf8d6 DepFr_cons field initialization for threads 2011-07-26 16:49:49 +01:00
Ricardo Rocha
3345709bdb avoid InitWorker twice for main thread 2011-07-26 15:51:52 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
4fe1833ece Merge branch 'master' of /cygdrive/z/vitor/Yap/yap-6.3 2011-07-25 17:09:43 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
840e287cda mode changes 2011-07-25 17:09:28 +01:00
Vitor Santos Costa
991d85edf0 fixes to interrupt handling in readline. 2011-07-22 22:48:30 +01:00
Vitor Santos Costa
a701f08180 small fixes. 2011-07-22 21:35:18 +01:00
Vitor Santos Costa
a16a7d5b1c fix calling of Write and Read for new SWI style interface. 2011-07-22 15:49:40 +01:00
Vitor Santos Costa
80966dd286 check for NULL handler. 2011-07-22 04:21:21 -07:00
Vitor Santos Costa
f6be2ed08d support interface to foreign objects that have a backtrack handler. 2011-07-22 04:09:33 -07:00
Vitor Santos Costa
19f7dd8d58 fix typos. 2011-07-22 02:31:13 -07:00
Vitor Santos Costa
869e985186 Merge branch 'master' of ssh://yap.git.sf.net/gitroot/yap/yap-6.3 2011-07-22 01:36:34 -07:00
Vitor Santos Costa
c0ef01a700 avoid ground term optimisation with YAPOR. 2011-07-22 01:35:43 -07:00
Vitor Santos Costa
d3f8829524 Merge branch 'master' of ssh://yap.git.sf.net/gitroot/yap/yap-6.3 2011-07-21 14:40:49 +01:00
Vitor Santos Costa
6fdf6b49f6 fix computation of cut register for either (yapor). 2011-07-21 14:39:57 +01:00
Vitor Santos Costa
a1d903e3e9 external term support. 2011-07-21 06:32:49 -07:00
Vitor Santos Costa
24ee3aaafe Merge branch 'master' of ssh://yap.git.sf.net/gitroot/yap/yap-6.3 2011-07-21 02:24:58 -07:00
Vitor Santos Costa
7a33b8ebbf allow strong generic buffers in stack. 2011-07-21 02:24:21 -07:00
Vitor Santos Costa
de60807724 cleanup patch 2011-07-14 09:40:15 +01:00
Ricardo Rocha
22d8e33a5f fix cut support for or-parallelism 2011-07-13 17:36:26 +01:00
ubu32
11a74236dc fix slots: have slots ready at init, even if we don't have a Prolog top-level;
don't get lost after pruning.
2011-07-11 22:12:32 -07:00
ubu32
4a13735cb0 ifix pruning 2011-07-11 21:14:26 -07:00
ubu32
3d4a79334e put tracer back to normal. 2011-07-10 04:52:13 -07:00
ubu32
2b213963dd use Scurin by default in read/1. 2011-07-10 04:50:55 -07:00
ubu32
0424bf6403 fix bad call to garbage collector. 2011-07-09 09:16:02 -07:00
ubu32
cc378715e0 fix 32 bit warnings. 2011-07-09 09:15:10 -07:00
Vitor Santos Costa
6863a43e76 fix handling of backtrackable C-code in longjmp and other long range cuts. 2011-07-09 07:56:11 -04:00
Vitor Santos Costa
15f5277ca4 use structure for visited terms in hash.
predicates that did stack expansion were declared safe.
2011-07-06 17:26:53 -04: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
Vitor Santos Costa
c444845fbf fx thread stuff. 2011-07-05 07:05:07 +01:00
Vitor Santos Costa
0beb2432a4 make sure wwe always initialise new variables in the body, even if we have a goal New = Old. 2011-07-05 07:03:14 +01:00
Vitor Santos Costa
89e23bff65 fix cache usage in write. 2011-07-04 14:14:38 +01:00
Vitor Santos Costa
49b3f4e7b6 fix case where we just clean a single atom, the last one. 2011-06-27 22:55:30 +01:00
Vítor Santos Costa
e74a25d366 handle slowdown when retracting clauses. 2011-06-24 21:08:22 +01:00
Ricardo Rocha
e1fdbd7537 fix incompatibilities with string patch 2011-06-21 16:53:17 +01:00
Ricardo Rocha
7c6b4bf489 removing macro SEQUENTIAL_IS_DEFAULT 2011-06-21 15:43:50 +01:00
Ricardo Rocha
0929dc4fc0 Merge branch 'master' of git://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-06-21 15:21:46 +01:00
Ricardo Rocha
8116aac432 parallel execution is now explicit using one of the new built-in
predicates: parallel/1, parallel_findall/3 or parallel_once/1.
2011-06-21 15:19:07 +01:00
Vítor Santos Costa
8c5a87d389 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-06-21 15:11:49 +01:00
Vítor Santos Costa
ded6b2435c improve BigNum handling. 2011-06-21 15:11:07 +01:00
Vítor Santos Costa
42ebf1db4b commits have no end of file. 2011-06-21 15:09:30 +01:00
Vítor Santos Costa
7e7bc06d07 check for problems in bignums. 2011-06-21 15:08:58 +01:00
Vítor Santos Costa
f6133f70b1 fix storage computing for big nums.wq 2011-06-21 15:07:54 +01:00
Joao
77171d4179 fix Yap debug. 2011-06-20 14:49:24 +01:00
Vítor Santos Costa
866d2130af disable make_index for now. 2011-06-14 09:39:19 +01:00
Vítor Santos Costa
5614d05a03 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-06-14 09:23:32 +01:00
Vitor Santos Costa
2177b4a63f new string_to_list and fix string_to_atom/2. 2011-06-14 08:59:17 +01:00
Vitor Santos Costa
8991b5247a fixes to scanner code. 2011-06-14 08:58:51 +01:00
Vitor Santos Costa
ad58ff3ecc oops, posfix was looking for infix :( 2011-06-14 08:58:10 +01:00
Vitor Santos Costa
4e5c3b9103 delay unification with start of term, in case we come up with comments. 2011-06-14 08:57:23 +01:00
Vitor Santos Costa
a84b865231 fix string size for garbage collection. 2011-06-14 08:56:21 +01:00
Vitor Santos Costa
ede482521d improve code to search for operator definitions. 2011-06-14 08:55:44 +01:00
Vitor Santos Costa
2aa76a546c string_to_atom/2. 2011-06-13 01:43:03 +01:00
Vitor Santos Costa
2bc9f6093c type error for string 2011-06-13 01:42:32 +01:00
Vitor Santos Costa
261e02b43e support for option comments(X) in read_term/1. 2011-06-12 17:23:10 +01:00
Vitor Santos Costa
787ca8fd05 fix strings. 2011-06-12 17:22:45 +01:00
Vítor Santos Costa
03fe3285e9 fix warnings. 2011-06-06 10:32:58 +01:00
Vitor Santos Costa
8d4f51e098 Merge branch 'master' of ssh://yap.git.sf.net/gitroot/yap/yap-6.3 2011-06-04 09:33:50 +01:00
Vitor Santos Costa
8bd406bfc9 fix processing of undefined arithmetic argument (obs from J Santos) 2011-06-04 09:33:26 +01:00
Vitor Santos Costa
8275a33b76 improve warning messages for undefined arithmetic arguments. 2011-06-04 09:32:51 +01:00
Ricardo Rocha
d601ba9caf fix yapor memory allocation 2011-06-02 17:01:00 +01:00
Ricardo Rocha
dfe0e1854f init_yapor_workers -> Yap_init_yapor_workers 2011-06-01 18:51:12 +01:00
Joao
e319b2fbf9 fix YAPOR THREADS. fix threads + tabling. 2011-05-27 17:21:03 +01:00
Joao
f658a99dad fix C/scanner.c. change some misc/LOCALS initializations. 2011-05-26 15:02:00 +01:00
Joao
98e35b16e8 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-05-25 16:41:39 +01:00
Joao
971ad94311 moved several global variables to misc/GLOBALS 2011-05-25 16:40:36 +01:00
Vítor Santos Costa
14bdc262df export TermToStream 2011-05-25 13:10:39 +01:00
Vítor Santos Costa
a57cd039d8 fix bug in handling very many comments. 2011-05-24 12:26:37 +01:00
Joao
8170f6d3cb Some global variables(Yap_thread_gl) in C/init.c are now declared in misc/LOCALS 2011-05-23 16:19:47 +01:00
Vítor Santos Costa
2f964c9f51 remove unused files. 2011-05-13 11:45:23 +01:00
Joao
bce888bd6d Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-05-11 18:24:25 +01:00
Joao
ab63cd190b LOCALS and GLOBALS are now generated by misc/buildlocalglobal. 2011-05-11 18:22:58 +01:00
Vitor Santos Costa
31679df9ce Merge branch 'master' of ssh://yap.git.sf.net/gitroot/yap/yap-6.3 2011-05-11 09:29:43 +01:00