Paulo Moura
a0201aa53f
Added implementation of the SWI-Prolog predicates pwd/0, cd/0, and ls/0 (work in progress).
2010-11-09 16:36:22 +00:00
Vitor Santos Costa
9396252588
patches to provide initial support UTF32 encodings(from Paulo Moura)
2010-10-27 14:49:27 +01:00
Vitor Santos Costa
b16a0d53b0
integration of two different event profilers.
2010-10-26 22:02:23 +01:00
Vitor Santos Costa
ef53ed696b
allow uninstanted arguments in erased_statistics.
2010-10-26 10:07:34 +01:00
Paulo Moura
15a728ce6d
Added hook predicate user:prolog_predicate_name/2, taken from SWI-Prolog, to the profiler code.
2010-10-21 20:15:17 +01:00
Vitor Santos Costa
65a66a3360
fix operator problem (|). (Ulrich #193 )
2010-10-18 08:36:47 +01:00
Vitor Santos Costa
7f70a797f4
fix error messages to obey standard.
2010-10-12 22:02:24 +01:00
Vitor Santos Costa
f40ba3e6db
rounding function was incorrect (ulrich's #180 )
2010-10-08 11:02:56 +01:00
Vitor Santos Costa
da0aee0f57
fix operator error checking (Ulrich #192 )
2010-10-08 10:44:51 +01:00
Vítor Santos Costa
f56cf4a737
fix rooted_path for win32 (patch from David Powers)
2010-09-30 20:59:33 +01:00
Vítor Santos Costa
4ae92544b2
fix $when (obs from David Powers)
2010-09-30 20:48:13 +01:00
Vítor Santos Costa
fa91fb6d86
ifix typo
2010-09-30 20:10:25 +01:00
Vítor Santos Costa
48cc87e882
Merge branch 'master' of yap.dcc.fc.up.pt:yap-6
2010-09-28 01:01:55 +01:00
Vítor Santos Costa
6d4d1b1a3a
speedup current_pred
...
fixes from David Powerswq
2010-09-28 01:01:37 +01:00
Vítor Santos Costa
13130df3d9
fix bugs in corout (onbs from David Powers).wq
2010-09-28 00:59:39 +01:00
Vitor Santos Costa
bf40154ff1
fix UN #189 and #172
2010-09-27 22:31:06 +01:00
Vitor Santos Costa
206638e92b
fix checking on_signal/3 (obs from Theo Mantadelis).
2010-09-24 12:37:36 +01:00
Vitor Santos Costa
68f49e9bdd
fix bsolute_file_name for directories (obs from Paulo Moura).
2010-09-24 12:14:37 +01:00
Vitor Santos Costa
4707c4c10c
fix v
2010-09-24 12:14:20 +01:00
Vitor Santos Costa
f9e687a971
Fix block/1 declarations and remove uses of $recorded (patch from David Powers).
2010-09-24 00:36:10 +01:00
Vitor Santos Costa
01776c7a48
fixes by David Powers (broadcast and >= 0)
...
Dion't mess with linger.
2010-09-21 22:27:35 +01:00
Vitor Santos Costa
0fd0662603
ˆ/2 and ˆ/3 are not built-ins.
2010-08-04 23:32:46 +01:00
Vitor Santos Costa
cf3cb21fd7
subsumes_term/2 (from ISO and UD #173 ).
2010-08-04 21:46:10 +01:00
Vítor Santos Costa
f2dff606ef
replace call to non-existing predicate.
2010-08-04 13:04:17 +01:00
Vítor Santos Costa
c081d01e78
implement access_file/2 in C
2010-08-03 21:04:16 +01:00
Vítor Santos Costa
6895b8521a
fix for long messages (from Denys Duchier)
2010-08-02 18:44:10 +01:00
Vitor Santos Costa
b2c1523de6
fix different semantics for yapor.
2010-07-31 00:32:54 +01:00
Vitor Santos Costa
e9c83142ad
fix stupid bug in setof (patch from U Neumerkel).
2010-07-14 00:24:26 +01:00
Vitor Santos Costa
8690fb8ca0
make clp(bn) work again.
2010-06-30 17:54:58 +02:00
Vítor Santos Costa
e350a938e6
new predicates
2010-06-23 11:47:44 +01:00
Vítor Santos Costa
e21526ffc8
allow term_expansion from system
2010-06-23 11:45:18 +01:00
Vítor Santos Costa
735f318b77
fix silly cut in autoload
2010-06-18 00:30:11 +01:00
Vítor Santos Costa
0021b66807
fix case where second argument is known.
2010-06-18 00:29:47 +01:00
Vítor Santos Costa
4a5a74929c
give correct opts to absolute_file_name
2010-06-17 11:05:17 +01:00
Vítor Santos Costa
67ba23efdd
remove unnecessary code
2010-06-17 11:03:13 +01:00
Vítor Santos Costa
6e67a84ab0
shared_object routines support: SWI compatibility and more flexibility.
2010-06-17 00:29:01 +01:00
Vítor Santos Costa
c7b5cc235e
atomic_list_concat/3 (SWI compatibility).
2010-06-17 00:28:03 +01:00
Vítor Santos Costa
57ca6f6406
fix with_mutex in uni-threaded case.
...
avoid dynamics for stable data.
2010-06-17 00:26:41 +01:00
Vítor Santos Costa
8872fed811
make initialization/2 executable (SWI compatibility).
...
add predicate on file suffix (SWI compatibility).
2010-06-17 00:24:19 +01:00
Vítor Santos Costa
959e446218
make sure list predicates are available to whoever needs them.
2010-06-17 00:23:03 +01:00
Vítor Santos Costa
c7c4bd151c
open_shared_objects flag
2010-06-14 22:43:15 +01:00
Vítor Santos Costa
a055cc4637
meta declarations for thread stuff (from Paulo Moura).
2010-06-14 08:56:21 +01:00
Vítor Santos Costa
dc4557c707
more fixes to verbose_load
2010-06-14 08:56:05 +01:00
Vítor Santos Costa
43cc875571
fix verbose_load (obs from Paulo Moura).
2010-06-14 08:47:15 +01:00
Vítor Santos Costa
0645040602
get rid of debug messages.
2010-05-28 16:59:52 +01:00
Vítor Santos Costa
8d93e8f9b9
remove all initialization/1 in a single swoop.
2010-05-28 16:07:20 +01:00
Vítor Santos Costa
380fd692d9
:- G should not go top-level (obs from Ingo Molnar).
2010-05-25 16:15:09 +01:00
Vítor Santos Costa
e67528cc1d
oops, forgot to explicitely declare modules.
2010-05-24 16:19:39 +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
33c2828b7f
make sure autoload is seen as dynamic by the system.
2010-05-11 13:57:52 +01:00
Vítor Santos Costa
55019a83bd
win64
2010-05-10 10:22:42 +01:00
Vitor Santos Costa
d8fc0ea8bf
fix obj detection.
2010-05-05 00:12:25 +01:00
Vítor Santos Costa
ea47bd124c
more fixes
2010-05-04 16:37:39 +01:00
Vítor Santos Costa
4e39da0531
fix plus/3 fix
2010-05-04 16:37:03 +01:00
Vítor Santos Costa
02459e7bec
add plus/3
2010-05-04 16:33:35 +01:00
Vitor Santos Costa
31554991c8
better emulation of SWI atom_t and functor_t.
2010-05-03 14:26:56 +01:00
Vitor Santos Costa
b958bad35d
fixes to stack dumper.
2010-04-29 10:29:24 +01:00
Vítor Santos Costa II
0cf7780db9
Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6
2010-04-23 16:45:03 +01:00
Vítor Santos Costa II
4c36f8b6ce
hack call_residue.
2010-04-23 16:44:38 +01:00
Ricardo Rocha
16c1056a01
tabling support for the common global trie is now available by default
...
(macro GLOBAL_TRIE was removed). Use 'yap_flag(tabling_mode,MODE)' to
set the storing mode for all tabled predicates to MODE ('local_trie' or
'global_trie). Alternatively, use 'tabling_mode(PRED,MODE)' to set the
default tabling mode of predicate PRED to MODE ('local_trie' or
'global_trie'). The default mode for all tabled predicates is 'local_trie'.
2010-04-23 04:22:10 +01:00
Vitor Santos Costa
3cb5e57833
declare meta-predicate call arguments (Paulo Moura).
2010-04-22 20:45:57 +01:00
Vítor Santos Costa II
5adea12feb
fix meta-predicate declaration for predsort (Paulo Moura).
2010-04-22 18:03:09 +01:00
Vítor Santos Costa II
6b98791e53
fix syntax errors in yapor
2010-04-22 16:27:50 +01:00
Vítor Santos Costa II
788193b0c9
Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6
2010-04-22 12:17:39 +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
3efe7a067a
another victim of system name change
2010-04-22 12:16:23 +01:00
Vítor Santos Costa II
28cc9171c3
another victim of system name change
2010-04-22 12:15:59 +01:00
Vítor Santos Costa II
2dcf02687e
another victim of system module name change.
2010-04-22 12:12:24 +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
b0f20ea8c5
ifurther support for dialect.yap
2010-04-20 23:19:51 +01:00
Vítor Santos Costa II
1a4c414831
meta-expansion should be done before calling goal_expansion :(
2010-04-20 23:14:15 +01:00
Vítor Santos Costa II
bc6846d6f7
start improving support for dialect
2010-04-20 23:13:52 +01:00
Vítor Santos Costa II
acee213eeb
beautification.
2010-04-20 23:13:11 +01:00
Vítor Santos Costa II
007bfc21b9
document aggregate library
...
support plus/3 and succ/2 and document them, plus between
2010-04-20 23:06:41 +01:00
Ricardo Rocha
7eee5a5b56
new built-in predicates to access OPTYap statistics related to memory
...
usage.
2010-04-20 03:59:48 +01:00
Ricardo Rocha
ddb1cd8604
adding two new modes to the yap_flag/2 and tabling_mode/2 built-in
...
predicates: 'local_trie' mode and 'global_trie' mode.
2010-04-16 02:08:06 +01:00
Vitor Santos Costa
5b1a2067f9
add support for with_output_to/2.
2010-04-14 10:57:00 +01:00
Vitor Santos Costa
660ea12537
exception handler was not passing well exceptions in setup.
2010-04-14 10:49:32 +01:00
Vítor Santos Costa II
a3667150d3
remove debugging message
2010-04-13 13:34:05 +01:00
Vítor Santos Costa II
719089b96b
make PL_is_initialised honest :)
2010-04-13 00:31:48 +01:00
Vítor Santos Costa II
9def5978bb
SWI actually calls initialization after exiting the directory (obs from Paulo Moura).
2010-04-12 18:30:39 +01:00
Vítor Santos Costa II
4ccc201322
fix version_data
2010-04-10 23:57:46 +01:00
Vítor Santos Costa II
2257b056f0
fix absolute_file_name (SWI and SICStus compatibility, obs from Paulo Moura).
2010-04-10 21:23:38 +01:00
Vitor Santos Costa
066603c79b
fix global variables
2010-04-08 01:44:08 +01:00
Vitor Santos Costa
f7e6242fe9
fix spy bug (obs from Nuno Fonseca).
2010-04-07 01:32:57 +01:00
Vitor Santos Costa
8e72f97651
fix version info to be more like SWI/SICStus.
2010-04-06 00:57:40 +01:00
Vitor Santos Costa
ca31e9fad8
fix portray_clause to use copy_term_nat and get rid of attributed variables.
2010-03-27 15:06:36 +00:00
Vitor Santos Costa
35bbb9e7d1
avoid binding attributed variables.
2010-03-27 11:43:03 +00:00
Vitor Santos Costa
c468d8431e
try to make top level writing more SWI compatible.
2010-03-27 11:34:10 +00:00
Vitor Santos Costa
568c541874
use copy_term compatible with SWI.
2010-03-27 10:56:35 +00:00
Vítor Santos Costa II
c3d2e4cd14
support for agc_margin
2010-03-22 14:47:53 +00:00
Vitor Santos Costa
39483147f4
fix project_attributes/2 (was not being called ever).
2010-03-22 09:11:27 +00:00
Vítor Santos Costa II
8df2b4a963
fix ref to $freeze
2010-03-15 20:40:05 +00:00
Vitor Santos Costa
9cce7df45b
output unification should go after cut.
2010-03-15 14:18:25 +00:00
Vitor Santos Costa
d33be13487
SWI compatibility
2010-03-14 09:31:25 +00:00
Vitor Santos Costa
2ba051e908
SWI compatibility for term_expansion
2010-03-14 09:30:24 +00:00
Vitor Santos Costa
3235842947
small optimisation
2010-03-12 22:41:49 +00:00
Vitor Santos Costa
26e0bfdf06
fix op
2010-03-12 22:41:30 +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