Vitor Santos Costa
|
3439cc8787
|
From Jose Santos: rb_map is a meta_predicate!
|
2009-02-10 22:53:40 +00:00 |
|
Vitor Santos Costa
|
8dbda5580d
|
from Paulo Moura: fix bad expansion of once/1.
|
2009-02-10 22:47:47 +00:00 |
|
Vitor Santos Costa
|
1b41a08e74
|
fix indexing of tabling predicates: make sure we don't jump to the middle
of the code if we come from a retry.
|
2009-02-10 22:35:54 +00:00 |
|
Vitor Santos Costa
|
5efc438e49
|
fix put_att_term/2: bad arity and would not bind first arg if unbound var.
|
2009-02-10 14:56:43 +00:00 |
|
Vitor Santos Costa
|
fe85e92992
|
fixes for x86_64 compilation (with David Vaz).
|
2009-02-10 14:24:20 +00:00 |
|
Vítor Santos Costa
|
c750dd94f1
|
indexing code was not looking at tabled code.
|
2009-02-09 23:34:12 +00:00 |
|
Vitor Santos Costa
|
33b4a02fae
|
extend C-interface to check if a variable is AttVar and to fetch all the
attributes.
|
2009-02-09 22:45:50 +00:00 |
|
Vitor Santos Costa
|
bde2b57f07
|
compile =/2 to use an extra temporary, and not ARG1.
|
2009-02-09 22:29:44 +00:00 |
|
Vitor Santos Costa
|
89635fb1f6
|
optimise is/2 as a binary predicate.
|
2009-02-09 22:21:58 +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 |
|
Vítor Santos Costa
|
30e946cc30
|
fix case where very big negative integer could have two representations.
|
2009-01-12 15:08:26 +00:00 |
|
Vítor Santos Costa
|
76e521f3ff
|
fix bad call of float/GMP routines.
|
2009-01-05 14:32:21 +00:00 |
|
Vítor Santos Costa
|
11eed457c1
|
use automatucally generate code to find indexing information.
|
2008-12-29 00:14:47 +00:00 |
|
Vítor Santos Costa
|
065882ffb8
|
don't split on space, just on tabs.
|
2008-12-29 00:14:24 +00:00 |
|
Vítor Santos Costa
|
73373e1ca5
|
global arena is now allocated in the C-code, when initing stacks.
|
2008-12-29 00:13:28 +00:00 |
|
Vítor Santos Costa
|
90d95fdf17
|
fix bad comparisons in devel version.
|
2008-12-29 00:12:54 +00:00 |
|
Vítor Santos Costa
|
331d1830dd
|
fix throw (it should undo bindings).
|
2008-12-29 00:11:05 +00:00 |
|
Vítor Santos Costa
|
18d5fa12e4
|
fix case where compiler would coredump on badly typed arguments to functor/3.
|
2008-12-28 11:00:38 +00:00 |
|
Vítor Santos Costa
|
5e09d8e1bd
|
make sure that we restore even if only the X registers moved.
|
2008-12-28 11:00:05 +00:00 |
|
Vítor Santos Costa
|
95a15bb689
|
fix small mistakes in output_ewalks.
|
2008-12-26 09:26:17 +00:00 |
|
Vitor Santos Costa
|
b1cf60cafb
|
moe changes to support atomic generation of atoms
support automatic generation of code walker (to find P's predicate and clause)
|
2008-12-24 09:04:44 +00:00 |
|
Vitor Santos Costa
|
f679f21a71
|
cleanup unnecessary MkFunctor
|
2008-12-23 02:20:22 +00:00 |
|
Vítor Santos Costa
|
a8ac9bfb43
|
generate known atoms and functors automatically
|
2008-12-23 01:53:52 +00:00 |
|
Vítor Santos Costa
|
8efcdf7eaa
|
add support for creating a list of codes or atoms incrementally.
|
2008-12-22 13:49:44 +00:00 |
|
Vitor Santos Costa
|
7598b56c38
|
fix prompt in silent mode (obs from Tony Wilson)
|
2008-12-22 12:44:49 +00:00 |
|
Vítor Santos Costa
|
915ae47d18
|
fix ~R bug (thanks to Carsten Mueller)
|
2008-12-22 12:16:31 +00:00 |
|
Vítor Santos Costa
|
43e70f2003
|
more changes to support SWI Input/Output. Now it compiles, which does
not mean it would work!
|
2008-12-22 12:03:14 +00:00 |
|
Vítor Santos Costa
|
60b899ee4d
|
q#
|
2008-12-22 12:02:22 +00:00 |
|
Vítor Santos Costa
|
e51a4c2f5b
|
more changes to interface better with SWI-Prolog
|
2008-12-19 11:41:56 +00:00 |
|
Vítor Santos Costa
|
a2744ed186
|
further changes to better support SWI interface.
|
2008-12-17 14:47:05 +00:00 |
|
Vítor Santos Costa
|
f19db29647
|
support split on blank spaces (tab and spaces).
|
2008-12-17 14:46:39 +00:00 |
|
Vítor Santos Costa
|
14a162dc6a
|
fix compilation of NewX = f instructions.
|
2008-12-13 21:22:07 +00:00 |
|
Vítor Santos Costa
|
875a4553d5
|
fix dump of compiler intsructions.
|
2008-12-13 21:21:24 +00:00 |
|
Vítor Santos Costa
|
2b0c27deb6
|
Remove attempt to emulate SWI I/O
add YAP_getcwd and PL_cwd to interface
|
2008-12-13 16:07:55 +00:00 |
|
Vítor Santos Costa
|
e0531d0743
|
fix bad access flags call.
|
2008-12-12 22:46:32 +00:00 |
|
Vítor Santos Costa
|
8c4c7b4ae5
|
fix unbound call to current_predicate/2
|
2008-12-12 22:45:41 +00:00 |
|
Vítor Santos Costa
|
fdf06f486d
|
replace if-then-else optimisation by the new mechanism.
|
2008-12-09 14:23:19 +00:00 |
|
Vítor Santos Costa
|
a36be5bf20
|
massive changes to support new scheme for arithmetic:
- compilation and assembly support
|
2008-12-09 12:54:27 +00:00 |
|
Vítor Santos Costa
|
2e8d898e86
|
add new eval compiler
fix garbage collector for new big allocation scheme.
|
2008-12-05 16:08:44 +00:00 |
|
Vítor Santos Costa
|
8bcafd417a
|
include new arithmetic optimiser.
|
2008-12-04 23:37:25 +00:00 |
|
Vítor Santos Costa
|
e737599dc4
|
Change to simpler Eval mechanism
- avoid duplicate code
- implement different optimised code.
|
2008-12-04 23:33:32 +00:00 |
|
Vítor Santos Costa
|
13dd600f88
|
add type to BIG NUMs, so that we can easily know what it is all about.
|
2008-11-28 15:54:46 +00:00 |
|
Vítor Santos Costa
|
e8cbc5034e
|
first patch to isolate GMP code.
|
2008-11-28 15:54:08 +00:00 |
|
Vítor Santos Costa
|
902dafa906
|
more support for learning
|
2008-11-26 09:56:55 +00:00 |
|
Vítor Santos Costa
|
58d4442883
|
fixes for gcc-4.3 (same as stable)
|
2008-11-26 09:56:18 +00:00 |
|
Vitor Santos Costa
|
a64c1138df
|
more CLP(BN) fixes
- support clpbn_table for an efficient implementation of deterministic tabling.
- corresponding changes to learning algorithm.
|
2008-11-18 11:29:59 +00:00 |
|
Vitor Santos Costa
|
abf9691282
|
fixes to hashing code.
|
2008-11-18 11:29:08 +00:00 |
|
Vitor Santos Costa
|
99c5cb3e36
|
new version of term_hash based on SWI-ideas.
It handles infinite terms, and it seems to be a better hash.
|
2008-11-18 11:28:11 +00:00 |
|
Vitor Santos Costa
|
1b98de440d
|
Improve Gibbs learning in CLP(BN).
|
2008-11-14 14:56:18 +00:00 |
|
Vitor Santos Costa
|
1be78e23ec
|
had shortcut for var-to-var unification.
|
2008-11-14 14:54:52 +00:00 |
|