Commit Graph

1473 Commits

Author SHA1 Message Date
Vítor Santos Costa
f3e8b8b3da indenting; warning; exceptions; small fixes 2016-03-29 02:02:43 +01:00
Vítor Santos Costa
88b179b603 more atoms plus cleanups 2016-03-16 23:56:24 +00:00
Vítor Santos Costa
9d1fa8a907 prototypes 2016-03-16 23:55:51 +00:00
Vítor Santos Costa
cd1497c475 prototypes 2016-03-16 23:55:25 +00:00
Vítor Santos Costa
96bc776375 avoid direct dependencies on CurrentModule 2016-03-05 12:12:37 +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
0ccee1aa55 Merge /Users/vsc/tmp/yap-6.3w 2016-02-28 19:43:26 +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
7cc9d2f882 fix case where rheap thought a fact could actually stre its src 2016-02-28 19:30:46 +00:00
Vítor Santos Costa
68633a9c34 ops & modules iii 2016-02-26 17:40:03 +00:00
Vítor Santos Costa
f823ded57f Avoid warning & fix compilation scripts 2016-02-26 17:35:20 +00:00
Vítor Santos Costa
6f1b5fbef9 thread compilation 2016-02-22 13:01:09 +00:00
Vítor Santos Costa
98bd9d7400 undefined predicate handling fixes
obey the flag
2016-02-22 12:55:05 +00:00
Vítor Santos Costa
1d76cfc7cb typo 2016-02-21 11:30:29 +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ítor Santos Costa
b7ee47ce46 facilitate peek processing when using system locale. 2016-02-20 21:50:06 +00:00
Vítor Santos Costa
bc71e54f20 encoding stuff 2016-02-19 19:36:11 +00:00
Vítor Santos Costa
484168b1ce Fix encoding 2016-02-18 12:10:58 +00:00
Vítor Santos Costa
7b8c1815ae const 2016-02-14 04:12:53 +00:00
Vítor Santos Costa
4138e46955 be more restrictive about atom_codes. 2016-02-13 20:18:10 +00:00
Vítor Santos Costa
9860b6244f small changes 2016-02-13 03:11:25 +00:00
V'itor Santos Costa
6961626a3d - move all generated files to their own directory
- cleanups
`:wq
2016-02-11 06:13:16 -08:00
V'itor Santos Costa
55deb884d4 avoid a possible overflow. 2016-02-11 05:52:17 -08:00
Vitor Santos Costa
c8305988ca Merge branch 'master' of github.com:vscosta/yap-6.3 2016-02-03 10:17:01 +00:00
V'itor Santos Costa
d83c62051b file fixes 2016-01-31 18:48:07 -08:00
Vítor Santos Costa
3de5b2c2de error_handling 2016-01-31 11:54:45 +00:00
Vítor Santos Costa
b28532a251 misc 2016-01-31 10:42:08 +00:00
Vítor Santos Costa
e5009c733e use handles internally, not slots 2016-01-31 10:41:38 +00:00
Vítor Santos Costa
ad7bef51c6 generated files 2016-01-31 10:41:01 +00:00
Vítor Santos Costa
9c78086a6a X_API WIN32 stuff 2016-01-31 10:29:36 +00:00
Vítor Santos Costa
35eb33e27f improve flag library 2016-01-31 10:27:08 +00:00
Vítor Santos Costa
1ebaf342b6 fix ordering that results in empty table 2016-01-31 10:26:13 +00:00
Vítor Santos Costa
680dae240f win32 if 2016-01-31 10:23:27 +00:00
Vítor Santos Costa
ebc73ec01e docs + EVAL_H 2016-01-31 10:23:03 +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
0eac6ac20b fix gc_trace flag 2016-01-06 12:38:28 +00:00
Vítor Santos Costa
07a37b8c52 compile with other utf8proc around 2016-01-05 03:30:31 +00:00
Vítor Santos Costa
5e4cbcef56 cleanup 2016-01-04 17:24:53 +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
0f121e7f9d // support 2016-01-03 15:44:33 +00:00
Vítor Santos Costa
801944a0cc // support 2016-01-03 15:40:49 +00:00
Vítor Santos Costa
cde63e2be2 // support 2016-01-03 15:35:04 +00:00
Vítor Santos Costa
a8d146dd4d missing_files 2016-01-03 04:53:42 +00:00
Vítor Santos Costa
661f33ac7e bug fices 2016-01-03 02:06:09 +00:00
Vítor Santos Costa
7a7354fb2b restore clauses 2016-01-03 02:02:41 +00:00
Vítor Santos Costa
f0cf91548a change hash function to not be inline 2016-01-03 01:09:57 +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
e51de5f83c remove support for confusing manipulation of $VAR 2015-12-15 08:48:53 +00:00
Vítor Santos Costa
54d7d52b09 a few more cases of conversion 2015-11-13 13:22:50 +00:00
Vítor Santos Costa
504268d5b3 GLOBAL -> *.h files 2015-11-11 17:15:14 +00:00
Vítor Santos Costa
0b982a72fe fix broken padding 2015-11-11 07:50:12 +00:00
Vitor Santos Costa
cddb8191c8 config changes 2015-11-09 18:22:43 +00:00
Vítor Santos Costa
1d66c45fc2 more fixes to absolute_file_names and a new option, glob/1. 2015-11-09 11:27:46 +00:00
Vítor Santos Costa
c450a712d0 typos 2015-11-05 23:47:28 +00:00
Vítor Santos Costa
5205921541 MYDDAS support 2015-11-05 23:45:48 +00:00
Vítor Santos Costa
f8b5ca8291 init and friends : cleanup 2015-11-05 19:33:38 +00:00
Vítor Santos Costa
aa2fb8f0c5 the photos for Debug IO 2015-11-05 19:27:57 +00:00
Vítor Santos Costa
5f58216315 init and new text size function 2015-11-05 19:27:34 +00:00
Vítor Santos Costa
df273f549a prompt flag 2015-11-05 19:26:44 +00:00
Vítor Santos Costa
b4f1a40b4b GMP vs C+++: I loose 2015-11-05 17:03:37 +00:00
Vítor Santos Costa
ad56cc07df t->T 2015-11-05 16:41:39 +00:00
Vítor Santos Costa
67bb20cf0d init sellout 2015-11-05 16:32:34 +00:00
Vítor Santos Costa
cc13181741 allow opening array with different size on top of other;
drop p_
take care with size < 0
2015-11-05 16:18:44 +00:00
Vítor Santos Costa
b0f3cda2d7 Import MD5 support, Macs are weird 2015-11-05 15:38:39 +00:00
Vítor Santos Costa
3c4d6117e6 spelling 2015-11-05 15:34:30 +00:00
Vítor Santos Costa
64e6fd981f Use YAP blob_type internally 2015-10-22 12:03:19 +01:00
Vítor Santos Costa
bcdfdeb65d fix pthread complaining 2015-10-22 00:33:38 +01:00
Vítor Santos Costa
7f8ebe18d0 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2015-10-20 08:14:31 +01:00
Vítor Santos Costa
cc6949681b indenting 2015-10-20 08:13:09 +01:00
Vitor Santos Costa
2b5bddb690 module for charsio 2015-10-20 07:52:33 +01:00
Vitor Santos Costa
d48772c24d move text stuff to YapText 2015-10-20 07:49:53 +01:00
Vítor Santos Costa
468913e38c fix arithmetic exceptions 2015-10-18 12:28:02 +01:00
Vítor Santos Costa
3368c84696 strings are atomic! 2015-10-13 02:15:32 +01:00
Vítor Santos Costa
f56c80675b fix more pesky bugs in text to text conversion 2015-10-13 01:59:50 +01:00
Vítor Santos Costa
a66f5f0531 fix warning 2015-10-09 19:05:36 +01:00
Vítor Santos Costa
bc2dabbca5 fix slot leaks
also moe errot gandking
2015-10-09 10:31:07 +01:00
Vítor Santos Costa
6169bbb3ad avoid confusing with term 2015-10-08 10:16:42 +01:00
Vítor Santos Costa
b3cc23ce64 IO patches
simplify error handling
use get and inject
use wide support in OS
be stricter in checkin streams and arguments
2015-10-08 02:23:45 +01:00
Vítor Santos Costa
4c368a59d3 error handling 2015-09-29 23:28:55 +01:00
Vítor Santos Costa
58f34f7a5f first cut at detecting error source 2015-09-29 23:11:00 +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
8cc38c3377 debugging support 2015-08-18 14:51:32 -05:00
Vítor Santos Costa
668f5f1503 support for multiple and discontiguous 2015-08-18 14:51:06 -05:00
Vítor Santos Costa
4ccb8cf210 more atom as terms stuff 2015-08-18 14:50:27 -05:00
Vítor Santos Costa
7c0ce9ee7e Generate automatically TermAtom from AtomAtom, and remove th ones
created manually.
2015-08-18 14:36:10 -05:00
Vítor Santos Costa
b164f53191 fix regression tests 2015-08-07 16:57:53 -05:00
Vítor Santos Costa
dbdae6a930 syntax error handling 2015-07-27 22:22:44 -05:00
Vítor Santos Costa
f3b84af062 bunch of fixes for YAP's own IO 2015-07-22 19:33:30 -05:00
Vítor Santos Costa
6d507ff49f BEW CONSTANTS. 2015-07-22 19:19:35 -05:00
Vítor Santos Costa
705a6e9b7f cleanups 2015-07-06 12:01:55 +01:00
Vítor Santos Costa
2cf9902dfe module specific flags 2015-07-06 11:53:50 +01:00
Vítor Santos Costa
1c06bfdc05 cmake & text support 2015-06-19 01:30:13 +01:00
Vítor Santos Costa
5746edafaf new atoms, terms and slight functionality 2015-06-19 00:56:24 +01:00
Vítor Santos Costa
3b42554a68 new callers 2015-06-19 00:53:43 +01:00
Vítor Santos Costa
0b68aea31e all kinds of stuff 2015-06-19 00:53:09 +01:00
Vítor Santos Costa
720f9e5242 threads 2015-06-19 00:52:33 +01:00
Vítor Santos Costa
e77b9bd32d Some new functions 2015-06-19 00:52:03 +01:00
Vítor Santos Costa
aef6cf35d6 more string support 2015-06-19 00:51:17 +01:00
Vítor Santos Costa
17049ce8ec flags support 2015-06-19 00:50:41 +01:00
Vítor Santos Costa
8fc4dc2219 new flag system 2015-06-18 01:59:07 +01:00
Vítor Santos Costa
5829e326b7 Remove Old array based flags 2015-06-18 00:28:06 +01:00
Vítor Santos Costa
c26b5f3175 increase the ignore list 2015-06-17 23:49:02 +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
bf8beba466 more Android fixes
merge trueFileName so that we don;t redo code
support rand48 and srand48
drop support for odbc and prolite, too much work.
2015-04-15 11:21:15 +01:00
Vítor Santos Costa
ec7ddf0dba Merge branch 'master' of github.com:vscosta/yap-6.3 2015-04-13 13:28:42 +01:00
Vítor Santos Costa
ef586e264e android debugging plus clean-ups 2015-04-13 13:28:17 +01:00
Paulo Moura
b91c535ea3 Work in progress fixing evaluable type error terms 2015-04-09 01:51:36 +01:00
Vitor Santos Costa
9709c590bf YAP should not try to control cwd, that's the OS task 2015-03-28 19:38:54 +00:00
Vítor Santos Costa
272d28ae5f android 2015-03-16 17:25:09 +00:00
Vítor Santos Costa
9b6bcdde16 improve notion of standadard predicate 2015-03-04 09:54:08 +00:00
Vítor Santos Costa
3d9006db32 make var names available as a global var 2015-03-04 09:47:50 +00:00
Vítor Santos Costa
8ea17007f0 make var names available as a global var 2015-03-04 09:46:55 +00:00
Vítor Santos Costa
9d48f3c3c0 fix compilation of JIT (but still not working). 2015-02-18 10:03:57 +00:00
Vitor Santos Costa
63416fdc48 cut_c simplifications 2015-02-14 11:35:45 +00:00
Vítor Santos Costa
071bb36f0e fix alignment 2015-02-13 12:26:21 +00:00
Vítor Santos Costa
bfa9578d5e fix alignment 2015-02-13 12:26:08 +00:00
Vítor Santos Costa
d606a2820b bad typing 2015-02-13 12:24:50 +00:00
Vítor Santos Costa
9743c81f05 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2015-02-10 09:20:12 +00:00
Vítor Santos Costa
ab41d5411e RebootSlots when we start a new execution. 2015-02-10 09:19:05 +00:00
Vítor Santos Costa
350caa388b fix clashing properties (Paulo Moura). 2015-02-10 09:14:55 +00:00
Vitor Santos Costa
afd8c9b9c4 blanks and backslashed strings 2015-02-10 00:03:02 +00:00
Vitor Santos Costa
e2cd49f408 win32 2015-02-09 10:30:24 +00:00
Vitor Santos Costa
9e24724f0b sqlite 2015-02-09 10:30:09 +00:00
Vitor Santos Costa
2db0b9d6a6 Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3 2015-02-09 09:00:37 +00:00
Vitor Santos Costa
886777f1e6 compilation 2015-02-09 09:00:00 +00:00
Vítor Santos Costa
88e3d637ec C++ & swig 2015-02-09 01:53:28 +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
e29b7afa1b fix warnings 2015-02-04 12:32:38 +00:00
Vítor Santos Costa
5e1b92019b nullptr 2015-02-03 02:58:49 +00:00
Vítor Santos Costa
5a668febd9 new slot implementation 2015-02-03 02:36:51 +00:00
Vítor Santos Costa
bf215e68a2 one Int to rule them all 2015-02-03 02:36:24 +00:00
Vítor Santos Costa
65bcdc541c make sure the swi handle to cacheregs is ok when you move around.
small speedup.
2015-02-03 02:34:01 +00:00
Vitor Santos Costa
36e4cbf98b move handles to a separate handle stack. 2015-01-30 07:25:34 +00:00
Vitor Santos Costa
4a5a3d833a fix tyes. 2015-01-27 03:25:56 +00:00
Vítor Santos Costa
9bc20918c9 JIT code 2015-01-26 07:34:09 +00:00
Vítor Santos Costa
bc1e70758e cmake and jit 2015-01-26 04:02:46 +00:00
Vítor Santos Costa
bece9d05d8 JIT 2015-01-20 03:00:42 +00:00
Vítor Santos Costa
8f1699a343 fix bad protos 2015-01-18 03:48:02 +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
9623f70d3a fix types 2015-01-17 02:50:54 -08:00
Vitor Santos Costa
408333f0d4 types 2015-01-16 20:02:43 -08:00
Vitor Santos Costa
0cca59b36f cases 2015-01-16 19:59:43 -08:00
Vitor Santos Costa
62a2c14c12 debugging 2015-01-16 19:59:01 -08:00
Vitor Santos Costa
326771d17b add utility routine to report on a predicate. 2015-01-15 01:14:47 -08:00
Vitor Santos Costa
3122d323b5 support 64 bit flags in 32 bit mode 2015-01-14 04:51:54 -08:00
Vítor Santos Costa
dbd2aa64aa fix bad header 2015-01-06 22:32:52 +00: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