Commit Graph

288 Commits

Author SHA1 Message Date
Vitor Santos Costa
033d77b47a fix current_predicate yet again 2016-05-12 11:50:30 +01:00
Vitor Santos Costa
83a1269553 change bootstrap sequence to support -B and to allow booting from pl files 2016-05-10 08:33:44 +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
1be002558c call_cleanup in C plus indenting 2016-03-29 01:55:12 +01:00
Vítor Santos Costa
79d99a7768 fix module_property, ignoring modules that are not actually implemented as files. 2016-03-05 23:18:57 +00:00
Vítor Santos Costa
b9eb327d86 fix fixes (lots of white space, somehow. 2016-02-29 03:13:23 +00:00
Vítor Santos Costa
2192f73b11 make it compile under MSN vc. Unfortunately it has a weird crash at boot :(
- Lots of indenting changes
- VC++ is strict with variadic macros
- VC++ does not accept unistd.h
- new interface for walltime
- VC++ does not seem to have support for integer overflow.
- VC++ defines YENV_REG?
- no access flags, x permissions ignored.
- new FindGMP supporting MPIR
- make horus optional (c++ is hard).
2016-02-28 19:32:55 +00:00
Vítor Santos Costa
c25d35356a Try to clarify operators
prolog has priority and cannot be redefined by default.
user is global but may be redefined
others should just plug-in.
2016-02-26 17:18:37 +00:00
Vítor Santos Costa
9860b6244f small changes 2016-02-13 03:11:25 +00:00
Vítor Santos Costa
a7874dee62 fix abolish 2016-02-01 02:46:39 +00:00
Vítor Santos Costa
9b38290b8c current_pred again 2016-01-31 23:11:49 +00:00
Vítor Santos Costa
5c1c9a8570 current_pred 2016-01-31 10:21:10 +00:00
Vítor Santos Costa
1a23e47316 current_predicate 2016-01-08 03:18:36 +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
661f33ac7e bug fices 2016-01-03 02:06: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
962130734e fix current_predicate
init spelling
2015-11-05 16:12:07 +00:00
Vítor Santos Costa
42e2543ab7 generic fixes, mostly indentin 2015-10-22 00:45:21 +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
b164f53191 fix regression tests 2015-08-07 16:57:53 -05:00
Vítor Santos Costa
019ca45bdb prettying 2015-07-22 19:27:29 -05:00
Vítor Santos Costa
c0bb14416b use unistd 2015-06-19 00:41:29 +01:00
Vítor Santos Costa
86b11f5536 break now yap code 2015-06-19 00:41:12 +01:00
Vítor Santos Costa
1471d27d12 stderr stuff 2015-06-19 00:40:48 +01:00
Vítor Santos Costa
209ad287f8 SWI not automatic 2015-06-19 00:38:18 +01:00
Vítor Santos Costa
d18c59f7eb argc/argv -> flags 2015-06-19 00:37:50 +01:00
Vítor Santos Costa
6bc1833d2f more yap_flags 2015-06-19 00:37:09 +01:00
Vítor Santos Costa
c46345a0f0 remove original yap_lag/2 2015-06-19 00:35:42 +01:00
Vítor Santos Costa
315a882e8f remove swi deps 2015-06-18 08:09:31 +01:00
Vítor Santos Costa
d1ec94c4c0 trying to fix current_predicate 2015-04-21 16:06:24 -06:00
Vítor Santos Costa
ef586e264e android debugging plus clean-ups 2015-04-13 13:28:17 +01:00
Vitor Santos Costa
580bc9eb27 fix baacktrackable predicates. 2015-03-09 17:27:35 +00:00
Vítor Santos Costa
9b6bcdde16 improve notion of standadard predicate 2015-03-04 09:54:08 +00:00
Vítor Santos Costa
9d48f3c3c0 fix compilation of JIT (but still not working). 2015-02-18 10:03:57 +00:00
Vítor Santos Costa
d805a474a4 redeclaration 2015-02-17 20:21:49 +00:00
Vítor Santos Costa
ba978d8275 just in time native code: now compiles by doing cmake; make.
no workie in this version, though :)
2015-02-06 18:11:52 +00:00
Vítor Santos Costa
5a668febd9 new slot implementation 2015-02-03 02:36:51 +00:00
Vítor Santos Costa
bc1e70758e cmake and jit 2015-01-26 04:02:46 +00:00
Vitor Santos Costa
ce84e60d08 cosmetic 2015-01-18 01:32:13 +00: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
Vitor Santos Costa
fcf0f41312 infinity, try to fix the ffsll mess, warnings 2015-01-05 16:06:32 +00:00
Vítor Santos Costa
3164ed2d61 doc support 2015-01-04 23:58:23 +00:00
Vítor Santos Costa
21d379bfb6 fix current_predicate missing predicates 2014-12-16 01:25:00 +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
5b37c15742 cur_pred was overeager 2014-11-29 08:08:20 +00:00
Vítor Santos Costa
dc21270454 fix small bugs 2014-11-26 09:45:11 +00:00
Vitor Santos Costa
624183b78e more thread work to cean-up mutexes. Not finshed yet 2014-11-25 19:52:51 +00:00