Commit Graph

1551 Commits

Author SHA1 Message Date
Vítor Santos Costa
4ed4e776e6 fix meta-goal expansion 2014-12-14 11:44:23 +00:00
Vítor Santos Costa
7acb2110d2 Merge branch 'cmake' of ssh://git.dcc.fc.up.pt/yap-6.3 2014-12-04 08:03:45 +00:00
Vitor Santos Costa
ff977fbad8 cmake support: first cut from David Vaz work.i 2014-12-04 07:59:30 +00:00
Vítor Santos Costa
7ea6d84300 fix module exp in user 2014-12-02 02:34:58 +00:00
Vítor Santos Costa
097db1b0b6 support search for predicates 2014-11-28 02:32:35 +00:00
Vítor Santos Costa
d526545bc9 Merge branch 'master' of github.com:vscosta/yap-6.3
Conflicts:
	C/sysbits.c
	C/threads.c
2014-11-27 15:15:22 +00:00
Vítor Santos Costa
a83ff038f4 Mutex stuff movibg to C 2014-11-27 10:02:04 +00:00
Vítor Santos Costa
570513f8f9 fix mutex creation 2014-11-26 09:46:44 +00:00
Vitor Santos Costa
624183b78e more thread work to cean-up mutexes. Not finshed yet 2014-11-25 19:52:51 +00:00
Vitor Santos Costa
afc6c5d04e Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
Conflicts:
	C/threads.c
	JIT/HPP/EnvironmentInit.h
	packages/ProbLog/simplecudd_lfi/problogbdd_lfi.c
	pl/preds.yap
2014-11-25 16:53:35 +00:00
Vitor Santos Costa
f79458bac2 typos 2014-11-25 16:43:43 +00:00
Vítor Santos Costa
1ca062f558 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2014-11-25 12:04:05 +00:00
Vítor Santos Costa
bb8ea9a27d fix current and system predicate 2014-11-25 12:03:48 +00:00
Theo
ddb8e2dd3f Fixed the domain error flag_value message to be able to print the flag if given. 2014-11-13 18:13:49 +00:00
vscosta
04b87d2414 does not need duplcated functionality 2014-11-10 01:54:50 +00:00
vscosta
7094d604fb support windows
improve registry handling
2014-11-10 01:54:14 +00:00
vscosta
c633eac236 avoid using registry, clean-up 2014-11-05 07:45:36 +00:00
Vítor Santos Costa
c440ab239b doc changes 2014-11-02 12:10:32 +00:00
Vítor Santos Costa
9cd2975532 fix argv && os_argv 2014-10-26 17:39:13 +00:00
Vítor Santos Costa
fca75670bc fix argv && os_argv 2014-10-26 17:38:41 +00:00
Vítor Santos Costa
749ba13d3d fix retractall with numbers, Paulo Moura 2014-10-23 00:35:14 +01:00
Vitor Santos Costa
67de7e422d Separate callable errors that refer to the predicate indicator. 2014-10-20 15:40:19 +01:00
Vítor Santos Costa
d40b9d1426 restore callable. 2014-10-20 09:20:56 +01:00
Vítor Santos Costa
6a32efe51a fix \+((!,fail)). 2014-10-19 13:09:35 +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
47d1bd5ecc allow setting up arithmetic exception handling. 2014-10-19 11:27:53 +01:00
Vítor Santos Costa
4a2d6b9137 typo. 2014-10-19 02:02:46 +01:00
Vítor Santos Costa
53a8a8f7c9 try to make MT more robust by:
- tracking memory overflows (still worried about blobs)
- moving core components to C-code, namely the mailboxes.
- reducing locking: too many locks == deadlock.
thanks to Paulo Moura for the test suite!
2014-10-19 01:54:57 +01:00
Vitor Santos Costa
8014110080 fix debugging letfover. 2014-10-15 12:10:39 +01:00
Vítor Santos Costa
8576e67d84 generate exceptions on arithmetic errors 2014-10-15 11:06:07 +01:00
Vítor Santos Costa
186adc2053 More thread fixes, including true anonymous mqueues, worker_id for sequential,
support for arithmetic exceptions on mac, fixes for with_mutex, fixes for dangling pointers
 in thread termination. Uuufff...
