U-Khasa\Vitor
f350e369b5
handle cr in files
2010-02-11 12:06:27 -06:00
Vitor Santos Costa
eea6932e23
fix undefined error in the absence of tabling (obs from Paulo Moura).
2010-01-31 23:13:30 +00:00
Vitor Santos Costa
6700981b63
fix typo (obs from Bernd Gutmann)
2010-01-26 22:27:00 +00:00
Vítor Manuel de Morais Santos Costa
b94a667972
fix uninited nb if booting from prolog (obs from nf).
2010-01-26 12:37:10 +00:00
Vitor Santos Costa
8ec6791183
add atom_to_term/3.
2010-01-26 12:19:13 +00:00
Vitor Santos Costa
87a075bd28
avoid unnecessy retry ports
2010-01-25 10:21:21 +00:00
Vitor Santos Costa
30e5e5d803
protect hooks within spy
2010-01-25 09:02:15 +00:00
Vitor Santos Costa
de46b64eee
allow debugging inside directives.
2010-01-25 09:02:00 +00:00
Vitor Santos Costa
e860bd7ee1
fix initialization/1 (obs from Paulo Moura).
2010-01-18 14:34:30 +00:00
Vitor Santos Costa
8f9f1223e7
fix sub_atom(xxx,_,_,_,'') (obs from David Vaz).
2010-01-17 00:04:17 +00:00
Vitor Santos Costa
e86b28911f
improve performance of depth_limit call.
2010-01-17 00:03:55 +00:00
Vítor Manuel de Morais Santos Costa
0c29616bc2
SWI-compatible for initialization/2·
2010-01-15 16:21:29 +00:00
Vítor Manuel de Morais Santos Costa
5ef31fbfd2
experiment in or-parallel threads.
2010-01-14 15:58:19 +00:00
Vítor Manuel de Morais Santos Costa
bf52be1ece
add extra options for SWI compatibility: notice, attributes/1 is not actually implemented within write yet!
2010-01-12 14:27:32 +00:00
Vitor Santos Costa
79a1d3e13c
fix thread stuff (obs from Jiefei Ma).
2009-12-17 23:55:09 -02:00
Vítor Manuel de Morais Santos Costa
946b6aa812
small space fixes
2009-12-12 23:20:44 +00:00
Vitor Santos Costa
ac2cf2434a
prolog_flag executable (obs from Aubrey Barnard).
2009-12-10 01:16:29 +00:00
Vitor Santos Costa
1be390d31a
fix create_prolog_flag to guess domain (idea from Jan Wielemaker).
2009-12-06 00:49:51 +00:00
Vitor Santos Costa
2cb3ef5fa4
fix set_base_module to retract previous modules,
...
add delete_import_module.
2009-12-04 21:32:36 +00:00
Vítor Manuel de Morais Santos Costa
bed3e52a84
fix version option
2009-12-04 18:24:45 +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
d554871ffb
get rid of create_prolog_flag/2.
2009-12-04 09:17:27 +00:00
Vitor Santos Costa
ee575387af
rstore user_defined_directive
2009-12-04 00:29:50 +00:00
Vitor Santos Costa
367f1d954f
better way to define prolog flag.
2009-12-04 00:06:11 +00:00
Vitor Santos Costa
4c47f4188e
fix exceptions in setup.
2009-12-03 22:54:31 +00:00
Vítor Manuel de Morais Santos Costa
71e4d73a75
make sure to reenable interrupts if you have to exit setup in a hurry ( #158 ).
2009-12-03 17:46:21 +00:00
Vitor Santos Costa
bc4b718afb
follow import recursively so that we don't lose properties like being a
...
meta predicate.
2009-12-03 16:33:44 +00:00
Vitor Santos Costa
2d6934178b
check for unbound calls ( #154 )
2009-12-03 09:08:06 +00:00
Vitor Santos Costa
d2da5bfe26
fix setup_call_cleanup and friends.
2009-12-03 02:13:22 +00:00
Vitor Santos Costa
06d30b9fc9
Jump and Throw need to store the term away, if they try to use arena
...
the term will hang in the stack (#152 ).
2009-12-02 21:59:41 +00:00
Vítor Manuel de Morais Santos Costa
91a7fc3c66
fix bugs in backtrackable versions of atom_concat/3 and atomic_concat/3 (obs from Paulo Moura).
2009-11-27 13:45:18 +00:00
Vítor Manuel de Morais Santos Costa
98f79484ae
change throw mechanism to fit better with cleanup mechanism:
...
- balls are now stored off line and recovered by Prolog code when everything
is safe.
- if a ball exists, throw uses the *existing* one (be careful not to have one
laying around).
- Jump routine cleans up every cp except ones for setup_call handling, backtracking simply calls setup handlers.
2009-11-27 11:21:24 +00:00
Vitor Santos Costa
50d720a9c6
fix current_op/3 by walking over the chain of ops or properties and moving complex code to Prolog (obs from Paulo Moura).
2009-11-25 00:38:47 +00:00
Vitor Santos Costa
fe6148ef15
be more cautions about removing prolog: from calls.
2009-11-23 10:15:11 +00:00
Vitor Santos Costa
2d2fb30167
atomic_list_concat/2 and fix some reverse mode ops in atom_concat/3.
2009-11-23 10:13:55 +00:00
Vitor Santos Costa
31e5c54125
support message_string/2 for SWI emulation.
2009-11-23 10:09:32 +00:00
Vitor Santos Costa
e4c9d69044
in SWI mode allow new flags to be silently defined.
2009-11-23 10:06:51 +00:00
Vitor Santos Costa
b15d9c0363
add source_location for SWI compatibility
2009-11-23 10:02:40 +00:00
Vitor Santos Costa
d91bab4247
make sure goal_expansion is never seen as an undefined goal. It should at least always succeed.
2009-11-23 10:01:55 +00:00
Vitor Santos Costa
ffe1dfdfff
support for module based operators.
2009-11-20 00:33:14 +00:00
Vitor Santos Costa
628d181923
protect against var usage.
2009-11-20 00:32:14 +00:00
Vítor Manuel de Morais Santos Costa
71de4ed52a
Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6
2009-11-18 13:13:51 +00:00
Vítor Manuel de Morais Santos Costa
a316090f8c
fix nth_instance: fix bugs and actually add two versions (obs from Theofrastos Mantadelis)
2009-11-18 13:06:37 +00:00
Vitor Santos Costa
cef6c9da36
fix bad processing of eof_action flag (obs from Ulrich, #147 ).
2009-11-17 02:37:56 +00:00
Vitor Santos Costa
f7214090cb
make operators defined within a module local to the module, operators in header are still global to every module, though (UN #131 ).
2009-11-17 00:59:06 +00:00
Vitor Santos Costa
ce5ae8b972
another oops :(
2009-11-17 00:48:16 +00:00
Vitor Santos Costa
84022de89d
disable creep when top-level starts: this prevents creeping after a top-level.
2009-11-17 00:32:38 +00:00
Vitor Santos Costa
b56894e0d5
indenting.
2009-11-17 00:32:27 +00:00
Vitor Santos Costa
73cdfe0f5b
oops in previous change :(
2009-11-17 00:23:22 +00:00