Commit Graph

552 Commits

Author SHA1 Message Date
Vítor Santos Costa
0409449a23 expand interface to create list from array of terms. 2011-11-18 16:26:11 +00:00
Vítor Santos Costa
2ee9981a11 new Makefiles and prototypes. 2011-11-03 07:55:56 +09:00
Vítor Santos Costa
980c79359f Yap_unifiable and YAP_Unifiable. 2011-10-27 12:35:07 +02:00
Vítor Santos Costa
8d4c9160eb add compile_predicates/1. 2011-10-21 23:02:07 +01:00
Vitor Santos Costa
72afe868ec allow access to argc and argv in the c-interface. 2011-10-13 16:46:39 +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
a16a7d5b1c fix calling of Write and Read for new SWI style interface. 2011-07-22 15:49:40 +01:00
Vitor Santos Costa
a1d903e3e9 external term support. 2011-07-21 06:32:49 -07:00
Vítor Santos Costa
0b6b471359 more SWI style flags: associate and shared_object_extension. 2011-06-22 12:27:05 +01:00
Vítor Santos Costa
49daa4ab0b fix prolog_load_context position detection to be SWI compatible (obs from Paulo Moura).wq 2011-04-30 10:57:00 +01:00
Vítor Santos Costa
d3388ed9b4 fix documentation of expand_term/2 2011-04-22 13:35:02 +01:00
Vitor Santos Costa
8ee0724524 set version number. 2011-03-07 22:26:28 +00:00
Vítor Santos Costa
cce6bb6354 LD should be local to threads.
get rid of write_depth on YAP side.
2011-03-01 10:26:25 +00:00
Vitor Santos Costa
712300027e include support for working_directory/2 as a system predicate. 2011-02-12 00:26:28 +00:00
Vítor Santos Costa
f840ee307d Merge branch 'master' of ../yap-6.2 2011-02-02 16:15:50 +00:00
Vitor Santos Costa
5c54ff89a1 add subtract/3 to lists. 2011-01-03 21:55:42 -06:00
Vítor Santos Costa
b086d8b5cd Merge branch 'master' of ../yap-6.2 2010-12-07 18:21:50 +00:00
Vítor Santos Costa
c08e99a77c fix mapnodes/2 (obs from Ingo Molnar). 2010-12-07 17:50:51 +00:00
Vítor Santos Costa
7874c790f3 Merge branch 'master' of ../yap-6.2 2010-12-06 20:16:05 +00:00
Vítor Santos Costa
c085e68529 document YAP_Throw 2010-12-06 20:14:51 +00:00
Vítor Santos Costa
bdd7ea45d1 Merge branch 'master' of ../yap-6.2 2010-12-02 19:58:28 +00:00
Vítor Santos Costa
2f6733e37a add expand_file_name/2 2010-12-02 19:57:55 +00:00
Vitor Santos Costa
edae401189 Merge ../yap-6.2 2010-11-24 10:02:04 +00:00
Theofrastos Mantadelis
813b15d022 quick documentation for block_diagram 2010-11-23 13:24:05 +01:00
Paulo Moura
fea1ec1941 Added documentation on the new built-in predicates cd/0, pwd/0, and ls/0. 2010-11-23 00:25:33 +00:00
Vitor Santos Costa
f34cd3cfea Merge ../yap-6.2 2010-11-07 19:57:39 +00:00
Paulo Moura
1ff86ea4e5 Corrected meta_predicate/1 description and examples. 2010-11-05 22:25:32 +00:00
Vítor Santos Costa
e509d11c2e routines to copy rational terms to tree and vice-versa. 2010-11-01 20:11:28 +00:00
Vítor Santos Costa
bb6e98dd66 update version
small fixes and extra documentation
2010-10-28 18:05:18 +01:00
Vítor Santos Costa
89411acbc9 Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-10-27 14:53:33 +01:00
Vítor Santos Costa
186369a279 document predicate_statistics 2010-10-27 14:52:52 +01:00
Vitor Santos Costa
ecd2fab52e fix term_variables/2 docs (obs from Bernd Gutmann). 2010-10-24 22:19:03 +02:00
Paulo Moura
213af5f917 Added description of the hook predicate user:prolog_predicate_name/2 to the user manual. 2010-10-22 00:57:57 +01:00
Vitor Santos Costa
9770904f6f update version to next stable 2010-10-18 09:17:12 +01:00
Paulo Moura
047f1ad809 Corrected some spelling errors in the user manual. 2010-10-04 19:35:22 +01:00
Vítor Santos Costa
706a707d78 some doc fixes (obs from David Powers) 2010-09-30 20:52:20 +01:00
Paulo Moura
39baf51c2d Updated user manual on the four-quadrant arc tangent function, which is available as both atan/2 and atan2/2. 2010-09-28 02:38:22 +01:00
Paulo Moura
9dd44074d2 Fixed several typos in the user manual: some ISO built-ins are not marked as such while some non-ISO built-ins are marked as ISO. 2010-09-27 23:32:45 +01:00
Vitor Santos Costa
99c5a17b12 Implement Halt Hook (request from Bernd). 2010-09-24 14:00:53 +01:00
Vitor Santos Costa
68f49e9bdd fix bsolute_file_name for directories (obs from Paulo Moura). 2010-09-24 12:14:37 +01:00
Vitor Santos Costa
bf75e8265b fix matlab docs (obs from David Powers) 2010-09-24 00:47:02 +01:00
Vitor Santos Costa
eb77cfb9ed document xor 2010-09-24 00:45:04 +01:00
Vitor Santos Costa
82a44d0277 include docs on MYDDAS, 2010-09-07 09:51:59 -05:00
Vitor Santos Costa
8b9cf7dc2a YAP_SetYAP_Flag 2010-08-30 22:25:56 -05:00
Vitor Santos Costa
e4a15cba33 div/2 operators (from WG17 and #176) 2010-08-30 21:50:33 -05:00
Vitor Santos Costa
410c4c96d5 Ulrich Neumerkel's lambda expressions. 2010-08-04 23:26:50 +01:00
Vitor Santos Costa
7bf8187bba remove atan2 (WG17 UD #175) 2010-08-04 22:09:08 +01:00
Vitor Santos Costa
0449bf1e7f acyclic_term/1 should be builtin(ISO WG17, UD #174). 2010-08-04 21:50:19 +01:00
Vitor Santos Costa
cf3cb21fd7 subsumes_term/2 (from ISO and UD #173). 2010-08-04 21:46:10 +01:00
Vítor Santos Costa
8592db72d7 start 6.0.7 2010-08-04 20:29:24 +01:00
Vítor Santos Costa
f1977f5dab allow saving and restoring current arguments to/from slots. 2010-08-04 17:36:20 +01:00
Vitor Santos Costa
90ffa99878 fix documentation 2010-08-03 12:58:19 +01:00
Vítor Santos Costa
388f4fb782 expand C-interface to allow access to common term operations (request from Ingo Molnar). 2010-08-02 19:48:17 +01:00
Vítor Santos Costa
e5c21bda92 document atomic_list_concat/3 (stolen from SWI). 2010-06-18 00:30:39 +01:00
Vítor Santos Costa
25b33e2ac8 document SWI compatibility stuff 2010-06-17 00:32:52 +01:00
Vítor Santos Costa
4a76bde7cb documentation changes for rationals. 2010-05-28 12:06:42 +01:00
Vítor Santos Costa
eb980421a9 make term_to_atom/2 a YAP builtin. 2010-05-23 18:39:46 +01:00
Vítor Santos Costa
e5df34e323 fix missing docs 2010-05-21 22:50:37 +01:00
Vitor Santos Costa
a4344f5bf6 move to 6.0.6 2010-05-11 22:22:13 +01:00
Vitor Santos Costa
31554991c8 better emulation of SWI atom_t and functor_t. 2010-05-03 14:26:56 +01:00
Vítor Santos Costa II
23d01fc7a6 version 6.0.5 2010-05-01 12:20:28 +01:00
Vítor Santos Costa II
b0b42d0e31 intersection/3 2010-04-21 00:15:11 +01:00
Vítor Santos Costa II
2566ebcee5 make predsort a system predicate. 2010-04-20 23:49:14 +01:00
Vítor Santos Costa II
007bfc21b9 document aggregate library
support plus/3 and succ/2 and document them, plus between
2010-04-20 23:06:41 +01:00
Vitor Santos Costa
7e389a5b87 allow a file filter with initialization. 2010-04-18 21:48:00 +01:00
Vitor Santos Costa
5b1a2067f9 add support for with_output_to/2. 2010-04-14 10:57:00 +01:00
Vítor Santos Costa II
51c6ac37d9 fix documentation of SWI compatible memory allocation flags. 2010-04-12 17:22:03 +01:00
Vítor Santos Costa II
2257b056f0 fix absolute_file_name (SWI and SICStus compatibility, obs from Paulo Moura). 2010-04-10 21:23:38 +01:00
Vítor Santos Costa II
c3d2e4cd14 support for agc_margin 2010-03-22 14:47:53 +00:00
Vitor Santos Costa
1245c85ba1 move to version 6.0.4 2010-03-16 01:16:36 +00:00
Vitor Santos Costa
c5002e4c98 update docummentation. 2010-03-12 10:19:55 +00:00
Vitor Santos Costa
43a1a754dd erf function (patch from Bernd Gutmann). 2010-03-05 00:01:04 +00:00
Vitor Santos Costa
50b692d2c1 change release to 6.0.3 2010-03-04 09:13:06 +00:00
Vitor Santos Costa
db0b378789 fix doc typo (obs from Jose Santos). 2010-03-03 22:12:17 +00:00
Vitor Santos Costa
145e66063b inc version to 6.0.2 2010-03-01 23:06:25 +00:00
Vitor Santos Costa
b03cbac342 document exception/3 2010-03-01 23:02:48 +00:00
Vitor Santos Costa
1b5038cc9e fix docs on nb_ 2010-03-01 21:49:10 +00:00
Vitor Santos Costa
16a9c8a807 SWI-compatible source_file/1 and 2 2010-02-28 22:24:51 +00:00
Vitor Santos Costa
e70bd6d983 document change in term_expansion and goal_expansion. 2010-02-28 10:10:23 +00:00
Vitor Santos Costa
ec30e08f69 add user_flags/s prolog_flag 2010-02-28 00:42:47 +00:00
Vitor Santos Costa
495529e69e SWI compatible option: prompt_alternatives_on. 2010-02-28 00:05:38 +00:00
Vitor Santos Costa
b93970fe67 6.0.1 2010-02-27 10:11:03 +00:00
Vitor Santos Costa
73eadab2e9 fix off item 2010-02-26 23:13:22 +00:00
Vitor Santos Costa
8ec6791183 add atom_to_term/3. 2010-01-26 12:19:13 +00:00
Vítor Manuel de Morais Santos Costa
0c29616bc2 SWI-compatible for initialization/2· 2010-01-15 16:21:29 +00:00
Vítor Manuel de Morais Santos Costa
af32dc1a9c make cut_c default. 2010-01-15 15:09:18 +00:00
Vítor Manuel de Morais Santos Costa
5ef31fbfd2 experiment in or-parallel threads. 2010-01-14 15:58:19 +00:00
Vitor Santos Costa
ac2cf2434a prolog_flag executable (obs from Aubrey Barnard). 2009-12-10 01:16:29 +00:00
Vitor Santos Costa
d554871ffb get rid of create_prolog_flag/2. 2009-12-04 09:17:27 +00:00
Vitor Santos Costa
81ad3a6d2f document new flag command. 2009-12-04 00:30:07 +00:00
Vitor Santos Costa
67999ec4df atomic_list_concat/2. 2009-11-23 10:14:23 +00:00
Vitor Santos Costa
31e5c54125 support message_string/2 for SWI emulation. 2009-11-23 10:09:32 +00:00
Vitor Santos Costa
84f5dfec7d document souce_location/2. 2009-11-23 10:05:52 +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
Vitor Santos Costa
78d2960d16 bad doc on nth/4 (obs from Daniel Diaz) 2009-10-23 23:21:42 +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
90d8b42a85 document lsb 2009-10-20 09:51:55 +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
d649ba5894 first cut at make/0y 2009-10-15 12:56:16 +01:00
Ulrich Neumerkel
f9436a7faa Doc: ISO status added 2009-10-13 14:51:16 +01:00
Ulrich Neumerkel
61ead4a2e9 Doc: Corrected ISO status 2009-10-13 14:50:31 +01:00
Ulrich Neumerkel
d459283a69 typo 2009-10-13 14:49:48 +01:00
Costa Vitor
80b97aafaa make flush_output easier to understand. 2009-08-19 20:24:13 -05:00
Costa Vitor
a69a34f3a5 fields/ library predicate, to return empty fields. 2009-07-15 17:30:27 -05:00
Ulrich Neumerkel
04674cd584 Doc: module related 2009-06-08 20:26:35 -05:00
Ulrich Neumerkel
4e2572fe2e DOC: formatting 2009-05-26 18:01:37 -05:00
Ulrich Neumerkel
3d9bd1a49f DOC: minor 2009-05-26 14:34:02 -05:00
Vitor Santos Costa
51e669dcfb support for passing priority as argument to write. (Ulrich's #45).
fixes on making write handle infinite loops
2009-05-22 13:24:27 -05:00
Vitor Santos Costa
2020a19e69 fix format_to_chars/4 (Ulrich Neumerkel #62) 2009-05-20 09:14:48 -07:00
Vitor Santos Costa
c7066b43ec first try of setup_call_cleanup/3 and setup_call_catcher_cleanup/4 2009-05-19 23:53:14 -07:00
Vitor Santos Costa
62118e3a0c Ulrich: [PATCH-YAP] DOC: copy_term/3 2009-05-18 07:36:00 -07:00
Vitor Santos Costa
d333de262e fix typo (Ingo Molnar). 2009-05-15 20:55:24 -05:00
Vitor Santos Costa
bdf8b890e3 copy_term/3 2009-05-13 17:11:21 -05:00
Vitor Santos Costa
04fa96e8a0 add call_residue_vars (SWI and SICStus 4 compatibility). 2009-05-13 16:43:24 -05:00
Vitor Santos Costa
bddc09b963 documentation patch (from Ulrich Neumerkel). 2009-05-12 17:06:33 -05:00
Vitor Santos Costa
8385f4bea6 saved state should be startup.yss, not startup.yss, in case YAP looks up
saved state in current directory (obs from Ulrich Neumerkel).
2009-05-02 14:06:24 -05:00
Vitor Santos Costa
1e0e08be7f correct dir formatting for info including special ch (Ulrich Neumerkel). 2009-05-02 13:16:59 -05:00
Vitor Santos Costa
86d08b42c4 Ulrich Neumerkel: add a docs/dir directory for people who want to use info there. 2009-05-02 10:56:32 -05:00
Vitor Santos Costa
2be95d87c6 Ulrich's fixes to documentation. 2009-04-25 10:59:23 -05:00
Vitor Santos Costa
9ef1b5cb4f shift vesion number. 2009-04-08 00:49:54 +01:00
Vitor Santos Costa
b744fabb71 new predicates for variable search in term. 2009-03-10 16:21:05 +00:00
Vitor Santos Costa
37b0f7cf9b document nb_queue/2 2009-02-27 22:30:28 +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
297ea16dcb fix type in gprof 2008-11-05 13:28:44 +00:00
Vitor Santos Costa
8938666bf5 add sum_list/3 2008-11-03 16:00:22 +00:00
Vitor Santos Costa
9c1ee7ba34 add matrix_row to get a row of a matrix
fix a bit of error handling.
2008-10-31 09:47:58 +00:00
Vitor Santos Costa
2a53a46d12 document lineutils 2008-09-01 04:44:54 +01:00
Vítor Santos Costa
6062b1c738 document lineutils library 2008-09-01 02:41:09 +01:00
Vítor Santos Costa
ff75b8ff85 document 3 statistics/2 option. 2008-09-01 02:01:01 +01:00
Vitor Santos Costa
42bed282b4 Updated to Working CHR 2008-08-26 00:18:06 +01:00
Vitor Santos Costa
7a94144ccb support writeln/1 for SWI compatibility. 2008-08-24 16:09:33 +01:00
Vítor Santos Costa
2fb1cb6e00 fix problem in manual (report from Bernd Gutmann) 2008-08-21 13:45:49 +01:00
vsc
d170b34624 MaxOS fixes
Avoid a thread deadlock
improvements to SWI predicates.
make variables_in_term system builtin.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2304 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-08-12 01:27:23 +00:00
pmoura
ad67cd43af Added built-in predicate format/1 for compatibility with SWI-Prolog.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2303 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-08-10 15:44:12 +00:00
vsc
a3983fa820 swi compatibility support
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2294 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-08-01 21:44:25 +00:00
vsc
e1866e2917 improve C-interface and SWI comptaibility a bit.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2292 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-07-24 16:02:04 +00:00
pmoura
778215b85c Added missing documentation on the call/N family of built-in predicates.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2291 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-07-23 11:43:15 +00:00
vsc
75c72d7b7d SWI and module fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2290 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-07-22 23:34:50 +00:00
vsc
d832a81991 add extra versions to maplist and fix apply macros to handle predicates
with the same aargument.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2288 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-07-16 10:45:47 +00:00
vsc
d8e5f2c895 fixes by Bart and Tom: mostly libraries but nasty one in indexing
compilation.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2286 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-07-11 17:02:10 +00:00
vsc
0dd1ed933e improve graphs a bit.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2285 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-26 13:09:15 +00:00
vsc
82d9ed1521 upgrade to 5.1.4
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2282 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-18 10:02:27 +00:00
vsc
39c4a2e67f fix c_interface not to crash when people try to recover slots that are
not there.
fix try_logical and friends to handle case where predicate has arity 0.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2278 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-17 13:37:51 +00:00
vsc
e90f744e5e fix stack growth in globals
fix compilation messages


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2277 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-16 21:22:15 +00:00
pmoura
ea139a37c6 Logtalk is no longer distributed with YAP. Please use the Logtalk standalone installer for a smooth integration with YAP.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2264 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-07 10:11:44 +00:00
vsc
08422c967a more fixes to C-interface
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2257 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-04 13:58:42 +00:00
vsc
02497c1172 fix manual and message handling
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2253 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-06-03 09:24:28 +00:00
vsc
a70fb91592 add tmp_file/2
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2241 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-22 23:25:21 +00:00
vsc
316811d2cd user:goal_expand should be called before import
add extra apply_macros and apply stuff; fix unexisting definitions.
add forall/2 and ignore/1 to system stuff.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2237 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-05-15 13:41:48 +00:00