Commit Graph

483 Commits

Author SHA1 Message Date
Vitor Santos Costa
8ac3d980c2 system_preds 2017-06-16 11:53:21 +01:00
Vitor Santos Costa
97aad19cd0 python vs modules 2017-06-15 22:40:55 +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
3802a588f9 Mostly about Jupyter support. 2017-05-14 11:36:09 +01:00
Vitor Santos Costa
c2435673cd swig python support 2017-05-08 18:51:29 +01:00
Vitor Santos Costa
3cb343479e small compiler change 2017-05-02 03:34:56 +01:00
Vitor Santos Costa
70232133cc docs 2017-04-13 21:42:34 +01:00
Vitor Santos Costa
fddb79895d fix prompting 2017-03-03 11:21:29 +00: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
1e379e7635 Merge branch 'master' of https://github.com/vscosta/yap-6.3
Conflicts:
	C/c_interface.c
	C/exec.c
2016-12-19 18:28:43 -06:00
Vitor Santos Costa
c9309dce75 embedded YAP should ignore int by default. 2016-12-16 02:51:17 -06:00
Vitor Santos Costa
6a4dbd91ec merge text to term routines 2016-12-04 12:52:42 -06: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
47b5de9bfc oops 2016-12-03 10:34:09 -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
02e0e50915 Merge ssh://192.168.66.221/~vitor/Yap/yap-6.3 2016-11-02 00:16:36 -05:00
Vitor Santos Costa
8f72db3b56 fixes 2016-10-19 22:38:17 -05:00
Vitor Santos Costa
43d3579c57 python 2016-09-30 17:11:13 -05:00
Vitor Santos Costa
7d66aa5d01 improv meta-calls 2016-09-20 22:48:28 -05:00
Vitor Santos Costa
eb54e3e052 simplify text code by just using UF8 and allocating in trail 2016-08-15 14:54:46 -05:00
Vitor Santos Costa
8f3321d36b get rid of trading, init var 2016-08-07 09:45:17 -05:00
Vitor Santos Costa
1740175e5c mega-call, init stuff 2016-07-30 23:10:39 -05: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
Vitor Santos Costa
49699f52e9 headers & booting 2016-04-18 16:40:17 +01:00
vscosta
c1b8d140db av 2016-04-17 17:09:10 -07:00
Vitor Santos Costa
c0c002134b Python support 2016-04-12 16:05:20 +01:00
Vitor Santos Costa
65f1cb9741 win64 support: encodings 2016-04-10 06:21:17 -07:00
vscosta
429c8155c9 check for non-heap memory 2016-04-08 01:11:33 -07:00
vscosta
40765a6afb booting from prolog plus indenting 2016-04-05 02:20: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
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
712d79c7bb keep on fixing absolute_name 2016-02-22 12:59:49 +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
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
52a2d00d0c init stuff. 2016-02-13 02:53:46 +00:00
V'itor Santos Costa
74b2b5561d - add debugging code to memory allocation
= atom to number: cleanup function name as this is more than just supporting SWI
- SrcMask only applies to rules.
- add auxiliary type/error function
- fix typos
- fix enumeration mode in current_flag
- get rid of TrueName routines, use AbsoluteFileName instead.
- detail synatx error source
2016-02-11 06:03:33 -08:00
Vítor Santos Costa
ddabfe45b8 WIN32
cleanups
get rid of old log
2016-01-31 10:13:14 +00:00
Vítor Santos Costa
4e2649c743 thread support 2016-01-03 01:25:31 +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
edb6189512 allow the option to have priorities above 1200 2015-12-15 08:38:56 +00:00
Vitor Santos Costa
cddb8191c8 config changes 2015-11-09 18:22:43 +00:00
Vítor Santos Costa
f8eb163a1d string to but and improve utf8 2015-11-05 16:59:30 +00:00
Vítor Santos Costa
a26dbe0dfc init spelling and remove debugging 2015-11-05 16:38:18 +00:00
Vítor Santos Costa
8cd22a0c18 strlcat 2015-10-22 00:45:47 +01:00
Vítor Santos Costa
d5c21324a4 small typos 2015-10-09 10:27:48 +01:00
Vítor Santos Costa
e8ed525e3b we usually are not sure how best to pass encoding: pass by ref 2015-10-08 02:12:06 +01:00
Vítor Santos Costa
4ed6e4fae9 indent 2015-10-05 10:27:25 +01:00
Vítor Santos Costa
04a2c10ebe support loop_stream while at initial boot (doesn't really do work so far) 2015-09-29 23:06:49 +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
8dec7f6478 initialize YAAM regs earl on. 2015-07-22 19:01:15 -05:00
Vítor Santos Costa
a97754623f more bootstrap stuff 2015-07-06 11:56:16 +01:00
Vítor Santos Costa
f5b50a4179 fix locks 2015-06-19 10:10:02 +01:00
Vítor Santos Costa
e2fc835cfd less usage of slots 2015-06-19 00:45:54 +01:00
Vítor Santos Costa
3e14ec4cb6 yap flag no more 2015-06-19 00:44:49 +01:00
Vítor Santos Costa
2f96a24a1f SWI not default 2015-06-19 00:42:40 +01:00
Vítor Santos Costa
315a882e8f remove swi deps 2015-06-18 08:09:31 +01:00
Vitor Santos Costa
800289f7bb weird module stuff 2015-04-15 11:45:49 +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
d1a230eb56 Cosmetic changes 2015-04-13 13:15:30 +01:00
Vitor Santos Costa
63416fdc48 cut_c simplifications 2015-02-14 11:35:45 +00:00
Vítor Santos Costa
ab41d5411e RebootSlots when we start a new execution. 2015-02-10 09:19:05 +00:00
Vitor Santos Costa
5a7602dfff fix slot at init 2015-02-09 10:20:19 +00:00
Vítor Santos Costa
5a668febd9 new slot implementation 2015-02-03 02:36:51 +00:00
Vitor Santos Costa
36e4cbf98b move handles to a separate handle stack. 2015-01-30 07:25:34 +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
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
9dcfb6a745 doc and use bool 2015-01-17 02:48:48 -08:00
Vitor Santos Costa
32ce8318a1 type stuff 2015-01-15 23:08:01 -08:00
Vitor Santos Costa
ff977fbad8 cmake support: first cut from David Vaz work.i 2014-12-04 07:59:30 +00:00
Vitor Santos Costa
addb8cbce3 ORP support 2014-11-14 16:51:42 +00:00
Vítor Santos Costa
5cfe70420f fix reset in qload 2014-09-22 18:10:51 +01:00
Vítor Santos Costa
3009987985 update docs 2014-09-11 14:06:57 -05:00
Vítor Santos Costa
3c0a65218b use stdbool 2014-09-09 23:50:43 -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
4d7b270ce4 fix bad handling of choice-points in backtrackable predicates (SWI code
does not clean frames on exit )
2014-07-15 18:40:15 -05:00
Vítor Santos Costa
5b19ccf6a8 swig fixes for Android compatibility 2014-06-22 17:35:05 +01:00
Vítor Santos Costa
8da6fb70e1 handle_t type name causes conflict with WIN32, replace by yhandle_t 2014-06-16 14:41:54 +01:00
Vítor Santos Costa
daae1df152 g++ coplaints (llvm) 2014-06-12 01:25:50 +01:00
Vítor Santos Costa
6de73e6469 introudce handle_t and arity_t
Android: /assets and debugging
2014-06-11 19:35:45 +01:00
Vítor Santos Costa
71b40e0438 changes to support eclipse compat
support of Android assets as /assets files.
2014-06-04 22:08:37 +01:00
Vítor Santos Costa
a76b6d23dc Fix: eclipse >u. into >y_u. 2014-05-30 01:06:09 +01:00
Vítor Santos Costa
fa75599e7f docs 2014-05-28 00:12:36 +01:00
Vítor Santos Costa
0ebea4ec26 synch interface with implementation. 2014-05-25 20:48:06 +01:00
Vitor Santos Costa
e0d0543e52 fix removeSlots and more documnetation. 2014-05-14 17:59:08 +01:00
Vitor Santos Costa
d58dcdc3e6 portability. 2014-04-29 18:17:23 +01:00
Vitor Santos Costa
aba5f3d88b handle locking more carefully (especially protect gc and stack shifting). 2014-04-23 22:41:12 +01:00
Vitor Santos Costa
d0adb0b910 fix slot handling 2014-03-11 15:33:38 +00:00
Vitor Santos Costa
2c89aadb11 WIN64 support (sill needs improvement) 2014-03-06 02:09:48 +00:00
David Vaz
3cad9c37b1 removed unnecessary cut_c macros (always on) 2014-02-11 07:15:39 -08:00
Vitor Santos Costa
f26cb133b9 fix left-over slots 2014-02-09 10:44:43 +00:00
Vitor Santos Costa
d648375412 make MYDDAS into its own module. 2014-01-24 19:59:42 +00:00