Vitor Santos Costa
|
e85e76cd57
|
update to newer pl-file.c and pl-write.c.
|
2013-01-15 16:51:55 +00:00 |
|
Vitor Santos Costa
|
84b0529060
|
improve prism compatibility (fix asia).
|
2012-12-14 08:26:56 +00:00 |
|
Vitor Santos Costa
|
e41f821d67
|
improve multi-threading support from C-interface. Still not quite there.
|
2012-12-11 22:07:10 +00:00 |
|
Vítor Santos Costa
|
2a737fe22b
|
small speedups
|
2012-11-05 13:49:49 +00:00 |
|
Vitor Santos Costa
|
06051f05fb
|
fix swi interface.
|
2012-10-28 18:21:11 +00:00 |
|
Vitor Santos Costa
|
3f6e56eb82
|
fix overflow in SWI interface code.
|
2012-10-09 16:30:18 +01:00 |
|
Vitor Santos Costa
|
b0ddda1fde
|
fix PL_is_list
|
2012-10-08 18:26:40 +01:00 |
|
Vitor Santos Costa
|
55f28a75ab
|
be a bit more careful saving state.
|
2012-09-26 22:07:47 +01:00 |
|
Vítor Santos Costa
|
419bd2b219
|
Fix WriteBuffer and add WriteDynamicBuffer
|
2012-09-18 23:07:32 +01:00 |
|
Vítor Santos Costa
|
8d779f68ea
|
fix writebuffer interface
|
2012-09-08 00:12:38 +02:00 |
|
Denys Duchier
|
97163fa150
|
place INLINE_ONLY at front of extern inline declarations AND definitions. gcc and clang then behave the same.
|
2012-06-30 20:42:14 +02:00 |
|
Vítor Santos Costa
|
70bde4d38f
|
inline extern patch by Denys Duchier
|
2012-06-29 22:44:08 +01:00 |
|
Vitor Santos Costa
|
5989af937b
|
MT support in mingw win32.
|
2012-06-29 15:38:49 -05:00 |
|
Vitor Santos Costa
|
a9d1bd788e
|
improve SWI console
|
2012-06-22 03:56:01 -05:00 |
|
Vitor Santos Costa
|
58c3445d82
|
win console.
|
2012-06-08 06:55:23 -05:00 |
|
Vítor Santos Costa
|
c3e3b0b50f
|
fix term_to_atom/2.
|
2012-05-02 23:38:04 +01:00 |
|
Ricardo Rocha
|
42631bcc71
|
missing cache regs
|
2012-04-23 18:57:10 +01:00 |
|
Vítor Santos Costa
|
a9434aed37
|
more gc changes.
|
2012-04-20 23:45:16 +02:00 |
|
Vítor Santos Costa
|
fac8af303d
|
fix call to gc.
|
2012-04-18 00:57:43 +02:00 |
|
Vítor Santos Costa
|
88cc8a0bdb
|
predicate options.
|
2012-02-13 09:39:09 +00:00 |
|
Vítor Santos Costa
|
795a958090
|
Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
|
2012-02-12 12:29:00 +00:00 |
|
Vítor Santos Costa
|
ea18699602
|
JPL support patches.
|
2012-02-12 12:28:37 +00:00 |
|
João Santos
|
21522ce151
|
CACHE_REGS
|
2012-02-07 15:18:43 +00:00 |
|
Vítor Santos Costa
|
6eea1fe1ea
|
fixes for export_term and friends.
|
2012-02-02 23:25:09 +00:00 |
|
Vitor Santos Costa
|
db619fa81f
|
protect atoms in SWI interface.
|
2012-01-17 12:37:29 +00:00 |
|
Vítor Santos Costa
|
f2dc53a53e
|
atoms passed through the SWI interface must always have a hold.
|
2012-01-15 11:21:38 -06:00 |
|
Vitor Santos Costa
|
d3c7800ab4
|
support PL_skip_list and PL_unify_bool.
|
2012-01-09 23:29:31 +00:00 |
|
Vitor Santos Costa
|
f632bc72bc
|
comment out debugging codes.
|
2012-01-09 23:27:22 +00:00 |
|
Vítor Santos Costa
|
551df1c70a
|
handle blob overflows.
|
2011-12-22 10:27:56 +00:00 |
|
Vítor Santos Costa
|
ee4ad9ffd0
|
ifix warnings.
|
2011-11-30 13:05:44 +00:00 |
|
Vítor Santos Costa
|
7b6d26b014
|
fix thread stuff.
|
2011-11-16 15:20:21 +00:00 |
|
Vítor Santos Costa
|
02a8b35e36
|
improve action rules compilation.
|
2011-11-10 12:27:07 +00:00 |
|
Vítor Santos Costa
|
1d2de81e86
|
update bprolog emulation stuff.
|
2011-11-03 07:54:51 +09:00 |
|
Vítor Santos Costa
|
51bcb1f5a3
|
handle PL_unify_int64 without bigint when number is small enough.
|
2011-11-03 07:45:51 +09:00 |
|
Vítor Santos Costa
|
1769fc7313
|
bprolog support
|
2011-10-27 12:38:22 +02:00 |
|
Vítor Santos Costa
|
73dd81478f
|
B-Prolog suppoty.
|
2011-10-24 22:47:42 +01:00 |
|
Vítor Santos Costa
|
f6cc9578ae
|
first cut at emulation for BP C-interface.
|
2011-10-24 22:44:41 +01:00 |
|
U-WIN-U2045GN0RNQ\Vítor Santos Costa
|
b6aca9463d
|
Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3
|
2011-08-18 22:35:13 +01:00 |
|
U-WIN-U2045GN0RNQ\Vítor Santos Costa
|
0e2da3c3e0
|
fix version info
|
2011-08-18 22:32:59 +01:00 |
|
Vitor Santos Costa
|
d51a89c815
|
fix time routines
|
2011-08-16 13:31:59 +00:00 |
|
Vitor Santos Costa
|
a83546e313
|
fixes to have windows version of yap.
|
2011-07-26 23:32:38 +01:00 |
|
U-WIN-U2045GN0RNQ\Vítor Santos Costa
|
840e287cda
|
mode changes
|
2011-07-25 17:09:28 +01:00 |
|
Vitor Santos Costa
|
a516d6ad47
|
more SWI stuff.
|
2011-06-14 09:04:03 +01:00 |
|
U-WIN-ENP104VVO3U\Vítor Santos Costa
|
029bf6e400
|
improve error message.
|
2011-06-06 12:27:45 +01:00 |
|
Vítor Santos Costa
|
791106aa05
|
these two now include SWI-Stream in Yap.h, so they need PL_KERNEL defined before Yap.h.
|
2011-05-27 11:49:42 +01:00 |
|
Joao
|
971ad94311
|
moved several global variables to misc/GLOBALS
|
2011-05-25 16:40:36 +01:00 |
|
Joao
|
8170f6d3cb
|
Some global variables(Yap_thread_gl) in C/init.c are now declared in misc/LOCALS
|
2011-05-23 16:19:47 +01:00 |
|
Joao
|
ab63cd190b
|
LOCALS and GLOBALS are now generated by misc/buildlocalglobal.
|
2011-05-11 18:22:58 +01:00 |
|
Joao
|
676dd26c90
|
change macros in misc/GLOBALS to GLOBAL_.
|
2011-05-10 10:06:51 +01:00 |
|
Ricardo Rocha
|
026616963c
|
remove FOREIGN_ macros and use REMOTE_ instead
|
2011-05-09 20:19:49 +01:00 |
|
Ricardo Rocha
|
a532b6cff3
|
struct local_optyap_data is now part of struct worker_local (generated from the file LOCALS)
|
2011-05-09 19:36:51 +01:00 |
|
Joao
|
dc3c54c164
|
change LOCALS macros.
|
2011-05-04 10:11:41 +01:00 |
|
Vitor Santos Costa
|
9c3d6a187d
|
debugging cleanups
actually use readline flag.
|
2011-03-26 15:45:42 +00:00 |
|
Vítor Santos Costa
|
e03acef3f9
|
use SWI flags.
|
2011-03-26 15:17:17 +00:00 |
|
Vitor Santos Costa
|
ca952a4eac
|
include R package.
|
2011-03-19 15:29:06 +00:00 |
|
Vítor Santos Costa
|
dcccf3aa85
|
catch null access.
|
2011-03-16 00:15:15 +00:00 |
|
Vítor Santos Costa
|
36a0023fbf
|
iimprove SWI compat
|
2011-03-15 23:49:28 +00:00 |
|
Vítor Santos Costa
|
6b5046bb8c
|
use external modules.
|
2011-03-15 16:22:56 +00:00 |
|
Vítor Santos Costa
|
839d612367
|
improve SWI predicate calling: fix bug in non-deterministic calls.
|
2011-03-14 20:54:19 +00:00 |
|
Vítor Santos Costa
|
0d6be2d858
|
improve string support
fix non-thread compilation.
|
2011-03-11 23:21:23 +00:00 |
|
Vítor Santos Costa
|
e05b84ce4e
|
fix to thread support.
|
2011-03-11 19:49:32 +00:00 |
|
Vitor Santos Costa
|
5418f55d74
|
fix pl-tai
|
2011-03-09 13:05:03 +00:00 |
|
Vítor Santos Costa
|
90d93fdbdd
|
cache abstra machine register in threaded mode.
|
2011-03-07 16:02:55 +00:00 |
|
Vítor Santos Costa
|
da1df3d851
|
more cleanups.
|
2011-03-02 23:19:39 +00:00 |
|
Vítor Santos Costa
|
73541f506f
|
get rid of old SWI emulation stuff.
|
2011-03-01 10:41:06 +00:00 |
|
ubu32
|
3f6b92de4b
|
enable compilation with multi-threading.
|
2011-02-27 15:06:10 -08:00 |
|
ubu32
|
f2e8f2ac2e
|
more fixes for bignum support in PLStream.
|
2011-02-27 03:40:27 -08:00 |
|
ubu32
|
53e8811077
|
fixes to use SWI version of readline.
|
2011-02-26 18:34:44 -08:00 |
|
Vitor Santos Costa
|
0614a8c26e
|
readline fixes
|
2011-02-16 21:11:45 +00:00 |
|
Vitor Santos Costa
|
dce619f804
|
compile readline.
|
2011-02-16 00:23:58 +00:00 |
|
Vítor Santos Costa
|
a40987b70d
|
ifixes to support 64 bits:
- protect registers before calling prune()
- use Int, not int.
|
2011-02-15 18:14:18 +00:00 |
|
ubu32
|
185bb1b3f0
|
cleanups.
|
2011-02-15 06:43:28 -08:00 |
|
ubu32
|
57f5ef8cfc
|
more bug fixes:
- make readline use packages, not old YAP code
- fix ! over backtrack cps
- fix write list
|
2011-02-15 05:54:19 -08:00 |
|
ubu32
|
140318ff16
|
read works now.
|
2011-02-14 23:39:27 -08:00 |
|
ubu32
|
99cbe94bed
|
fix unify functor
|
2011-02-14 11:28:07 -08:00 |
|
ubu32
|
c277229aa9
|
fix frame stuff
small interface fix.
|
2011-02-14 06:58:03 -08:00 |
|
Vitor Santos Costa
|
80f190bc8a
|
use SWI user_*.
|
2011-02-13 01:03:08 +00:00 |
|
Vitor Santos Costa
|
98684ba4bb
|
remove YAP sockets interface.
|
2011-02-12 23:38:24 +00:00 |
|
Vitor Santos Costa
|
2d07a7730e
|
remove YAP memory (string) streams.
|
2011-02-12 18:42:44 +00:00 |
|
Vitor Santos Costa
|
be79c3326e
|
first pass at open/ and friends.
|
2011-02-12 14:14:12 +00:00 |
|
Vitor Santos Costa
|
b219e288eb
|
is_absolute_file_name/2
|
2011-02-12 01:24:03 +00:00 |
|
Vitor Santos Costa
|
42ff655ae5
|
working directory is now a part of YAP kernel.
|
2011-02-12 00:44:39 +00:00 |
|
Vitor Santos Costa
|
2451a052cb
|
use text routines from current SWI fli.
|
2011-02-12 00:17:59 +00:00 |
|
Vítor Santos Costa
|
45032cc61e
|
export current predicate for SWI built-ins.
|
2011-02-11 19:01:18 +00:00 |
|
Vitor Santos Costa
|
6617a63b7e
|
attempt to improve error handliong in SWI emulation.
|
2011-02-11 14:17:27 +00:00 |
|
Vítor Santos Costa
|
b475be5692
|
more SWI compatibility changes.
|
2011-02-11 01:22:07 +00:00 |
|
Vítor Santos Costa
|
02c791fc3d
|
iminor PLStream fixes.
|
2011-02-10 21:45:43 +00:00 |
|
Vitor Santos Costa
|
3fe9b923cb
|
more fixes to SWI emulation
integrate in main binary
|
2011-02-10 21:14:38 +00:00 |
|
Vitor Santos Costa
|
232a740d43
|
upgrade to latest SWI
|
2011-02-10 00:01:19 +00:00 |
|
U-WIN-U2045GN0RNQ\Vítor Santos Costa
|
a4a1feeacc
|
improve SWI emulation in WIN32.
|
2011-02-03 11:23:12 +00:00 |
|
Vitor Santos Costa
|
404c6d3a4f
|
protect registers.
|
2011-01-20 12:04:50 -06:00 |
|
Vitor Santos Costa
|
a9587b5e3d
|
restore and agc of recorded terms
overflows in recorded.
|
2011-01-02 21:16:29 -06:00 |
|
Vitor Santos Costa
|
1533d0bbd7
|
more fixes to PL_get_codes.
|
2010-12-19 22:06:41 +00:00 |
|
Vitor Santos Costa
|
f4d82b0f58
|
looks like sound.
|
2010-12-19 22:01:37 +00:00 |
|
Roberto Bagnara
|
02fbaf958a
|
Fixed a few issues in the glue code for SWI-Prolog compatibility.
|
2010-12-19 21:59:38 +00:00 |
|
Vitor Santos Costa
|
168a6366f8
|
enable obtaining current stream_position from SWI.y
|
2010-12-19 21:32:13 +00:00 |
|
Roberto Bagnara
|
cb7c2e0ca8
|
Fixed PL_is_integer() and PL_is_number() so as to take bignums into account.
|
2010-12-19 19:39:12 +00:00 |
|
Vítor Santos Costa
|
4b2156446a
|
ifix writeln in SWI mode
|
2010-12-17 20:26:45 +00:00 |
|
Vitor Santos Costa
|
0c7f207627
|
make format/n swi aware.
|
2010-12-17 00:11:05 +00:00 |
|
Vítor Santos Costa
|
4546a22101
|
SWI seems to use t=0 for user_input/output. Not very clear why...
|
2010-12-15 20:03:22 +00:00 |
|
Vítor Santos Costa
|
1ca5c92469
|
fix goal expansion for with_output_to in SWI mode (obs from Roberto Bagnara).
|
2010-12-15 12:08:26 +00:00 |
|
Vitor Santos Costa
|
68539ab1e0
|
make sure with_output_to argument is not rewritten.
|
2010-12-14 23:46:17 +00:00 |
|
Vítor Santos Costa
|
57aafe5d23
|
don't use with_output_to/2 from PLStream: it gets confused by whose stdout it should write to.
|
2010-12-14 12:04:44 +00:00 |
|
Vítor Santos Costa
|
628ae12d15
|
ifix warning message.
|
2010-12-14 12:04:33 +00:00 |
|
Vítor Santos Costa
|
eb82f5fa2a
|
more fixes to recursive call execution and backtracking from within C-mode.
semweb java example now working.
|
2010-12-14 09:30:40 +00:00 |
|
Vítor Santos Costa
|
f89f7e8e98
|
PL_set_engine should always return a sensible answer, even if multi-threading is not on.
|
2010-12-13 21:07:35 +00:00 |
|
Vitor Santos Costa
|
3c4da56af2
|
allow write to find out about SWI streams in SWI mode.
|
2010-12-13 12:38:37 +00:00 |
|
Vítor Santos Costa
|
51e9cb14a7
|
nl should be in the SWI IO (obs from Roberto Bagnara).
|
2010-12-12 19:07:24 +00:00 |
|
Vítor Santos Costa
|
af6bf40985
|
fix SWI functor handling to work with 32 bits. (for now)
|
2010-12-02 19:41:48 +00:00 |
|
Vítor Santos Costa
|
2713ac27b6
|
Merge branch 'master' of yap.dcc.fc.up.pt:yap-6
Conflicts:
library/dialect/swi/fli/swi.h
|
2010-12-02 19:38:15 +00:00 |
|
Vítor Santos Costa
|
f03f353722
|
make swi functors more robust to confusion with atoms.
|
2010-12-02 19:25:10 +00:00 |
|
Vitor Santos Costa
|
7e59179622
|
fix bad SWI functor :(
|
2010-12-02 12:10:03 +00:00 |
|
Vitor Santos Costa
|
b02507ed22
|
fix 32 bit atoms to ensure alignment at 8 bytes (broken with blobs).
|
2010-12-02 11:49:58 +00:00 |
|
Vitor Santos Costa
|
aead067476
|
mv swi compatibility stuff to library/dialect
|
2010-11-30 22:33:33 +00:00 |
|
Vitor Santos Costa
|
92f647556d
|
prolog_to_os_filename is now built-in.
|
2010-11-27 10:20:52 +00:00 |
|
Vítor Santos Costa
|
bebb236e32
|
improve SWI compatibility, especilaly for threaded stuff.
|
2010-08-04 11:37:12 +01:00 |
|
Vítor Santos Costa
|
16341a3a0c
|
export normalize_
|
2010-08-03 21:07:58 +01:00 |
|
Vitor Santos Costa
|
d59fa6c28b
|
make zlib load zlib.so
add delete_file/1 as default.
|
2010-07-29 01:01:16 +01:00 |
|
Vitor Santos Costa
|
617e43b9c1
|
support requires/1.
|
2010-07-28 23:25:12 +01:00 |
|
Vitor Santos Costa
|
c27fdc9b35
|
file_name_ is now a YAP builtin.
|
2010-07-28 10:46:35 +01:00 |
|
Vitor Santos Costa
|
baab2cdbfe
|
add tai package (and SWI interface).
|
2010-07-19 14:52:26 +01:00 |
|
Vítor Santos Costa
|
e81960a96d
|
shlib is now in YAP.
|
2010-06-18 00:28:42 +01:00 |
|
Vítor Santos Costa
|
b0096fc2f5
|
DLL cleanup (yet again)
|
2010-06-14 09:28:20 +01:00 |
|
Vítor Santos Costa
|
eb980421a9
|
make term_to_atom/2 a YAP builtin.
|
2010-05-23 18:39:46 +01:00 |
|
Vitor Santos Costa
|
9301b67724
|
allow better control over using SWI I/O
|
2010-05-06 11:36:47 +01:00 |
|
Vítor Santos Costa
|
4d0967b050
|
arg(2,a,X) fails in SWI and gives an error in YAP/SICStus. Keep on using genarg.
|
2010-05-05 19:37:56 +01:00 |
|
Vítor Santos Costa
|
1ad9b168ca
|
use PLStream functionality whenever possible.
|
2010-05-04 15:15:46 +01:00 |
|
Vítor Santos Costa
|
b9cf8ecf4b
|
optimise case where genarg is know to reduce to arg.
|
2010-05-03 16:35:51 +01:00 |
|
Vítor Santos Costa II
|
bc2ddcc372
|
fix SWI's index.
|
2010-04-22 18:05:23 +01:00 |
|
Vítor Santos Costa II
|
9ba631824b
|
load_foreign* wasn't exported.
|
2010-04-22 16:27:32 +01:00 |
|
Vítor Santos Costa II
|
52ef6ae819
|
improve dialect support (make it less hackhish).
first attempt at emulation of autoloader.
|
2010-04-22 12:16:37 +01:00 |
|
Vítor Santos Costa II
|
034c585489
|
listing library is a SWI thing.
|
2010-04-22 09:07:38 +01:00 |
|
Vítor Santos Costa II
|
2566ebcee5
|
make predsort a system predicate.
|
2010-04-20 23:49:14 +01:00 |
|
Vítor Santos Costa II
|
ff135d53d2
|
simplify compatibility
|
2010-04-20 23:10:40 +01:00 |
|
Vitor Santos Costa
|
cfc0a23953
|
make sublist from hprolog and sublist from yap be the same beast.
|
2010-03-15 14:19:05 +00:00 |
|
Vitor Santos Costa
|
c4b39d3ab9
|
update Prolog code: do a cleanup and make delays use SWI interface.
|
2010-03-12 14:26:35 +00:00 |
|
Vitor Santos Costa
|
c41f6e1906
|
atts stuff is now a part of prolog.
|
2010-03-12 08:26:56 +00:00 |
|
Vítor Santos Costa II
|
8f41517e24
|
del_attrs/1 (for SWI compatibility).
|
2010-03-03 19:08:17 +00:00 |
|
Vitor Santos Costa
|
ba7861b218
|
fix set_source_module
add time_file/2 and flag/3 (and current_flag/1).
|
2010-02-28 22:19:52 +00:00 |
|
Vitor Santos Costa
|
db2bee6b9b
|
subsumes_chk is a builtin in SWI-Prolog.
|
2010-02-28 10:07:36 +00:00 |
|
Vitor Santos Costa
|
ec30e08f69
|
add user_flags/s prolog_flag
|
2010-02-28 00:42:47 +00:00 |
|
Vítor Manuel de Morais Santos Costa
|
72e2a9658e
|
make volatile part of the system (SWI compatibility).
|
2009-12-04 18:24:22 +00:00 |
|
Vitor Santos Costa
|
b3088710d3
|
emulate SWI module inheritance mechanism (at least, I hope).
|
2009-12-04 11:00:13 +00:00 |
|
Vitor Santos Costa
|
9814a3e95b
|
better support for plunit, and don't trust SWI flags (use SICStus flags).
|
2009-12-04 00:35:37 +00:00 |
|
Vitor Santos Costa
|
742979eb9c
|
maplist and friends should be exported from apply, not builtins (obs from Jan Wielemaker).
|
2009-12-03 16:33:10 +00:00 |
|
Vitor Santos Costa
|
e973a3ea40
|
fix SWI emulation of maplist to use meta_predicate instead of module_transparent.
|
2009-12-03 10:36:36 +00:00 |
|
Vitor Santos Costa
|
025ee58f58
|
some SWI predicates became system predicate. Add stubs for $ predicates.
|
2009-11-23 10:12:10 +00:00 |
|
Vitor Santos Costa
|
a2927c4a72
|
=@= needs not be in lib.
|
2009-11-20 00:32:45 +00:00 |
|
Vítor Manuel de Morais Santos Costa
|
d649ba5894
|
first cut at make/0y
|
2009-10-15 12:56:16 +01:00 |
|
U-Khasa\Vitor
|
868c7158ab
|
improve SWI emulation in WIN32
|
2009-07-20 20:56:54 -07:00 |
|