Commit Graph

398 Commits

Author SHA1 Message Date
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
vsc
516a349aad only evaluate lists with a single character.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2214 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-04-08 15:36:53 +00:00
pmoura
819ef79f4a Fixed some minor formatting typos.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2211 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-04-04 22:05:34 +00:00
vsc
78d7105c16 protect signal handling with locks for threaded version.
fix close/1 entry in manual (obs from Nicos).
fix -f option in chr Makefile.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2201 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-04-03 13:26:38 +00:00
pmoura
59d82a0fca Improved documentation of the thread_at_exit/1 predicate with a reference to the alternative at_exit/1 option of the thread_create/3 predicate.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2194 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-04-02 23:08:36 +00:00
pmoura
48e8101a87 Added new flag "max_workers". It uses a C function, "p_max_workers" that is currently defined in the *wrong* place ("threads.c").
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2193 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-04-02 22:59:52 +00:00
pmoura
1c7681b179 Added description of the default value of max_workers and of the new thread_create/3 option at_exit/1.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2192 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-04-02 22:45:55 +00: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
84c15fda0b regexp core-dump (obs from Ryszard Szopa)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2163 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-25 11:54:08 +00:00
vsc
3101d1ff61 -q flag
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2150 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-13 18:41:52 +00:00
vsc
8498d60233 document stream stuff (Nicos request).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2139 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-12 16:19:02 +00:00
vsc
fc22f62eb7 fix verbose flag
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2138 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-12 15:51:58 +00:00
vsc
d0cd8182d9 fix path issues when opening files
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2137 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-03-12 15:37:34 +00:00
vsc
0e3d91a0ff fix chr bootstrap.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2111 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-23 01:32:31 +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
df0a199afb fix the op changes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2097 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-13 14:42:55 +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
pmoura
2f5a1ae92f Corrected a few typos on the classification of predicates as ISO Prolog predicates.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2077 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-02-02 03:35:35 +00:00
pmoura
ba31d8db97 NEW: time/1 (based on the SWI-Prolog time/1 predicate; request from Paulo Moura).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2073 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-31 23:31:47 +00:00
vsc
4a07cd99a5 win version was broken because wchar_t is unsigned in WIN32.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2070 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-28 23:35:04 +00:00
pmoura
0176f14ae9 The arithmetic function integer/1 is not an ISO Prolog function.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2050 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2008-01-01 21:05:13 +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
pmoura
f231da016b Correcte typo in the documentation of the key "walltime" of the built-in predicate statistics/2.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2048 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-12-27 02:40:28 +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
d908c8633f implement sophisticated operations with matrices.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2022 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-11-16 14:58: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
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
9e9c260f7e new version of viterbi implementation
fix all:atvars reporting bad info
fix bad S info in x86_64


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1968 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-10-28 00:54:09 +00:00
vsc
ff4aa369be allow conditional compilation
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1965 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-10-21 08:48:06 +00:00
vsc
3e4e75dbdf unset var
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1955 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-10-15 23:48:46 +00:00
vsc
85d463e170 add SWI-compatible flags
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1948 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-10-09 11:43:44 +00:00
vsc
d4f01ee67b minor fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1946 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-10-08 23:02:16 +00:00
vsc
642b498728 fix garbage collector and fix LeaveGoal
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1945 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-10-05 18:24:30 +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
pmoura
5f9555baa4 Corrected two typos (missing @code{}).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1935 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-27 13:32:30 +00:00
vsc
0dc508eda0 nb_ extra stuff plus an indexing overflow fix.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1933 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-22 08:38:05 +00:00
vsc
0860b141de nb_linkvar and nb_set_shared_var
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1932 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-21 14:18:12 +00:00
vsc
7f366435f4 fixes to copy term
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1931 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-21 13:52:52 +00:00
pmoura
bea8c8fe1e Corrected some typos on the templates of multi-threading built-in predicates. Added documentation on the thread_send_message/1 predicate.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1930 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-18 17:51:53 +00:00
pmoura
ba4eb0d5f4 Added missing documentation on thread_property/2 built-in predicate.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1927 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-16 20:42:13 +00:00
vsc
eb41d9a0aa add docs on tries
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1926 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-16 20:27:57 +00:00
pmoura
0520c18392 Added missing documentation on thread_peek_message/2 built-in predicate. Fixed some typos.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1925 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-16 20:09:24 +00:00
vsc
4c08960096 Improve SWI interface emulation.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1920 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-09-04 10:34:55 +00:00
vsc
ba761e7a47 iallow checking for readline and gmp
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1917 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-08-02 17:22:00 +00:00
vsc
69046824cd add documentation to matrix library
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1912 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-07-03 15:24:20 +00:00
vsc
cd23c60c45 move to 5.1.3
add MATLAB docs.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1910 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-29 01:33:35 +00:00
vsc
7a98e7df59 fix bug in index emulator
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1905 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-20 13:48:45 +00:00
pmoura
50e39bef80 Added the thread_create/1 built-in predicate specified in the ISO standardization proposal.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1904 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-19 10:55:35 +00:00
kostis
84f478c301 Similar changes, suggested by Vitor, as in submitted version.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1902 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-10 09:39:19 +00:00
kostis
93e64a9358 Final version as submitted.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1901 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-09 15:47:30 +00:00
kostis
85ba8812a3 Final changes.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1900 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-08 22:18:12 +00:00
kostis
a25072d5b4 Version with all redundancies cut -- fits in 15 pages.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1899 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-08 15:34:49 +00:00
kostis
0935197e13 Fixed some things I noticed.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1898 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-08 15:32:39 +00:00
kostis
d7bde5b63d Added a file to preserve version with the complete text.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1897 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-08 09:12:37 +00:00
kostis
613a9ac5cf Fixed some stuff for both versions -- now will start cutting.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1896 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-08 09:11:10 +00:00