Menu

Commit [r8944]  Maximize  Restore  History

Now allowing maximum functors to be 2**16 - 1. Various changes
to make this work properly for pure SLG execution. Much of this
simply involved changing the occurrences of byte types in
psc-oriented routines to int. While I was at it, I changed the
name from the confusing insert() to insert_psc().

No attempt was made to expand bytecode, so large arity terms are
not available for explicit compilation. Also, I dodn't fiddle
around with assert/retract. However, nearly all Prolog builtins
have been checked to ensure they work with large-arity terms, as
have been interned tries. I started working on checking tabling,
although there are more features to check.

For good luck, I also increased the HEAP_GC_MARGIN.

Fixed is_most_general_term to work with large terms (lists as well as functors)

tswift 2017-01-02

changed /trunk/XSB/emu/basicdefs.h
changed /trunk/XSB/emu/builtin.c
changed /trunk/XSB/emu/cell_xsb.h
changed /trunk/XSB/emu/emudef.h
changed /trunk/XSB/emu/error_xsb.c
changed /trunk/XSB/emu/findall.h
changed /trunk/XSB/emu/hash_xsb.c
changed /trunk/XSB/emu/hash_xsb.h
changed /trunk/XSB/emu/init_xsb.c
changed /trunk/XSB/emu/psc_xsb.c
changed /trunk/XSB/emu/psc_xsb.h
changed /trunk/XSB/emu/std_pred_xsb_i.h
changed /trunk/XSB/emu/tr_utils.c
/trunk/XSB/emu/basicdefs.h Diff Switch to side-by-side view
Loading...
/trunk/XSB/emu/builtin.c Diff Switch to side-by-side view
Loading...
/trunk/XSB/emu/cell_xsb.h Diff Switch to side-by-side view
Loading...
/trunk/XSB/emu/emudef.h Diff Switch to side-by-side view
Loading...
/trunk/XSB/emu/error_xsb.c Diff Switch to side-by-side view
Loading...
/trunk/XSB/emu/findall.h Diff Switch to side-by-side view
Loading...
/trunk/XSB/emu/hash_xsb.c Diff Switch to side-by-side view
Loading...
/trunk/XSB/emu/hash_xsb.h Diff Switch to side-by-side view
Loading...
/trunk/XSB/emu/init_xsb.c Diff Switch to side-by-side view
Loading...
/trunk/XSB/emu/psc_xsb.c Diff Switch to side-by-side view
Loading...
/trunk/XSB/emu/psc_xsb.h Diff Switch to side-by-side view
Loading...
/trunk/XSB/emu/std_pred_xsb_i.h Diff Switch to side-by-side view
Loading...
/trunk/XSB/emu/tr_utils.c Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB