Commit Graph

3319 Commits

Author SHA1 Message Date
Vítor Manuel de Morais Santos Costa
48861db34e fix bad testing of choice-point in throw (tabling bug?) 2009-12-12 23:22:10 +00: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
Vítor Manuel de Morais Santos Costa
b69c0ba2a9 add to API 2009-12-12 23:21:25 +00:00
Vítor Manuel de Morais Santos Costa
946b6aa812 small space fixes 2009-12-12 23:20:44 +00:00
Vitor Santos Costa
1486b97e75 YAP added / to WIN32 file names (obs from Jose Santos). 2009-12-11 09:49:47 +00:00
Vitor Santos Costa
933f96a80d more CXX stuff: will it ever end? 2009-12-10 23:47:34 +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
df2b11a6ec define Optype for xxc, for instructions whose constant argument is a term, like functor(a,X,T). 2009-12-06 00:37:48 +00:00
Vitor Santos Costa
7663a748a9 Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6 2009-12-04 23:13:16 +00:00
Vítor Manuel de Morais Santos Costa
783c5ed6bc fix excessive untrailing in C-code interface (obs from Nuno Fonseca). 2009-12-04 22:58:46 +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
f7e60ddbc2 simple should run tests when loading plunit. 2009-12-04 10:59:38 +00:00
Vitor Santos Costa
d554871ffb get rid of create_prolog_flag/2. 2009-12-04 09:17:27 +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
81ad3a6d2f document new flag command. 2009-12-04 00:30:07 +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
Vitor Santos Costa
97a27bd4b6 [ ] and {} should be handled by the scanner, not the parser (obs from Paulo Moura). 2009-12-03 22:51:29 +00:00
Vítor Manuel de Morais Santos Costa
1176f71f3a support for making sure exceptions are reset when they should be reset (obs from Nuno Fonseca, #159) 2009-12-03 17:48:25 +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
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
dcf0c87e8a apply should export all versions of maplist (#157) 2009-12-03 16:31:23 +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
344a0a6e87 make sure expand_macros only expands predicates visible to the module. 2009-12-03 10:16:15 +00:00
Vitor Santos Costa
1bbf7ff16c | should use operator priority, not some built-in (#156) 2009-12-03 09:41:28 +00:00
Vitor Santos Costa
2d6934178b check for unbound calls (#154) 2009-12-03 09:08:06 +00:00
Vitor Santos Costa
f08d8b4b04 Merge branch 'master' of gitosis@yap.dcc.fc.up.pt:yap-6 2009-12-03 02:14:07 +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
Ricardo Rocha
f01283bd28 new primitives trie_get_first_entry/2 and trie_get_last_entry/2 in tries module 2009-11-27 19:10:36 +00:00
Vitor Santos Costa
8213d52af4 fix bad call to realloc (nf patches). 2009-11-27 18:46:11 +00:00
Vítor Manuel de Morais Santos Costa
506da0b1bf make write always protect operators when they are not used as operators so as to follow standard (#150). 2009-11-27 16:09:48 +00:00
Vítor Manuel de Morais Santos Costa
69988d0718 harmonize | priority (#149) 2009-11-27 15:55:46 +00:00
Vítor Manuel de Morais Santos Costa
53e91797b3 make modules kind of work here :( 2009-11-27 13:45:57 +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
b16623d026 fix realloc and friends (obs from Nuno Fonseca). 2009-11-27 13:31:03 +00:00
Vítor Manuel de Morais Santos Costa
d746afaa32 UserCode may changed YENV, so be careful, be very careful! (obs from Nuno Fonseca). 2009-11-27 13:14:30 +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
Vítor Manuel de Morais Santos Costa
7f5da32c08 fix trail when you do a jumpenv (Ulrich Neumerkel #152) 2009-11-25 09:47:38 +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
ccaab728af handle user operators as "prolog" operators. 2009-11-25 00:38:29 +00:00
Vitor Santos Costa
2ab3308a56 fix restore of opentries. 2009-11-25 00:38:05 +00:00
Vitor Santos Costa
1136597f6f fix debugging info (obs from Jose Santos). 2009-11-23 23:43:12 +00:00
Vitor Santos Costa
9f27ab5ab3 fix typo in minisat compilation 2009-11-23 21:03:04 +00:00