Commit Graph

439 Commits

Author SHA1 Message Date
Vitor Santos Costa
921b5d497d Merge ../YAPDroid/yap 2018-02-23 14:16:20 +00:00
Vitor Santos Costa
d6aaa8a03e blobs 2018-02-23 14:09:58 +00:00
Vitor Santos Costa
1066ded7d9 blobs 2018-02-23 14:09:09 +00:00
Vitor Santos Costa
f798372fb1 simplify boot
rename boot vars for consistency
small fixes
2018-02-23 14:07:21 +00:00
Vitor Santos Costa
13f36c1f67 Merge vcosta-laptop:github/yap-6.3 2018-02-21 17:41:20 +00:00
Vitor Santos Costa
1289899918 ExportMemory 2018-02-21 17:41:00 +00:00
Vitor Santos Costa
bdc9e7005d scanner fixes
-> vs !
error handling
2018-02-21 13:02:20 +00:00
Vitor Santos Costa
e93c01f8e0 asserts 2018-02-14 14:17:57 +00:00
Vitor Santos Costa
fe496e840d android 2018-02-14 00:13:13 +00:00
Vitor Santos Costa
34c6ace8be fixes 2018-02-07 21:48:37 +00:00
Vitor Santos Costa
66db3d53f8 boot 2018-02-02 11:50:07 +00:00
Vitor Santos Costa
9fce1e9ba2 bootstrapping 2018-01-22 13:53:17 +00:00
Vitor Santos Costa
fdf7bb516f fix 2018-01-19 14:38:26 +00:00
Vitor Santos Costa
4c25aa21c5 boot 2018-01-18 14:47:27 +00:00
Vitor Santos Costa
9c862c21bc jupyter 2018-01-05 16:57:38 +00:00
Vitor Santos Costa
9a5681b2cb rpath 2017-12-10 11:42:51 +00:00
Vitor Santos Costa
645b2c7d93 boot 2017-12-05 15:14:57 +00:00
Vitor Santos Costa
3688819ea2 iandroid 2017-11-29 13:47:57 +00:00
Vitor Santos Costa
8feca162bf android 2017-11-27 13:36:19 +00:00
Vitor Santos Costa
06485f071a iandroid 2017-11-21 15:44:43 +00:00
Vitor Santos Costa
bf78d70d66 fix skip/1 and debugging stuff
formatting
2017-11-18 00:18:42 +00:00
Vitor Santos Costa
e4fd6a153a error handling 2017-10-28 03:21:34 +01:00
Vitor Santos Costa
dd48ba6f91 swig 2017-10-04 09:18:17 +01:00
Vitor Santos Costa
70f4f7adcf text handling/UNICODE 2017-09-21 09:47:21 +01:00
Vitor Santos Costa
98a5538f45 a question of size 2017-09-19 13:19:13 +01:00
Vitor Santos Costa
ea51f06783 small API changes 2017-09-06 16:13:34 +01:00
Vitor Santos Costa
e3ab36f091 call cleanup 2017-09-06 01:13:00 +01:00
Vitor Santos Costa
a115024aee Merge http://www.github.com/vscosta/yap-6.3 2017-09-03 10:49:16 +01:00
Vitor Santos Costa
54234c7e1d fix C major issues
- use delays to implement setup_call
- fix user_* flag
- error handling i CXX should b local
- fix mess on  how to call openQuert
- deter pt -> from a pointer to another one
- avoid text forms when you can use C: LOCLS to locals.h
- fux seto_call
- new gated call
- mem streams
2017-08-21 12:29:58 +01:00
Vitor Santos Costa
f99d048cc2 trail extension support 2017-07-30 22:20:12 +01:00
Vitor Santos Costa
963752fa9c Android support, 2017-07-25 01:10:44 +01:00
Vitor Santos Costa
0d96197ddf X_API 2017-06-12 18:00:47 +01:00
Vitor Santos Costa
0c46c894d3 python support 2017-05-27 22:54:00 +01:00
Vitor Santos Costa
18af47bdde Jupyter 2017-05-19 09:56:37 +01:00
Vitor Santos Costa
386c88e372 update to latest ipykernel 2017-05-14 11:27:44 +01:00
Vitor Santos Costa
c2435673cd swig python support 2017-05-08 18:51:29 +01:00
Vitor Santos Costa
6e7846e210 docs 2017-05-02 07:42:21 +01:00
Vitor Santos Costa
70232133cc docs 2017-04-13 21:42:34 +01:00
Vitor Santos Costa
faf3c930c8 docs 2017-04-07 23:10:59 +01:00
Vitor Santos Costa
65ff3ed471 Smaller updates:
constant use of longjmp
conflict with python headers
win32 support
dll support
2017-02-20 15:28:46 +00:00
Vitor Santos Costa
b07a35a993 Merge branch 'master' of https://github.com/vscosta/yap-6.3 2016-12-04 12:49:17 -06:00
Vitor Santos Costa
d37e198c12 signals
doc support
2016-11-23 22:35:39 -06:00
Vitor Santos Costa
f44ef18fed fix atom_to_term and increase sharing on CUDD stuff 2016-11-23 17:23:59 -06:00
Vitor Santos Costa
b03e0634c7 fixes + win64 2016-11-08 01:37:36 -06:00
Vitor Santos Costa
46a9d52d2d Memory management and UTF-8 for all fixes 2016-11-04 11:36:48 -05:00
Vitor Santos Costa
02e0e50915 Merge ssh://192.168.66.221/~vitor/Yap/yap-6.3 2016-11-02 00:16:36 -05:00
Vitor Santos Costa
d082af605d less invasive error handling 2016-10-19 22:44:59 -05:00
Vitor Santos Costa
8f72db3b56 fixes 2016-10-19 22:38:17 -05:00
Vitor Santos Costa
2bbc3b9265 rrors 2016-09-22 21:53:42 -05:00
Vitor Santos Costa
df8b264751 meta stuff 2016-09-20 22:53:33 -05:00
Vitor Santos Costa
124b2e9069 move all error related state to a record 2016-09-20 22:52:34 -05:00
Vitor Santos Costa
cc1a44c7a7 ugh 2016-08-15 14:53:20 -05:00
Vitor Santos Costa
b705c07ac8 error 2016-08-04 10:26:18 -05:00
Vitor Santos Costa
9ef2f87165 osx 2016-08-02 12:10:01 -05:00
Vitor Santos Costa
d54446d736 fix bad meta-call handling & throw(Var)
also warnings
2016-08-02 09:01:54 -05:00
Vitor Santos Costa
4628adc63e Merge branch 'master' of https://github.com/vscosta/yap-6.3 2016-08-01 21:45:42 -05:00
Vitor Santos Costa
4477350d08 small fixes 2016-07-31 10:31:22 -05:00
Vitor Santos Costa
84d5974cca Android support 2016-07-31 09:55:50 -05:00
Vitor Santos Costa
60687f4346 Ubuntu 2016-06-29 01:42:26 +01:00
Vitor Santos Costa
a6a769c0de MAC ^&& 2016-06-28 23:10:35 +01:00
Vitor Santos Costa
7ca285eb40 YAPStreams 2016-06-28 16:40:48 +01:00
Vitor Santos Costa
ab135e8b74 bootstrap 2016-06-17 17:32:15 +01:00
Vitor Santos Costa
2b9b92dac7 hope it is useful 2016-06-17 17:21:41 +01:00
Vitor Santos Costa
b2fe557503 garbagee 2016-06-17 17:07:26 +01:00
Vitor Santos Costa
da6d41433f Support for booting when YAP is called from a generic app
- ensure pl boot works
- ensure yap is initialed before user code is called
- cleanup code to use file status
2016-06-17 16:02:36 +01:00
Vitor Santos Costa
7c1ea8f3ae add more error types 2016-05-19 13:36:29 +01:00
Vitor Santos Costa
b28deedffe TermZero for error handling 2016-05-12 11:50:53 +01:00
Vitor Santos Costa
9391a1499d WIN clash 2016-05-12 11:43:43 +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
f966a5b912 Fixes for processing write to buffer: should b more robust, but we still may have memory leaks 2016-04-22 18:19:58 +01:00
vscosta
76f4868ff6 fix init to always be able to try booting from Prolog 2016-04-17 17:05:03 -07:00
Vitor Santos Costa
786cfb71ad python 2016-04-12 16:22:53 +01:00
Vitor Santos Costa
65f1cb9741 win64 support: encodings 2016-04-10 06:21:17 -07:00
vscosta
a5951daea9 indenting plus deoid 2016-04-05 02:28:56 +01:00
vscosta
562ac0251d indenting 2016-04-05 02:27:33 +01:00
Vítor Santos Costa
f3e8b8b3da indenting; warning; exceptions; small fixes 2016-03-29 02:02:43 +01: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
f7d23f9deb Simplify Input/Output
get rid of string I/O, did not add much
getc is never actually used by Prolog
try to use system I/O, even if it may be slower, at least for now.
extend IO C-interface to allow reading clauses
2016-02-21 19:06:25 +00:00
Vítor Santos Costa
c381dbe318 ISO error handling (Paulo Moura's suite). 2016-02-18 19:46:03 +00:00
Vítor Santos Costa
9860b6244f small changes 2016-02-13 03:11:25 +00:00
V'itor Santos Costa
485d20d908 related changes 2016-02-11 06:20:16 -08:00
Vítor Santos Costa
825bfd11c2 X_API & docs 2016-01-31 10:35:53 +00:00
Vítor Santos Costa
9c78086a6a X_API WIN32 stuff 2016-01-31 10:29:36 +00:00
Vítor Santos Costa
697f57ecef memory streams
- work with blobs
- recover memory on close
- do not call Unix code on win32
2016-01-31 10:02:11 +00:00
Vítor Santos Costa
ca2cd734a2 fix inconsistent errors 2016-01-20 22:39:32 +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
9f3e3baf2b gap and C++ :( 2015-11-09 11:30:04 +00:00
Vítor Santos Costa
03c79a89ef support for absolut_file_name 2015-11-09 11:29:40 +00:00
Vítor Santos Costa
f8b5ca8291 init and friends : cleanup 2015-11-05 19:33:38 +00:00
Vítor Santos Costa
c1ca214932 Actually use GMP 2015-11-05 19:26:22 +00:00
Vítor Santos Costa
5f76e105b1 Debug IO stuff 2015-11-05 19:25:54 +00:00
Vitor Santos Costa
20c87f1ab6 gcc warnings 2015-10-20 08:06:46 +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
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
34fe3e6ded Error Handler 2015-09-29 23:43:02 +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