2014-10-14 15:53:24 +01:00
Vítor Santos Costa
c95045e14c improve support for floating point exceptions. 2014-10-14 01:13:31 +01:00
Vítor Santos Costa
3c7779ec78 move message queues to C 2014-10-13 12:34:52 +01:00
Vítor Santos Costa
c0b723ca14 fix module transparent. 2014-10-12 11:00:45 +01:00
Vítor Santos Costa
1a56819658 fix typo 2014-10-11 21:56:55 +01:00
Vítor Santos Costa
0c461c538b remove unneeded call 2014-10-11 14:10:35 +01:00
Vítor Santos Costa
b40a5a7837 fix change in undef. 2014-10-11 14:09:40 +01:00
Vítor Santos Costa
5312086b60 typo in expansion. 2014-10-11 14:07:34 +01:00
Vítor Santos Costa
cf7dccdcdf fix handling of attributed vars. 2014-10-11 14:06:57 +01:00
Vítor Santos Costa
1461f44184 fix goal expansion problems 2014-10-11 12:45:54 +01:00
Vitor Santos Costa
18aadaecd8 fix ways to call listing and improve documentation. 2014-10-10 15:52:14 +01:00
Vitor Santos Costa
4d3bb0143f small fix to hook case. 2014-10-10 15:50:41 +01:00
Vitor Santos Costa
96149d991f fix reloading of foreign files: don't allow it even if you are
reconsulting, it makes no sense.
2014-10-10 12:52:03 +01:00
Vitor Santos Costa
946f6cebf3 fix bad exit from undef code. 2014-10-10 12:39:54 +01:00
Vitor Santos Costa
f6bcb22b7c fix undefined procedures to allow hooks as before. 2014-10-10 10:00:27 +01:00
Vitor Santos Costa
e18f083da6 fix warning. 2014-10-09 10:47:41 +01:00
Vitor Santos Costa
48053694c7 document abolish and make sure that assert(m:(H:-B)) treats m as source
module.
2014-10-09 10:46:09 +01:00
Vitor Santos Costa
ed6f7f8573 fix warning. 2014-10-09 10:45:38 +01:00
Vitor Santos Costa
716f80d4c8 ugh, did not allow loading more than a file. 2014-10-09 10:44:37 +01:00
Vitor Santos Costa
6ec4d99d86 allow users to load foreign code from cwd, as said in manual. 2014-10-09 10:43:44 +01:00
Vítor Santos Costa
bd35580713 fixes for qly loading. 2014-10-08 00:28:14 +01:00
Vítor Santos Costa
bcc8fea458 fix another typo. 2014-10-07 23:34:49 +01:00
Vítor Santos Costa
ef73a788d9 fix case where unnecessart messages wwere printed while if disables code reading. 2014-10-07 10:28:43 +01:00
Vítor Santos Costa
46a81e8d2b more typos. 2014-10-07 10:13:31 +01:00
Vítor Santos Costa
cff80914e4 handle modules in exporteed procedures. 2014-10-07 09:59:59 +01:00
Vítor Santos Costa
e9cc545f68 big cleanup: cpmpile under style checker.
fix broken module stuff.
2014-10-07 01:35:41 +01:00
Vítor Santos Costa
0c4f846c0e move modules to as early as possible 2014-10-06 00:01:25 +01:00
Vítor Santos Costa
8c87eabb22 fix typos 2014-10-06 00:00:42 +01:00
Vítor Santos Costa
800a019a16 fix typos 2014-10-05 23:59:34 +01:00
Vítor Santos Costa
028c036757 fix typos 2014-10-05 23:59:21 +01:00
Vítor Santos Costa
3b5a093983 fix message display time 2014-10-05 23:58:19 +01:00
Vítor Santos Costa
733bb5ddc4 module stuff 2014-10-05 23:54:51 +01:00
Vítor Santos Costa
9f00389e52 keep three modules, just for imported stuff. 2014-10-05 23:53:05 +01:00
Vítor Santos Costa
64e7e7e663 make writeln a C built-in. 2014-10-05 23:51:43 +01:00
Vítor Santos Costa
d1242028d2 fixes for notrace predicates. 2014-10-05 10:24:44 +01:00
Vítor Santos Costa
98a471b9d7 fix unrelated comment. 2014-10-05 10:23:21 +01:00
Vítor Santos Costa
b30d0bbdaf fix bad formatting. 2014-10-05 10:22:03 +01:00
Vítor Santos Costa
8345bf3e24 ensure loading is recognised. 2014-10-05 10:20:36 +01:00
Vítor Santos Costa
d29fb0fd57 fix source mode. 2014-10-05 10:18:54 +01:00
Vítor Santos Costa
ad2ee8225d fix modularized grammar.yap. 2014-10-03 08:54:41 +01:00
Vítor Santos Costa
510c7cdeee respect source mode indications. 2014-10-03 08:50:15 +01:00
Vítor Santos Costa
dddc9fbb85 fix listing/0 to avoid going into every system predicate. 2014-10-03 08:49:14 +01:00
Vítor Santos Costa
80faee6824 qload/qsave implementation. 2014-10-02 14:57:50 +01:00
Vítor Santos Costa
ef479f00dc make grammar a module. 2014-10-02 14:55:47 +01:00
Vítor Santos Costa
a306d0b0ee improve messages for cosulting. 2014-10-02 14:52:54 +01:00
Vítor Santos Costa
1cbc0705c6 syntax changes. 2014-10-02 14:50:19 +01:00
Vítor Santos Costa
5a40f834f1 push directives to as early as possible. 2014-10-02 14:41:41 +01:00
Vítor Santos Costa
fe0e12b030 store loaded files state. 2014-10-02 14:40:45 +01:00
Vítor Santos Costa
5bae8321d7 move gramar preprocessing here. 2014-10-02 14:39:45 +01:00
Vítor Santos Costa
48b1cf5d45 store away all directives we find. 2014-10-02 14:34:03 +01:00
Vítor Santos Costa
4fdd501bbb qly is not a source file. 2014-10-02 14:24:12 +01:00
Vítor Santos Costa
5bd42984b9 fix qsave_module 2014-09-25 09:45:25 +01:00
Vítor Santos Costa
077570314d don't source system predicates 2014-09-25 09:44:34 +01:00
Vítor Santos Costa
e4603ffe22 beautify code 2014-09-25 09:43:50 +01:00
Vítor Santos Costa
7f952c8b74 avoid backtracking 2014-09-25 09:42:51 +01:00
Vítor Santos Costa
78967d6eb2 fix typo 2014-09-25 08:50:26 +01:00
Vitor Santos Costa
66a95e96c0 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
Conflicts:
	library/matrix.yap
	pl/qly.yap
