Vitor Santos Costa
b03e0634c7
fixes + win64
2016-11-08 01:37:36 -06:00
Vitor Santos Costa
d082af605d
less invasive error handling
2016-10-19 22:44:59 -05:00
Vitor Santos Costa
51bf90908f
error handling work
2016-09-27 12:31:12 -05:00
Vitor Santos Costa
79a154cbf4
fix current_predicate/1 and arg/3
2016-08-02 11:34:58 -05:00
Vitor Santos Costa
1d84d39b00
fix fix
2016-08-01 19:14:51 -05:00
Vitor Santos Costa
7651f507c6
error handling
2016-08-01 17:48:43 -05:00
Vitor Santos Costa
f555ea958c
new ped: creat red if new
...
fix overfull in consult stack
2016-07-30 23:15:11 -05:00
Vitor Santos Costa
32743f3731
undef handler
2016-06-03 16:53:43 +01:00
Vitor Santos Costa
9fcbfca1fa
Merge branch 'master' of github.com:vscosta/yap-6.3
2016-05-16 11:21:58 +01:00
Vitor Santos Costa
9f2ba2d4fb
avoid repeated discontiguous messages
2016-05-16 09:35:29 +01:00
Vitor Santos Costa
d86f0d1942
fix bad consult stack expansion
2016-05-14 11:27:53 +01:00
Vitor Santos Costa
e5891afe44
fix nil pointer in prolog profiler
2016-05-13 11:41:19 +01:00
Vitor Santos Costa
abe1168b1d
recognise discontiguous flag
2016-05-12 11:48:39 +01:00
Vitor Santos Costa
efe827db6c
allow static_claus on static clauses wo source
2016-05-10 15:22:25 +01:00
Vitor Santos Costa
18ed15a4ce
do not complain on multi-file predicates being discontiguous
2016-05-10 09:25:14 +01:00
Vitor Santos Costa
70061308ff
make modules remember which operators they ever defined.
...
Make modules import operators from other modules
2016-04-28 15:01:16 +01:00
Vítor Santos Costa
145ad73255
small fixes
...
indenting
2016-03-30 17:35:03 +01:00
Vítor Santos Costa
1be002558c
call_cleanup in C plus indenting
2016-03-29 01:55:12 +01:00
Vítor Santos Costa
a32ac66167
Fix fileName
...
Always return a legit atom
check for NULL
indenting
2016-03-05 17:38:08 +00:00
Vítor Santos Costa
001b169d81
indenting
2016-03-05 12:21:58 +00:00
Vítor Santos Costa
d5862139c8
be more careful when to complain about redefining system press.
2016-02-21 19:07:14 +00:00
Vítor Santos Costa
26013e2fb9
fix regress in style_check caused by bad argument to add clause
2016-02-21 11:30:13 +00:00
V'itor Santos Costa
74b2b5561d
- add debugging code to memory allocation
...
= atom to number: cleanup function name as this is more than just supporting SWI
- SrcMask only applies to rules.
- add auxiliary type/error function
- fix typos
- fix enumeration mode in current_flag
- get rid of TrueName routines, use AbsoluteFileName instead.
- detail synatx error source
2016-02-11 06:03:33 -08:00
Vítor Santos Costa
d90a0f72b0
protect entry to critical section
2016-01-31 10:13:51 +00:00
Vítor Santos Costa
6b60742700
system predicates should not belong to a file.
2016-01-12 17:03:57 +00:00
Vítor Santos Costa
1a23e47316
current_predicate
2016-01-08 03:18:36 +00:00
Vítor Santos Costa
5fd4add82b
Hide and Seek
2016-01-04 17:18:43 +00:00
Vítor Santos Costa
50c8724322
linux backport
...
file exists system predicate
$source_file -> $user source
hide and make system preds
fix check_head_and_body
user_expansion never fails
goal expansion is controlled b dynamic procedure
add must_be_of_type predicate_indicator
fix neat_call, debug flag is user controlled
use simplecudd, not ptoblogbdd
compile all of myddas
fx junk in file_name
fix warnings
use common file opening struct and funds
avoid pairs module
fix db queues
2016-01-04 14:11:09 +00:00
Vítor Santos Costa
d942b55dc4
varia
2016-01-03 01:27:36 +00:00
Vítor Santos Costa
ca7d66a791
remove old xomment
2016-01-03 01:26:09 +00:00
Vítor Santos Costa
15404b3835
small
...
- do not call goal expansion on meta-calls (that is done by undef).
- docs updates
- fix init code
2015-12-15 09:28:43 +00:00
Vítor Santos Costa
14459cce03
undefined with fast_fail support
2015-12-15 09:18:36 +00:00
Vítor Santos Costa
72252ed817
various
...
init spelling
make style checker more like error handler.
ensure pointers are not null
2015-11-05 15:11:57 +00:00
Vítor Santos Costa
17e216c01b
indenting
2015-10-22 00:53:26 +01:00
Vítor Santos Costa
b3a262910f
first cut at detecting error source
2015-09-29 23:08:10 +01:00
Vítor Santos Costa
b871f6676e
fix error handling
2015-09-25 10:57:26 +01:00
Vítor Santos Costa
4336b2ba88
Avoid complaining from strlen
...
`
2015-09-21 17:05:36 -05:00
Vítor Santos Costa
b7a1e464ef
add warning of discontiguous and multiple file predicates
2015-08-18 14:32:24 -05:00
Vítor Santos Costa
b164f53191
fix regression tests
2015-08-07 16:57:53 -05:00
Vítor Santos Costa
1c6a138ce2
let the compiler say what was the actual error.
2015-07-22 19:02:41 -05:00
Vítor Santos Costa
94092be293
bootstrap and small cleanups
2015-07-06 11:59:50 +01:00
Vítor Santos Costa
1c06bfdc05
cmake & text support
2015-06-19 01:30:13 +01:00
Vítor Santos Costa
660800af67
avoid using space on statistics
2015-04-21 16:09:43 -06:00
Vítor Santos Costa
4489616b19
fix current_pred
2015-04-19 04:13:12 +01:00
Vítor Santos Costa
ef586e264e
android debugging plus clean-ups
2015-04-13 13:28:17 +01:00
Vítor Santos Costa
5a668febd9
new slot implementation
2015-02-03 02:36:51 +00:00
Vitor Santos Costa
ce84e60d08
cosmetic
2015-01-18 01:32:13 +00:00
Vitor Santos Costa
e40c248c16
Merge branch 'master' of /home/vsc/yap-6.3
...
Conflicts:
C/cdmgr.c
pl/preds.yap
2015-01-17 03:06:59 -08:00
Vitor Santos Costa
21be46b123
blanks
2015-01-17 02:58:14 -08:00
Vitor Santos Costa
3122d323b5
support 64 bit flags in 32 bit mode
2015-01-14 04:51:54 -08:00
Vitor Santos Costa
f22f337f67
32 bit support:
...
use uint64_t for predflags
define a type for arity
2015-01-06 17:47:58 +00:00
Vítor Santos Costa
bb8ea9a27d
fix current and system predicate
2014-11-25 12:03:48 +00:00
Vítor Santos Costa
d40b9d1426
restore callable.
2014-10-20 09:20:56 +01:00
Vítor Santos Costa
0cd0ece207
make error handling for callable more ISO like.
2014-10-19 12:48:14 +01:00
Vítor Santos Costa
ad82a2619d
compute mian functor correctly a(X), [Y] <-- b(X,Y).
2014-10-07 21:04:54 +01:00
Vítor Santos Costa
a54af395cf
multifiles are discontiguus by def.
2014-10-07 01:37:42 +01:00
Vítor Santos Costa
17617e8d20
allow setting file ownership, and make sure preds created by aux
...
programs have an owner file.
2014-10-02 14:21:43 +01:00
Vítor Santos Costa
9254103f45
$pred_owner: file where source was.
2014-09-22 18:09:23 +01:00
Vítor Santos Costa
91946626b0
causes do not have cps for a while
2014-09-16 03:58:35 -05:00
Vítor Santos Costa
99713d81a6
replace locks by critical sections in interrupt handling
2014-09-02 14:19:23 -05:00
Vítor Santos Costa
f37806d7cc
improve listing, make it more generous and SWi-like.
2014-07-16 11:55:16 -05:00
Vítor Santos Costa
a76b6d23dc
Fix: eclipse >u. into >y_u.
2014-05-30 01:06:09 +01:00
Andreas Becker
dc37d76e8b
Merge branch 'github.com/master'
...
Conflicts:
Makefile.in
2014-05-29 12:19:45 +02:00
Andreas Becker
d5358ab932
Fix: Removed debugging message.
2014-05-29 11:34:26 +02:00
Andreas Becker
72b9ec59b7
Fix: Win32 defines Bind, so change Bind to YapBind.
2014-05-29 11:32:28 +02:00
Vítor Santos Costa
4172f4efd5
use const wherever possible
2014-05-25 20:46:04 +01:00
Vitor Santos Costa
4867563b09
fix multifile handling.
2014-04-24 14:24:27 +01:00
Vitor Santos Costa
05ac1dc920
small fixes:
...
- fix consult as reconsult
- declaring P twice as thread_local confused yap
- missing UNLOCK.
2014-04-24 12:54:08 +01:00
Vítor Santos Costa
1db83cc30d
make consult reconsult the original file, so that
...
[x]. [x].
is more like
[x]. [-x].
2014-04-24 11:40:35 +01:00
Vítor Santos Costa
d8f4a77f47
fix style_check to be called at parse-time and not cause eexcution overheads.
2014-04-24 08:26:31 +01:00
Vitor Santos Costa
6591b5429c
Merge branch 'master' of git.dcc.fc.up.pt:yap-6.3
2014-04-23 22:42:03 +01:00
Vitor Santos Costa
aba5f3d88b
handle locking more carefully (especially protect gc and stack shifting).
2014-04-23 22:41:12 +01:00
Vítor Santos Costa
f1951777b7
fix checker to use read for singleton variables, instead of always computing
...
them.
2014-04-23 21:39:32 +01:00
Vitor Santos Costa
f39ed68fe8
check for mistypes
2014-04-06 17:06:19 +01:00
Vítor Santos Costa
6bde2d2cd7
avoid unions called u: they confuse eclipse.
2014-02-18 09:44:01 +00:00
Vitor Santos Costa
043c97157f
fix source file for predicates
2014-02-09 11:00:01 +00:00
Vitor Santos Costa
6b2e1973ab
Windows fixes, mainly H -> HB
2014-01-19 21:15:05 +00:00
Vítor Santos Costa
ba2c0ca2a0
support no trace predicates
2013-12-11 01:05:51 +00:00
Vítor Santos Costa
29c0d55ad4
nth_clause cleanup with support for mega and exo clauses
2013-12-09 14:16:30 +00:00
Vítor Santos Costa
3edb01f5f7
more reflection updates
2013-11-26 10:40:00 +01:00
Vítor Santos Costa
d0c7ef121b
give source property based on dynamic declarations
2013-11-25 19:19:44 +01:00
Vítor Santos Costa
fae3da8659
fix high arity and nth clause
2013-11-25 18:31:33 +01:00
Vítor Santos Costa
917d5ad75b
line numbers for clauses and clause properties
2013-11-05 17:59:19 +00:00
Vítor Santos Costa
b3a4666fc2
useful debugging code
2013-11-04 00:04:09 +00:00
Vítor Santos Costa
577b99367d
don't make mega-clauses always source
2013-09-28 18:20:04 +01:00
Vítor Santos Costa
6033eba372
missing unlock.
2013-09-21 23:19:21 +01:00
Vítor Santos Costa
b6b44c655f
unnecessary lock-pred
2013-06-07 09:25:40 -05:00
Vitor Santos Costa
743c9c69fb
get rid of PROTO
2013-04-25 17:15:04 -05:00
Vitor Santos Costa
90abff4f2f
Exo compilation, the range example.
2013-04-16 20:04:53 -05:00
Vitor Santos Costa
d163cadda1
pass regs when constructing long ints and floats.
...
fix small gcc complaints.
2013-03-26 15:01:52 -05:00
Vítor Santos Costa
fdd05abd38
fix save_cp
2013-02-15 10:30:53 -06:00
Vítor Santos Costa
046cb5f8d6
debugging
2013-02-08 10:36:45 -06:00
Vítor Santos Costa
3c021a41cf
statistics info
2013-01-23 09:58:02 +00:00
Vítor Santos Costa
48ea1f5ec5
exo clause support
2013-01-14 09:48:05 +00:00
Vitor Santos Costa
f83379648c
fix use of exo preds.
2013-01-11 16:45:14 +00:00
Vitor Santos Costa
2e6360738c
itry to use size_t
...
fix overflow handling bugs.
2012-12-14 19:35:26 +00:00
Vitor Santos Costa
556937195d
avoid meta-call in system; improve goal/pred expansion
2012-12-07 08:08:32 +00:00
Vítor Santos Costa
2607e59a16
add stash_predicate and fix hide_predicate.
2012-11-25 23:36:43 +00:00
Vítor Santos Costa
f74164c642
correct support for goal expansion (bug report from Paulo Moura)
2012-11-07 13:49:54 +00:00
Vítor Santos Costa
3b44ed0660
fix warning
2012-11-02 22:35:51 +00:00