Commit Graph

329 Commits

Author SHA1 Message Date
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
Vítor Santos Costa
dbdae6a930 syntax error handling 2015-07-27 22:22:44 -05:00
Vítor Santos Costa
1d6f9981e1 mkdir and small stuff 2015-07-06 12:04:42 +01:00
Vítor Santos Costa
1c06bfdc05 cmake & text support 2015-06-19 01:30:13 +01:00
Vítor Santos Costa
497cc27003 git versioning 2015-06-19 01:14:28 +01:00
Vítor Santos Costa
47c3f64eae Inp/Out changes, blobs 2015-06-18 00:52:31 +01:00
Vítor Santos Costa
e535e16ae3 C-Interface should call new flags 2015-06-18 00:29:31 +01:00
Vítor Santos Costa
0ed3ee4fc4 enable path expansion by default 2015-04-24 10:03:44 -06:00
Vítor Santos Costa
ef586e264e android debugging plus clean-ups 2015-04-13 13:28:17 +01:00
Vitor Santos Costa
0d955797fe don't export config.h 2015-02-14 17:11:56 +00:00
Vitor Santos Costa
f983c99313 c_interface still kicks 2015-02-09 10:21:53 +00:00