2014-09-23 22:46:19 +01:00
Vitor Santos Costa
2bc55d868d formatting changes 2014-09-23 22:40:40 +01:00
Vítor Santos Costa
3e255ec4a1 qload 2014-09-22 18:13:35 +01:00
Vítor Santos Costa
797e0c6be7 don't dump stack, for now 2014-09-16 04:01:37 -05:00
Vítor Santos Costa
aeb54ebc61 more doc udates 2014-09-15 13:10:49 -05:00
Vítor Santos Costa
8eec3113be improve docs 2014-09-15 03:13:50 -05:00
Vítor Santos Costa
050ce4fce6 "moredocupdates" 2014-09-13 00:53:56 -05:00
Vítor Santos Costa
3009987985 update docs 2014-09-11 14:06:57 -05:00
Vítor Santos Costa
b26b5b1b7d small fixes 2014-09-09 23:53:41 -05:00
Vítor Santos Costa
53a49bb3c3 call ypp from the console 2014-09-08 17:16:00 -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
19d0f56f2d fix arena initialization 2014-08-23 14:47:40 -05:00
Vítor Santos Costa
69d2cc3e49 fix beautified recorded. 2014-08-20 09:13:19 -05:00
Vítor Santos Costa
3b5cd95d22 get rid of write_depth
fix at_end_of_line.
2014-08-20 09:12:40 -05:00