Commit Graph

123 Commits

Author SHA1 Message Date
vsc
51ea20683f fix setof to use catch instead of trying to do its own thing;
fix unnecessary white lines when outputting solutions.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@788 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-02-24 11:01:01 +00:00
vsc
1f914e7746 fix GetCurInpPos to use the stream we are scanning, not current input.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@775 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-02-14 10:56:56 +00:00
vsc
f5dad3ac1f don't try to do module expansion if module borders are not crossed.
expand on-line depth_call and once.
improve write_x_loc


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@752 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-01-30 16:27:45 +00:00
vsc
1369dfa410 new meta-call scheme.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@751 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-01-29 14:47:17 +00:00
stasinos
64fbfbf476 The '\e' character constant is a GCC extension. Use '\x1B' instead'.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@747 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-01-22 17:23:18 +00:00
vsc
499b3c6827 more fixes for \\n
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@743 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-01-20 15:13:21 +00:00
vsc
6f8b90b131 fix \nl in strings.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@740 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-01-13 13:13:54 +00:00
vsc
136af18cb0 new scanner.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@736 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2003-01-08 16:45:35 +00:00
vsc
bf37b29b4b better handling for scanning errors;
make Yap_error_output a global variable.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@693 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-19 17:10:45 +00:00
vsc
d7f80ea1ad Stasinos noticed that _YAP_ breaks C standard: use Yap_ instead.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@691 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-18 18:18:05 +00:00
vsc
7b2c4dc6ff all global symbols should now start with _YAP
global functions should not be called from within file (bug in
binutils/WIN32).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@675 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-11 17:38:10 +00:00
vsc
483170acc5 allow compilation on WIN32 platforms.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@577 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-08-28 14:02:35 +00:00
vsc
5cc8ea1d52 hide_predicate
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@571 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-08-14 16:00:54 +00:00
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
9809cca4d5 fix \newline in ISO mode (ROberto Bagnara).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@534 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-06-14 22:04:40 +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
bc9b7908cd lcc fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@322 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-23 05:01:06 +00:00
vsc
48b5a364e3 fix 'aaaa''aaaa' in no escape mode
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@266 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-03 18:35:46 +00:00
vsc
666bb88a7e make phrase/2 and phrase/3 meta-predicates
improve message in scanner.c


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@251 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-01-02 07:17:21 +00:00
vsc
2b78d7ce14 pesky ^C and abort fixes (I hope)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@236 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-12-18 22:01:26 +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
vsc
71c18ef912 new predicates atom_concat and list_concat
prolog_flag(version,X).
0'\ escape sequences
first try at profiling early reset (garbage collector is broken now).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@9 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-04-17 21:07:41 +00:00
vsc
e5f4633c39 This commit was generated by cvs2svn to compensate for changes in r4,
which included commits to RCS files with non-trunk default branches.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@5 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-04-09 19:54:03 +00:00