Commit Graph

178 Commits

Author SHA1 Message Date
Vitor Santos Costa
f6bcb22b7c fix undefined procedures to allow hooks as before. 2014-10-10 10:00:27 +01:00
Vítor Santos Costa
0c4f846c0e move modules to as early as possible 2014-10-06 00:01:25 +01:00
Vítor Santos Costa
5a40f834f1 push directives to as early as possible. 2014-10-02 14:41:41 +01:00
Vítor Santos Costa
077570314d don't source system predicates 2014-09-25 09:44:34 +01:00
Vítor Santos Costa
3009987985 update docs 2014-09-11 14:06:57 -05:00
Vítor Santos Costa
53a49bb3c3 call ypp from the console 2014-09-08 17:16:00 -05:00
Vítor Santos Costa
5b19ccf6a8 swig fixes for Android compatibility 2014-06-22 17:35:05 +01:00
Vítor Santos Costa
74a65633d8 fix duplicated system predicate + android related cleanups 2014-06-20 11:13:39 +01:00
Vítor Santos Costa
0625f1d7ad doc support 2014-04-21 11:20:00 +01:00
Vítor Santos Costa
137f69ed22 doc support 2014-04-21 11:14:18 +01:00
Vítor Santos Costa
a8c77d2609 fix string_concat/2 2014-04-09 12:39:29 +01:00
Vitor Santos Costa
cc84cd8cb5 check for mistypes 2014-04-06 17:05:17 +01:00
U-vsc-PC\vsc
f8f2376394 use iuse executable to handle cases hwere we may have different versions of YAP around. 2014-03-04 11:58:48 +00:00
Vitor Santos Costa
bcc1757989 fixes to message handling 2014-01-07 01:10:48 +00:00
Vitor Santos Costa
2410cd3862 fixes to new signal handling/debugging code 2013-12-13 08:42:57 +00:00
Vítor Santos Costa
cc03317bd0 user defined messages 2013-11-22 00:44:28 +00:00
Vítor Santos Costa
14747fd0bf more fixes 2013-11-13 22:52:36 +00:00
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
Paulo Moura
746aee16f7 Add support for using .prolog as a Prolog source file extension 2013-11-08 00:40:14 +00:00
Vítor Santos Costa
e5e71ee618 fix source 2013-11-05 17:57:17 +00:00
Vítor Santos Costa
ad0ff98f1a use swi flags whenever possible 2013-11-04 01:14:48 +00:00
Vítor Santos Costa
990dfbecbf fix flags upgrade 2013-10-30 09:41:45 +00:00
Vitor Santos Costa
a64c6e523a fix meta-call handling 2013-03-05 15:47:00 -06:00
Vitor Santos Costa
6e7742ce8b suport /u/vitor/linux/bin:/u/vitor/bin:/usr/bin:/bin:/sbin:/usr/sbin:/ua/vitor/linux/bin:/usr/X11R6/bin:.:/usr/openwin/bin:/usr/local/bin:/ua/vitor/bin:/usr/bin:/bin:/ua/vitor/sw/bin:/opt/condor/bin:/s/bin in paths 2013-02-26 09:33:02 -06:00
Vítor Santos Costa
2cb0f298a8 fix style_checking flags and especially variables. 2013-02-04 11:22:42 -06:00
Vítor Santos Costa
f74164c642 correct support for goal expansion (bug report from Paulo Moura) 2012-11-07 13:49:54 +00:00
Vitor Santos Costa
a997f5647c fix save & restore in 6.3. 2012-06-12 14:50:36 +01:00
Vítor Santos Costa
3458efd335 saved state fixes. 2012-06-11 09:22:53 +01:00
Vitor Santos Costa
58c3445d82 win console. 2012-06-08 06:55:23 -05:00
Vítor Santos Costa
db35eb4b3c call SWI's predicate option expansion. 2012-02-13 09:39:57 +00:00
Vitor Santos Costa
51e635f0c9 more QLY stuff. 2011-08-31 13:59:30 -07:00
Vitor Santos Costa
bdeea3b15e support ply 2011-08-03 16:30:39 +01:00
Vítor Santos Costa
d4ed02bdd3 absolute_file_name 2011-06-22 12:29:35 +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
Vitor Santos Costa
dfe3fcbf0b use SWI stuff module. 2011-06-14 09:02:44 +01:00
Vitor Santos Costa
d6e87420e3 user:prolog_file_type/2.
avoid using old OS stuff, if we have it in.
2011-06-13 01:43:40 +01:00
Vítor Santos Costa
de0f8a8236 dbload 2011-04-30 01:16:40 +01:00
ubu32
851b07c240 fix small bugs 2011-02-28 15:45:14 -08:00
ubu32
53e8811077 fixes to use SWI version of readline. 2011-02-26 18:34:44 -08:00
Vítor Santos Costa
f92fa69eab more PLStream stuff. 2011-02-23 17:46:50 +00:00
Vitor Santos Costa
4a5ba35937 assembly fixes
more support for readline, including getting more stuff from read.
2011-02-17 00:57:49 +00:00
ubu32
f6befe5796 alias stuff. 2011-02-14 06:59:15 -08:00
Vitor Santos Costa
80f190bc8a use SWI user_*. 2011-02-13 01:03:08 +00:00
Vitor Santos Costa
98684ba4bb remove YAP sockets interface. 2011-02-12 23:38:24 +00:00
Vitor Santos Costa
088869c5ea make yap return an error on undef preds by default. 2010-12-30 23:21:07 -06: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
735f318b77 fix silly cut in autoload 2010-06-18 00:30:11 +01:00
Vítor Santos Costa
959e446218 make sure list predicates are available to whoever needs them. 2010-06-17 00:23:03 +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
Vitor Santos Costa
33c2828b7f make sure autoload is seen as dynamic by the system. 2010-05-11 13:57:52 +01:00
Vítor Santos Costa II
52ef6ae819 improve dialect support (make it less hackhish).
first  attempt at emulation of autoloader.
2010-04-22 12:16:37 +01:00
Vítor Santos Costa II
b0f20ea8c5 ifurther support for dialect.yap 2010-04-20 23:19:51 +01: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
c41f6e1906 atts stuff is now a part of prolog. 2010-03-12 08:26:56 +00:00
Vitor Santos Costa
e4f3a127e0 make sure environment variables are consulted first. 2010-03-05 08:33:40 +00:00
Vitor Santos Costa
635d13c082 exception/3 is dynamic. 2010-03-01 23:02:37 +00:00
Vitor Santos Costa
233926ea00 fix nb_getval to handle exceptions. 2010-03-01 22:32:40 +00:00
Vitor Santos Costa
a5e8dbc096 split directives into two files. 2010-02-28 01:11:05 +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
367f1d954f better way to define prolog flag. 2009-12-04 00:06:11 +00:00
Vitor Santos Costa
15fc06764a fix declaration and message_hook/3 (obs from Paulo Moura) 2009-11-02 12:53:51 +00:00
Vitor Santos Costa
12d793755e load control.yap 2009-08-20 10:38:33 -05:00
Vitor Santos Costa
99ac4f4d4a handle SWI style goal expansion natively, instead of trying to be smart. 2009-05-24 19:18:52 -05:00
Vitor Santos Costa
d7559c3f96 put a reminder that in the future YAP will give an exception on unknown. 2009-05-04 18:08:12 -05:00
Vitor Santos Costa
67b29f3c85 improve SWI compatibility. 2009-03-13 19:40:27 +00:00
Vitor Santos Costa
503d97af90 make top-level error handling a bit more compatible with SWI. 2009-03-10 18:07:50 +00:00
Vitor Santos Costa
94ebb90719 UDI patch: make it work with YAP. 2009-02-20 11:42:48 +00:00
Vitor Santos Costa
a000af113b OSX portability updates
start of support for commons prolog initiative
2009-02-16 12:25:03 +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
2e8d898e86 add new eval compiler
fix garbage collector for new big allocation scheme.
2008-12-05 16:08:44 +00:00
Vítor Santos Costa
8bcafd417a include new arithmetic optimiser. 2008-12-04 23:37:25 +00:00
Vítor Santos de Costa
9403ea8942 get rid of duplicate declarations. 2008-10-16 17:22:01 +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
vsc
5b6e8e742b more fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2176 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-31 22:56:22 +00:00
vsc
785ddd56af member was deterministic :(
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2142 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-12 19:18:29 +00:00
vsc
fda34985b9 fix lists predicates
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2141 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-12 17:05:04 +00:00
vsc
17d16e0b14 Big update to support more SICStus/SWI like message handling
fix YAPSHAREDIR
fix yap.tex (Bernd)


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2107 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-22 15:08:37 +00:00
vsc
af0fb4f4d9 SWI-portability changes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2088 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-12 17:03:59 +00:00
vsc
76bf9355a4 add SWI's char and code_type/2.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2049 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-29 12:26:41 +00:00
vsc
bb9d163040 compilation_mode option for load_files
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1980 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-08 11:22:05 +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
d3bbba177f small fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1970 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-10-29 22:48:54 +00:00
vsc
31ff28d3ee upgrade JPL
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1936 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-27 15:25:34 +00:00
vsc
78b52b925c diverse fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1738 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-27 01:32:38 +00:00
vsc
90c1641841 several debugger and CLP(BN) improvements.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1732 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-13 16:10:26 +00:00
vsc
0705ca0640 support for UNICODE, and other bug fixes.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1725 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-27 17:42:03 +00:00
vsc
d9029c6c56 fix library_directory
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1723 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-18 01:40:42 +00:00
vsc
29642223bb fixes for indexing code.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1719 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-15 00:13:37 +00:00
vsc
e112ce1a8a fix bug in growstack
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1718 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-11-14 11:42:26 +00:00
vsc
cd5bc14cfc win32 fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1689 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-08-30 01:06:30 +00:00
rslopes
5179cb7d2b eam.yap includes first version of eamconsult
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1587 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-04-06 11:18:37 +00:00
vsc
db16d32668 minor fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1459 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-11-16 02:01:09 +00:00
vsc
8b06ce9fe4 make consult even load_files/2
define bootstrap/1 for initial consult


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1403 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-19 01:47:43 +00:00
vsc
e6a15addf5 5.1:
- improvements to GC
   2 generations
   generic speedups
- new scheme for attvars
   - hProlog like interface also supported
- SWI compatibility layer
   - extra predicates
   - global variables
   - moved to Prolog module
- CLP(R) by Leslie De Koninck, Tom Schrijvers, Cristian Holzbaur, Bart
Demoen and Jan Wielemacker
- load_files/2

from 5.0.1

- WIN32 missing include files (untested)
- -L trouble (my thanks to Takeyuchi Shiramoto-san)!
- debugging of backtrable user-C preds would core dump.
- redeclaring a C-predicate as Prolog core dumps.
- badly protected  YapInterface.h.
- break/0 was failing at exit.
- YAP_cut_fail and YAP_cut_succeed were different from manual.
- tracing through data-bases could core dump.
- cut could break on very large computations.
- first pass at BigNum issues (reported by Roberto).
- debugger could get go awol after fail port.
- weird message on wrong debugger option.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1402 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-18 17:04:43 +00:00
vsc
52a46e5c5d fix mess with add clause
improves on sigsegv handling


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1239 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-02-08 04:05:39 +00:00
vsc
6c7b891ec8 previous fixes would not work for ! (eg, call((!,X=2;X=3))).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1183 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-22 16:22:14 +00:00
vsc
fda0b76f18 fix meta-call on system predicates bug
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1181 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-22 05:48:43 +00:00
vsc
a7f550d667 New comment-based message style
Fix thread support (at least don't deadlock with oneself)
small fixes for coroutining predicates
force Yap to recover space in arrays of dbrefs
use private predicates in debugger.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1084 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-06-23 17:24:20 +00:00
vsc
ddc7b3a0bc a few more fixes to support timing and to improve message queues.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1012 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-03-02 16:44:58 +00:00
vsc
6662ca157e simplify module access
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@981 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-12 12:37:12 +00:00