Commit Graph

60 Commits

Author SHA1 Message Date
vsc
b48f1264b9 fix report on initial and token line for parser.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@540 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-17 15:28:01 +00:00
vsc
804f7ecebc fix some throws
fix shell/1 and shell/2 in system library.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@539 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-17 06:27:00 +00:00
vsc
136f2b4ed9 fix syntax_errors properly.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@518 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-05 01:34:06 +00:00
vsc
3a660ed7af fix error handling in read to do what it should do.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@517 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-05 01:22:57 +00:00
vsc
26c23422e9 default mode for syntax error should be error, not just fail.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@515 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-04 21:14:39 +00:00
vsc
0f471f8810 I/O fixes: get_quoted would go through EOF, check if answer replied EOF
when asking for more solutions, readline in stream == 0 not 2.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@491 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-24 05:14:46 +00:00
vsc
38f07b67de take care of the case where two files have different names but
are the same (at least for Unix/Linux).
recover $loaded space after initialisation.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@488 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-24 03:57:20 +00:00
vsc
17728f58f5 beautification
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@475 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-05-17 01:01:07 +00:00
vsc
316587c96a make check_term aware of module context.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@443 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-13 04:52:38 +00:00
vsc
061670eeb0 bad meta-call causing undetected module overflow.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@436 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-09 15:12:14 +00:00
vsc
3ef0b143b0 fix debugging in the presence of goal_expansion
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@432 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-04-06 05:33:44 +00:00
vsc
5503ea22f3 try to decrease HeapTop if recovering space on top of Heap;
change overflow code to be less relying on non-decreasing Heap.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@405 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-03-08 06:33:16 +00:00
vsc
798bdbdf39 be more careful about error handling when storing DB terms
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@399 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-03-07 05:13:21 +00:00
vsc
a9783b7ec7 fix errors messages in boot.yap
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@365 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-18 15:05:16 +00:00
vsc
777817f8db fixes for signal handling
throw permission error on consulting bad files


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@358 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-12 18:24:21 +00:00
vsc
1f5af38ba8 file_search_path
host_type


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@351 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-02-08 22:19:24 +00:00
vsc
af7cb4cd93 more fixes for catch and throw
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@340 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-30 02:20:44 +00:00
vsc
f255ec7532 yap_flag(gc_trace,very_verbose).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@333 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-28 04:30:40 +00:00
vsc
6e18479ee2 add -f option
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@329 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-27 20:40:10 +00:00
vsc
5e938b92c4 new version of throw using Bart's idea
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@327 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-24 23:55:34 +00:00
vsc
fe63bae633 fix new consult code
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@319 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-22 19:29:28 +00:00
vsc
93a41f0ef5 make consult messages more SICStus like.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@318 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-22 17:11:36 +00:00
vsc
366f16f44f fix late catch
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@305 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-17 16:20:36 +00:00
vsc
6e8e59a0b1 fix break
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@304 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-16 22:11:55 +00:00
vsc
4414acbdf9 fix unix environ
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@293 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-14 22:26:53 +00:00
stasinos
6951619ae2 signal handling made more generic
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@290 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-11 15:54:17 +00:00
vsc
e6da9e09b6 use YAPSHAREDIR for Prolog files, not YAPLIBDIR
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@285 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-10 20:55:10 +00:00
vsc
bd28a74d45 fix error handling in debugger (first try).
add extra argument to handle.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@284 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-10 18:01:14 +00:00
stasinos
7849f7b54e SIG_USR handling seems to be working
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@282 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-09 17:19:36 +00:00
vsc
5997e5a109 new catch and throw mechanism (first try).
hide built-in predicates that should not be seen in trace mode


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@275 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-07 06:28:04 +00:00
vsc
3962e559aa style check fixes
improve error message on redefining system predicate


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@252 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-02 16:55:24 +00:00
vsc
7b77c87b94 store constraints in DB
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@233 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-12-17 18:31:11 +00:00
vsc
6fd1a332d1 fix a:[a] to consult a in a.
make [] predefined and true.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@222 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-12-11 04:35:31 +00:00
vsc
45a0bc7aef fix ; -> and ! in meta-call (again)
fix peek and read


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@207 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-11-29 20:29:52 +00:00
vsc
ac30bcff67 fix previous patch to handle ! in disjunction
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@203 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-11-26 19:34:27 +00:00
vsc
4f274d67a8 fix -> in disjunction in meta-call
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@202 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-11-26 19:22:52 +00:00
vsc
81487aba82 fix [user]. a:a(X). end_of_file.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@193 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-11-23 14:42:06 +00:00
vsc
b5882844b8 fix [a:file] and friends.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@192 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-11-23 13:04:17 +00:00
vsc
b289d9ac9c new module system. BEWARE! BEWARE! BEWARE!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@177 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-11-15 00:01:43 +00:00
vsc
a628251951 further optimisations to execute a,b.
cleanups.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@176 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-10-31 20:16:48 +00:00
vsc
418fb0680a fix locking for YapOr
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@173 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-10-30 22:13:18 +00:00
vsc
458a0a857f New metacall mechanism
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@169 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-10-30 16:42:05 +00:00
vsc
c3aa27e76b consult of dynamic predicates was working as reconsult
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@166 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-09-27 14:01:16 +00:00
vsc
16f0e4534e get rid of I/O preds in boot.yap, such as write/1, nl/0, etc.
move them to yio.yap, where they belong.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@161 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-09-21 17:08:36 +00:00
vsc
5d5ddd864e avoid unnecessary flushing in readline
fixes to manual
make flush work for readline


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@140 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-08-13 09:19:00 +00:00
vsc
a09e21bf68 do not use use -fomit-frame-pointer in parser.c/cygnus
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@139 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-08-10 23:07:00 +00:00
vsc
8fd1bc92f3 support trace
fix for ^c in readline


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@133 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-08-08 21:17:27 +00:00
vsc
3e6060a84f use ~d to write time spent consulting
replace write/2 and write/1 by direct accesses to low-level routines


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@124 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-07-12 12:50:58 +00:00
vsc
6e241c6c8b new statistics.
better precision when writing floats.
use_module should check file modificiation time.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@118 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-07-05 20:23:21 +00:00
vsc
f22f7434c7 fixes to?\012handle interrupts ^C in Windows.
Improvements to configure scripts for WIN32 configurations.
--with-readline= option for configure


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@96 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-22 17:53:36 +00:00