Commit Graph

141 Commits

Author SHA1 Message Date
Vítor Santos Costa
5b0874be32 avoid error handling overhead. 2011-09-15 15:50:41 +01:00
ubu32
e379928239 make cd look for ~ and $HOME expansion. 2011-07-11 07:40:43 -07:00
Vítor Santos Costa
46ab2e7590 file_name_on_path 2011-06-22 12:29:24 +01:00
Vitor Santos Costa
a516d6ad47 more SWI stuff. 2011-06-14 09:04:03 +01:00
Vitor Santos Costa
c1f74b7682 fix usage of cd/1. 2011-05-12 22:26:10 +01:00
Vítor Santos Costa
36a0023fbf iimprove SWI compat 2011-03-15 23:49:28 +00:00
Vitor Santos Costa
2d07a7730e remove YAP memory (string) streams. 2011-02-12 18:42:44 +00:00
Vitor Santos Costa
3bdece404b cd and getcwd stuff. 2011-02-12 01:24:15 +00:00
Vitor Santos Costa
712300027e include support for working_directory/2 as a system predicate. 2011-02-12 00:26:28 +00:00
Vitor Santos Costa
d52d05a626 fix atom_term builtin not to require previous loading of charsio. 2011-01-20 11:51:46 -06:00
Vitor Santos Costa
8161cf64b7 fix overflow in atom_to_term error (UN #206) 2010-12-30 23:00:10 -06:00
Vítor Santos Costa
c454690a67 fix save_program to reload foreign files SWI style when restarting. 2010-11-29 18:44:39 +00:00
Vítor Santos Costa
863747da7b fix save/1 and save/2 to at least work now. 2010-11-29 18:08:11 +00:00
Vítor Santos Costa
576d37510c fix ls/0. 2010-11-22 18:22:53 +00:00
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
65a66a3360 fix operator problem (|). (Ulrich #193) 2010-10-18 08:36:47 +01:00
Vitor Santos Costa
da0aee0f57 fix operator error checking (Ulrich #192) 2010-10-08 10:44:51 +01:00
Vitor Santos Costa
bf40154ff1 fix UN #189 and #172 2010-09-27 22:31:06 +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
735f318b77 fix silly cut in autoload 2010-06-18 00:30:11 +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
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
233926ea00 fix nb_getval to handle exceptions. 2010-03-01 22:32:40 +00:00
Vitor Santos Costa
51982bee42 fix nb_current/2 2010-03-01 21:48:39 +00:00
Vitor Santos Costa
97a3897c88 fix op error handling. 2010-02-26 12:03:32 +00:00
Vitor Santos Costa
6700981b63 fix typo (obs from Bernd Gutmann) 2010-01-26 22:27:00 +00:00
Vitor Santos Costa
8ec6791183 add atom_to_term/3. 2010-01-26 12:19:13 +00:00
Vitor Santos Costa
8f9f1223e7 fix sub_atom(xxx,_,_,_,'') (obs from David Vaz). 2010-01-17 00:04:17 +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
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
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
ffe1dfdfff support for module based operators. 2009-11-20 00:33: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
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
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
2984a660fb make setup in setup_call_cleanup deterministic (#141)
break utils.yap and transfer control functionality to control.yap
2009-08-20 10:36:58 -05:00
Costa Vitor
d8595221d0 optimise sub_atom when sub_atom is known. 2009-06-22 15:35:40 -05:00
Costa Vitor
b72345cc97 handle correctly throws within the scope of a call_cleanup. This is implemented
by using an extra argument to verify if the catcher is the current call_cleanup.
If it is, we allow the exception to go forth.
2009-06-02 19:46:41 -05:00
Vitor Santos Costa
627a4f8b1f ensure environment after goal execution in call_cleanup #106 2009-06-01 23:43:59 -05:00
Vitor Santos Costa
a58e3d812d fix interrupt enabling in call_setup and friends
remove between.
2009-05-21 00:41:35 -05:00
Vitor Santos Costa
26057240a8 fix call_cleanup/2 and /3 (broken in previous patch). 2009-05-20 07:29:13 -07:00
Vitor Santos Costa
c7066b43ec first try of setup_call_cleanup/3 and setup_call_catcher_cleanup/4 2009-05-19 23:53:14 -07:00
Vitor Santos Costa
7d37428f36 fix reporting state of unknown flag (obs from Paulo Moura). 2009-05-06 09:33:13 -05:00
Vitor Santos Costa
e3293851a7 change variable names so that they are standard everywhere. 2009-05-04 18:11:11 -05:00
Vitor Santos Costa
848e1209a2 make sure call_cleanup makes exception handler fail. 2009-05-04 14:02:17 -05:00
Vitor Santos Costa
e3aeb48af6 call_cleanup/3 should allow exceptions to go through, even if cleaner
itself calls an exception (obs from Ulrich Neumerkel).
2009-04-24 18:06:33 -05:00
Vitor Santos Costa
c9c097b32d improve implementation of call_with_args/* 2009-03-13 11:11:04 +00:00
Vitor Santos Costa
8a3978e3e1 rename BinaryTestPredFlag to BinaryPredFlag
get rid of small annoying arithmetic bugs
2009-02-09 21:56:40 +00:00