Commit Graph

73 Commits

Author SHA1 Message Date
vsc
eade18026c fix fflush
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@125 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-07-16 15:26:14 +00:00
stasinos
3a752aca82 a CELL is not printable as %d in 64bit machines
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@119 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-07-06 13:15:16 +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
27526bcb0d improve support for cross-compilation with simplesimscalar
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@117 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-07-05 16:14:15 +00:00
uid49918
1578e68ec3 fix bugs in tabling
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@116 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-07-04 16:48:54 +00:00
vsc
3de3c1b7d2 improve system library.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@113 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-29 19:30:25 +00:00
vsc
78129e932f fix bug in instruction compression->glist_val <> get_list+unify_local
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@111 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-29 12:45:18 +00:00
vsc
a18e3790d0 make sure I restore H and TR before I do SetDBForThrow
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@110 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-27 17:24:27 +00:00
vsc
1d5e4c4956 save H for alpha.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@109 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-27 17:12:44 +00:00
vsc
22211cb453 fix abort in Alpha
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@108 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-27 15:46:26 +00:00
vsc
fa40e9e92f in Abort: don't check args for empty string
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@107 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-27 15:36:38 +00:00
vsc
efd998524f More interrupt handling cleanups!
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@104 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-27 13:22:30 +00:00
vsc
42204357ec Fix c-stack overflow for very deep nested terms.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@102 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-27 12:46:35 +00:00
vsc
4c75fbc022 don't need to throw catch.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@100 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-22 20:26:55 +00:00
vsc
bf661fcdd6 get rid of has_tabling
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@99 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-22 19:50: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
c3e7f600d5 Yap would get order of variables in terms wrong.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@95 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-19 17:51:07 +00:00
vsc
5a39daa400 In ISO term order, floats are always less than integers.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@93 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-19 17:34:27 +00:00
vsc
7d50fd267d parser should parse +inf,-inf,+nan,-nan as floating point numbers
write should write inf as +inf and nan as +nan


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@92 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-19 16:31:59 +00:00
vsc
54e9dc271d fix == at top-level
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@91 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-18 18:33:20 +00:00
vsc
792d836ee6 cleanup error messages in functor/3
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@90 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-18 18:31:19 +00:00
vsc
d9edb0d992 fix HBREG mess
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@89 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-18 18:24:00 +00:00
vsc
e56a11ce3c fix debugging messages and bad comparison
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@88 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-18 18:23:14 +00:00
stasinos
c6e0d82d0b fixed inconsistency between between the two declarations of TracePutchar()
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@87 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-13 17:52:33 +00:00
stasinos
93f9f77df8 fix a declaration-definition inconsistency in YapCloseAllOpenStreams() and an unreachable code bug in YapOpenStream()
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@86 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-13 17:18:38 +00:00
vsc
c9c8aeb3cc Improve readline code:
don't flush if we change output stream;
   use readline from interrupt handler.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@85 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-12 17:25:28 +00:00
vsc
474be299f4 always send debugging messages to stderr.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@84 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-12 16:31:09 +00:00
vsc
96ae69e8d6 missing break in ~n option for format.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@79 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-11 18:42:11 +00:00
vsc
61c322b9fa fix && instead of &
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@78 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-11 17:47:02 +00:00
vsc
0164f32c36 support recent readlines.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@77 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-11 17:40:16 +00:00
vsc
a0debea045 get rid of pesky debugging message
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@76 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-11 15:15:17 +00:00
vsc
55aa368d05 support for configure 2.5
recover memory in catch/throw.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@75 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-11 15:12:07 +00:00
vsc
6e2ccc4cf4 fix big ints in gc
recount trail pointers that were reset in the previous step


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@74 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-11 15:09:36 +00:00
vsc
e8b19c99c1 Partial update of tabling/SBA code to new timestamp
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@73 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-08 20:23:38 +00:00
vsc
136a4d4a67 fix divide by zero error on debugging message if trail was empty
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@71 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-08 19:33:16 +00:00
vsc
835f315727 access_array_element is unsafe
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@70 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-08 19:22:35 +00:00
vsc
97d882c1a7 use arrays to implement catch and throw instead of record
cleanup queues at top-level and at catch-throw.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@69 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-08 19:10:43 +00:00
lfcastro
08ebcf94be * the previous typo correction seemed to be reversed, so...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@68 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-08 18:21:35 +00:00
lfcastro
6cc04e235b * fixed a typo in PutAtt (timestmp -> timestamp)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@67 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-08 18:16:07 +00:00
vsc
95a113aac9 trail_ref cleanup
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@64 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-08 14:52:54 +00:00
vsc
be02a4f6ab get rid of unnecessary casts
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@63 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-08 13:39:07 +00:00
vsc
bced653577 fix for ~NN
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@61 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-08 13:38:07 +00:00
vsc
f733ea5bdb ! in call((a(X),!)) would not cut a(X)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@59 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-07 16:58:06 +00:00
vsc
38247e38fc cleanup of CLPQR and CHR;
simplification of module handling;
new timestamp implementation


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@52 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-06-06 19:10:51 +00:00
vsc
82438c1d6f fixes in modules
system support for WIN32 (first try).
small fixes.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@45 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-28 19:54:53 +00:00
vsc
27e367f0a5 fix X is ceiling(E).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@44 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-25 20:08:38 +00:00
vsc
a47ba033b2 $stream as a single argument.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@43 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-24 18:02:01 +00:00
vsc
593f7ee64f small bug fixes and documentation for extra C-functions.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@42 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-24 15:26:41 +00:00
vsc
c0ef937614 fix datime/1, system/2 and declaration for p_stream.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@40 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-22 20:41:52 +00:00
vsc
59fdfadfa9 new $stream(T) checks if a term is a stream,
so that I don't have an excuse to call current_stream(_,_,S) with S
something not a stream.


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@39 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2001-05-22 16:14:30 +00:00