Vítor Santos Costa
bd06b719db
fix long long types
2010-05-06 16:37:44 +01:00
Vítor Santos Costa
9a437820a3
oops
2010-05-06 16:36:46 +01:00
Vítor Santos Costa
53336b6788
fix interface types
2010-05-06 16:35:53 +01:00
Vítor Santos Costa
6307508ffc
more fixes
2010-05-06 16:32:41 +01:00
Vítor Santos Costa
c44d7b66d2
fix warnings
2010-05-06 16:01:48 +01:00
Vítor Santos Costa
11641c5f94
64 bit cleanups.
2010-05-06 15:00:44 +01:00
Vítor Santos Costa
51f33514b3
fix typing problems and a bug in quote.c?
2010-05-06 12:19:51 +01:00
Vitor Santos Costa
0fabe2b9c6
_PL_get_arg and WUNDEFINED
2010-05-06 10:58:44 +01:00
Vitor Santos Costa
764737fe5b
add missing files.
2010-05-03 14:27:54 +01:00
Vítor Santos Costa II
030539f33b
PL_get_chars: Implement CVT_WRITE and CVT_WRITE_CANONICAL
2010-04-29 23:04:04 +01:00
Vitor Santos Costa
4fda6b7488
track recent SWI changes.
2010-02-22 09:35:21 +00:00
U-Khasa\Vitor
33190e290d
mingw complaint with recent versions of gcc
2010-02-10 03:03:03 -06:00
Vitor Santos Costa
110f1c7977
improve SWI interface compatibility
2010-01-26 12:21:06 +00:00
Vitor Santos Costa
0d38d67dfa
add missing interface functions.
2010-01-25 12:29:51 +00:00
Vítor Manuel de Morais Santos Costa
d3f0410c7d
include PL_get_intptr
2010-01-15 16:21:43 +00:00
Vítor Manuel de Morais Santos Costa
ffdf270a3d
make SWI-Prolog get YAP stuff from include/Yap at run-time.
2010-01-15 14:39:03 +00:00
Vitor Santos Costa
ff628b8e78
move to more recent interface.
2010-01-15 00:49:05 +00:00
Vitor Santos Costa
5fc26e1b45
improve emulataion of backtrackable SWI c-code (request from NF).
2010-01-06 11:25:15 -02:00
Vítor Manuel de Morais Santos Costa
0b17d3572b
add PL_chars_to_terms to SWI emulation.
2009-12-12 23:21:54 +00:00
Ricardo Rocha
8a557012dd
add primitive YAP_IsLongIntTerm to the C Language interface.
2009-11-23 18:46:57 +00:00
Vitor Santos Costa
a132707746
undo PL_error updates
2009-11-21 22:21:17 +00:00
nf@khaixa.(none)
1bfbe535da
Extended support for SWI-Prolog C interface.
2009-11-20 08:42:22 +00:00
Vitor Santos Costa
432cce1c49
VISUALC++ understands prototypes, hurray! (obs from Cristiano Pitangui).
2009-11-18 23:39:18 +00:00
Vítor Manuel de Morais Santos Costa
eac1cc5b9d
fix C++ complaint.
2009-11-11 10:56:19 +00:00
Vitor Santos Costa
4c8eb33e06
we had args already (no need for argv0)
...
improve error handling in YAP_ReadBuffer
2009-10-26 10:42:19 +00:00
Vitor Santos Costa
0ea348c26d
extend SWI interface with PL_toplevel and to handle C++ code.
...
prolog/0 built-in
fixes to parms.h changes.
2009-10-23 16:50:43 +01:00
Vitor Santos Costa
0179998d60
change Heap.h to YapHeap.h
...
rename $live to prolog/0 (for SWI compatibility).
2009-10-23 14:22:17 +01:00
Vitor Santos Costa
253444d7ca
support parms.h
...
pass argv[0]
2009-10-23 09:09:16 +01:00
Vitor Santos Costa
0f99e336cc
YAPVERSION
2009-10-21 00:20:18 +01:00
Vítor Manuel de Morais Santos Costa
460d0c9f6b
fix compilation in older gccs.
2009-10-16 08:36:37 +01:00
Costa Vitor
b4502969ad
make types compatible.
2009-08-19 20:23:52 -05:00
U-Khasa\Vitor
d3fa43d08e
improve SWI emulation in WIN32
2009-07-20 20:56:16 -07:00
U-Khasa\Vitor
2020a31362
mingw compilation
2009-07-18 13:38:38 -07:00
Costa Vitor
93a74d4224
SWI-Stream should define S__checkpasteeof #102
2009-06-01 20:05:04 -05:00
Costa Vitor
98fef199bd
fix conflict in error handling (not supposed to be exported by SWI-Prolog.h
...
add PL_eval_expression_to_int64_ex
2009-06-01 18:01:30 -05:00
Costa Vitor
9d5a049c8f
upgrade to most recent version of pl-os
...
fix some warnings.
2009-06-01 17:30:08 -05:00
Vitor Santos Costa
b8f60c623d
improvements to SWI compatibility
2009-06-01 15:38:39 -05:00
Vitor Santos Costa
d6ed058157
first pass at a decent implementation of PL_error ( #95 )
...
- basically copy SWI code.
2009-05-30 12:52:23 -05:00
Vitor Santos Costa
39ccbd345d
make options -T -L -G work as SWI: they impose a maximum size limit
2009-05-10 13:36:55 -04:00
Vitor Santos Costa
1ea4a27dd1
YAP_FileNoFromStream for Nf
2009-04-22 21:42:15 -05:00
Vitor Santos Costa
7ed3b456ac
add Yap_FileDescriptorFromStream at request from NF.
2009-04-22 16:41:41 -05:00
Vitor Santos Costa
43d8e1a287
make it work for MINGW32.
2009-04-21 08:30:12 -05:00
Vitor Santos Costa
2c00c4a00b
export PLStream stuff.
2009-04-20 16:22:06 -05:00
Vitor Santos Costa
b159736edd
fixes for 64 bits.
2009-04-14 01:25:21 +01:00
Vitor Santos Costa
f27c261daf
more Anderson GIT support
2009-04-08 00:46:34 +01:00
Vitor Santos Costa
2aa5aa3a26
add -A flag to ask for more attributed stack.
2009-03-27 15:15:54 +00:00
Vitor Santos Costa
e56f46c0e3
typedef bool confuses jpl
2009-03-23 15:28:35 +00:00
Vitor Santos Costa
67b29f3c85
improve SWI compatibility.
2009-03-13 19:40:27 +00:00
Vitor Santos Costa
91657556ee
more UDI stuff.
2009-02-25 00:13:45 +00:00
Vitor Santos Costa
ffb621c53b
improve support for UDI.
2009-02-20 15:52:17 +00:00
Vitor Santos Costa
94ebb90719
UDI patch: make it work with YAP.
2009-02-20 11:42:48 +00:00
Vitor Santos Costa
0f58cf8029
small fixes
2009-02-16 12:53:29 +00:00
Vítor Santos Costa
4b826e76ae
support for user defined indexing: step 1 basic routines.
2009-02-12 16:39:20 +00:00
Vitor Santos Costa
1191b039d5
include support for dynamically created clause lists.
2009-02-11 15:10:57 +00:00
Vitor Santos Costa
33b4a02fae
extend C-interface to check if a variable is AttVar and to fetch all the
...
attributes.
2009-02-09 22:45:50 +00:00
Vítor Santos Costa
8efcdf7eaa
add support for creating a list of codes or atoms incrementally.
2008-12-22 13:49:44 +00:00
Vítor Santos Costa
43e70f2003
more changes to support SWI Input/Output. Now it compiles, which does
...
not mean it would work!
2008-12-22 12:03:14 +00:00
Vítor Santos Costa
e51a4c2f5b
more changes to interface better with SWI-Prolog
2008-12-19 11:41:56 +00:00
Vítor Santos Costa
a2744ed186
further changes to better support SWI interface.
2008-12-17 14:47:05 +00:00
Vítor Santos Costa
2b0c27deb6
Remove attempt to emulate SWI I/O
...
add YAP_getcwd and PL_cwd to interface
2008-12-13 16:07:55 +00:00
Vitor Santos Costa
2e2aaf040b
add PL_fail and PL_succeed to SWI interface emulation.
2008-08-24 14:22:49 +01: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
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
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
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
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
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
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
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
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
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
9c232ddd0b
interface speedups
...
bad error message in X is foo>>2.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1894 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-06-04 12:28:02 +00:00
vsc
498c7a6d42
fix min list
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1882 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-15 11:33:51 +00:00
vsc
039067068e
improve external interface
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1881 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-05-14 16:44:12 +00:00
vsc
90c1641841
several debugger and CLP(BN) improvements.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1732 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-12-13 16:10:26 +00:00
vsc
98de08022b
WIN32 fixes
...
compiler bug fixes
extend interface
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1632 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-05-16 18:37:31 +00:00
tiagosoares
fbcfdb49a9
MYDDAS: Myddas Top Level for MySQL and Datalog
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1537 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-02-08 17:29:55 +00:00
vsc
72214cb08c
fix interface and docs
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1492 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2006-01-02 03:35:45 +00:00
tiagosoares
83b5a160f8
support for executing c code when a cut occurs
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1463 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-11-18 18:52:41 +00:00
vsc
e7b84f7a13
use const declarations in interface (thanks to Roberto Bagnara for the patch).
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1441 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-11-05 01:28:28 +00:00
vsc
1fa46c6051
sveral updates
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1415 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-28 17:38:50 +00:00
vsc
f5fc38a79e
SWI compatible module only operators
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1412 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-10-21 16:09:03 +00:00
vsc
996272db22
YPP would leave exceptions on the system, disabling Yap-4.5.7
...
message.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1364 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-08-17 13:35:52 +00:00
ricroc
34b2a0df4f
TABLING NEW: support to limit the table space size
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1355 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-08-04 15:45:56 +00:00
vsc
7e06e3fa36
fix error handling
...
configure should not allow max-memory and use-malloc at same time
some extensions for jpl
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1289 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-05-25 18:18:02 +00:00
vsc
59561e2688
fix excessive pruning in meta-calls
...
fix Term->int breakage in compiler
improve JPL (at least it does something now for amd64).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1264 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-03-13 06:26:13 +00:00
vsc
f11ab09a60
try to make initialisation process more robust
...
try to make name more robust (in case Lookup new atom fails)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1254 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2005-03-02 18:35:49 +00:00
vsc
8d2cb067ec
fix situation where we might assume nonextsing double initialisation of C predicates (use
...
Hidden Pred Flag).
$host_type was double initialised.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1177 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-11-18 22:32:40 +00:00
vsc
1781ff9420
whole lot of fixes:
...
- memory leak in indexing
- memory management in WIN32 now supports holes
- extend Yap interface, more support for SWI-Interface
- new predicate mktime in system
- buffer console I/O in WIN32
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1113 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-08-11 16:14:55 +00:00
vsc
21a3377248
debugger fixes
...
initial support for JPL
bad calls to garbage collector and gc
debugger fixes
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1096 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-07-22 21:32:23 +00:00
vsc
0101c09236
coroutining is now a part of attvars.
...
some more fixes.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1070 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-06-05 03:37:01 +00:00
vsc
a6f1b27c09
misc fixes
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1068 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-05-17 21:42:12 +00:00
vsc
e7fbb54532
Yap_WriteBuffer
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1067 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-05-14 17:56:47 +00:00
vsc
874758e936
support BigNums in interface
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1066 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-05-14 17:11:32 +00:00
vsc
0aa358a2b7
add Yap_ReadBuffer
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1064 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-05-14 16:33:47 +00:00
vsc
6662ca157e
simplify module access
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@981 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-02-12 12:37:12 +00:00
vsc
ba9876268f
threads, clean signals, and much more...
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@957 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2004-01-23 02:23:51 +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
vsc
2130f41f44
fixes by Nuno to c-interface.
...
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@705 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-11-26 16:52:09 +00:00