Commit Graph

1898 Commits

Author SHA1 Message Date
Vitor Santos Costa
fdfefbbd46 curried, what else? 2016-08-05 16:36:48 -05:00
Vitor Santos Costa
0029fdd0b4 warnings 2016-08-04 10:25:07 -05:00
Vitor Santos Costa
0dd5da91ca fix use of pathconf 2016-08-02 18:25:39 -05:00
Vitor Santos Costa
79a154cbf4 fix current_predicate/1 and arg/3 2016-08-02 11:34:58 -05:00
Vitor Santos Costa
d7b5be0ccd android 2016-07-31 10:43:31 -05:00
Vitor Santos Costa
5b8dd3eb03 system module 2016-07-31 10:42:56 -05:00
Vitor Santos Costa
cbe205344d messages 2016-07-31 10:42:34 -05:00
Vitor Santos Costa
0248e3ec2f event handling 2016-07-31 10:42:15 -05:00
Vitor Santos Costa
bb4820a086 this is hard 2016-07-31 10:41:54 -05:00
Vitor Santos Costa
2fef5ffcea multifile 2016-07-31 10:41:20 -05:00
Vitor Santos Costa
f7a2c479e7 throw handling 2016-07-31 10:40:47 -05:00
Vitor Santos Costa
275e2c0059 try to use nicer swi interface 2016-07-31 10:40:29 -05:00
Vitor Santos Costa
9686275b34 reorg 2016-07-31 10:39:55 -05:00
Vitor Santos Costa
1aa3c26af6 hidden stuff 2016-07-31 10:39:30 -05:00
Vitor Santos Costa
7cda920dbc move undef_handler 2016-07-31 10:39:12 -05:00
Vitor Santos Costa
915316b712 move some stuff early 2016-07-31 10:38:36 -05:00
Vitor Santos Costa
a2ab31757f undef 2016-07-31 10:38:03 -05:00
Vitor Santos Costa
e138472f87 dupl code 2016-07-31 10:37:27 -05:00
Vitor Santos Costa
83326f1657 from absf 2016-07-31 10:36:57 -05:00
Vitor Santos Costa
1c698f596c fix 2016-07-31 10:36:45 -05:00
Vitor Santos Costa
71afcd0350 docs 2016-07-31 10:36:17 -05:00
Vitor Santos Costa
f6a90c0cac skip early_print 2016-07-31 10:35:54 -05:00
Vitor Santos Costa
12664254e9 keep on trying to get this right 2016-07-31 10:35:18 -05:00
Vitor Santos Costa
a21547d9d4 more files to consult 2016-07-31 10:34:54 -05:00
Vitor Santos Costa
9ac1b3f2c6 discontiguous 2016-07-31 10:34:24 -05:00
Vitor Santos Costa
9db06bcfe1 -B and fixes 2016-07-31 10:34:00 -05:00
Vitor Santos Costa
5db8e25735 must be early for boot 2016-07-31 10:33:20 -05:00
Vitor Santos Costa
77335f2ea0 split docs and user pred 2016-07-31 10:32:50 -05:00
Vitor Santos Costa
52801b660f checker fixes 2016-06-03 16:54:17 +01:00
Vitor Santos Costa
32743f3731 undef handler 2016-06-03 16:53:43 +01:00
Vitor Santos Costa
437a303681 modules and extra cut. 2016-05-19 13:38:54 +01:00
Vitor Santos Costa
ef676f68b0 bad argument 2016-05-19 08:47:40 +01:00
Vitor Santos Costa
9fcbfca1fa Merge branch 'master' of github.com:vscosta/yap-6.3 2016-05-16 11:21:58 +01:00
Vitor Santos Costa
87e13a9730 continue tracing after spy point 2016-05-16 09:22:29 +01:00
Vitor Santos Costa
a72e66d2ae protect against files that consult themselves 2016-05-16 09:22:03 +01:00
Vitor Santos Costa
214b6a74ff debugging 2016-05-15 08:12:49 +01:00
Vitor Santos Costa
8e3789d92a debugging 2016-05-15 08:12:19 +01:00
Vitor Santos Costa
52442e08ec fix vanishing prompt 2016-05-14 11:29:50 +01:00
Vitor Santos Costa
03da182460 protect against unbound 2016-05-13 11:41:55 +01:00
Vitor Santos Costa
d46bef3adb verbose_load 2016-05-12 11:45:06 +01:00
Vitor Santos Costa
c5323b2920 undef should not fail immediately: it needs to test for exports first 2016-05-12 11:42:22 +01:00
Vitor Santos Costa
516f89b76d verbosity cleanup -- not finished yet 2016-05-10 15:44:28 +01:00
Vitor Santos Costa
e98c4c9f2a start cleaning up message code 2016-05-10 15:23:22 +01:00
Vitor Santos Costa
efe827db6c allow static_claus on static clauses wo source 2016-05-10 15:22:25 +01:00
Vitor Santos Costa
f94bec3cfc fix debugging sgs and repeated code. 2016-05-10 09:39:17 +01:00
Vitor Santos Costa
91e5f03121 Aleph uses system_predicate/2 2016-05-10 09:25:52 +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
1e8c0b6583 debugging 2016-04-28 22:01:42 +01:00
Vitor Santos Costa
c8f1e8a74a user:term_expansion 2016-04-28 21:59:06 +01:00
Vitor Santos Costa
61ba15fa3a indenting 2016-04-28 14:58:56 +01:00
Vitor Santos Costa
f23b8b5418 code source should never had the head in the module 2016-04-28 14:56:57 +01:00
Vitor Santos Costa
6880fc20a6 win32 2016-04-18 13:37:31 +01:00
Vitor Santos Costa
05a76a2b3f Debugging meta-predicates 2016-04-14 18:06:52 +01:00
Vitor Santos Costa
1aa20e24b7 misc_bugs_when_compiling_problog 2016-04-14 12:00:09 +01:00
Vitor Santos Costa
786cfb71ad python 2016-04-12 16:22:53 +01:00
Vitor Santos Costa
5dbe54dadc android 2016-04-05 08:03:19 +01:00
vscosta
4d3d9c408d adds 2016-04-05 02:52:50 +01:00
Vítor Santos Costa
6b141078b4 fix typo 2016-03-30 01:26:02 +01:00
Vítor Santos Costa
1c2383b5b9 fix warnings 2016-03-30 01:25:43 +01:00
Vítor Santos Costa
f3e8b8b3da indenting; warning; exceptions; small fixes 2016-03-29 02:02:43 +01:00
Vítor Santos Costa
6bc4acec15 new exception 2016-03-29 02:00:07 +01:00
Vítor Santos Costa
9dacc20d34 fix 2016-03-29 01:59:01 +01:00
Vítor Santos Costa
f6379bcd48 indenting 2016-03-17 00:01:09 +00:00
Vítor Santos Costa
17ef6ddf34 singletons 2016-03-06 01:09:43 +00: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
23d18ac0fd Fix regression on handling system preds.
Algorithm
  - fix system modules
  - fix system predicates
  - hide atoms with $
2016-03-05 18:48:22 +00:00
Vítor Santos Costa
da51cfe6b9 use system.2 2016-03-05 12:41:47 +00:00
Vítor Santos Costa
0f4448fdbe no need 2016-03-05 12:40:59 +00:00
Vítor Santos Costa
812a88e277 keep on simplifying modules 2016-03-05 12:37:58 +00:00
Vítor Santos Costa
fdcc75d4ae keep on simplifying modules 2016-03-05 12:36:54 +00:00
Vítor Santos Costa
b50cf8d7b4 modules vs ops 2016-03-03 23:24:09 +00:00
Vítor Santos Costa
8c7756f8fb He who messes with error messages... 2016-03-03 23:23:32 +00:00
Vítor Santos Costa
e81acc117b ugh 2016-02-29 03:28:50 +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
25ee4dd7e8 fix nissing file by Eric Dechter 2016-02-26 18:10:47 +00:00
Vítor Santos Costa
733a03beef bootlist 2016-02-26 17:49:50 +00:00
Vítor Santos Costa
62e0f0bece ensure it goes to Prolog, no hidden module stuff. 2016-02-26 17:43:29 +00:00
Vítor Santos Costa
6ceb0bf9f3 understand more formats 2016-02-26 17:42:37 +00:00
Vítor Santos Costa
0e7cc378af shuffle list ops around 2016-02-26 17:29:54 +00:00
Vítor Santos Costa
46140f434d not being used 2016-02-26 17:29:09 +00:00
Vítor Santos Costa
d2dceb91d3 fix syntax errors 2016-02-26 17:28:22 +00:00
Vítor Santos Costa
34b731a4ae operator support 2016-02-26 17:22:41 +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
98bd9d7400 undefined predicate handling fixes
obey the flag
2016-02-22 12:55:05 +00:00
Vítor Santos Costa
bd72ec8f50 typo 2016-02-21 19:09:25 +00:00
Vítor Santos Costa
f017f38dee move error handling to early on so as to get feedback on errors since bootstrap. 2016-02-21 19:09:10 +00:00
Vítor Santos Costa
2cacf6f63a fix source regression 2016-02-21 11:31:27 +00:00
Vítor Santos Costa
8f9fa802a9 debugging and mode operator. 2016-02-21 11:31:06 +00:00
Vítor Santos Costa
504734c879 typo 2016-02-20 23:58:37 +00:00
Vítor Santos Costa
b7ee47ce46 facilitate peek processing when using system locale. 2016-02-20 21:50:06 +00:00
vscosta
33ebe61371 Merge pull request #14 from logicmoo/pre_dicate_flags
- pre_dicate_flags + predicate_flags'
2016-02-20 01:47:20 +00:00
DouglasRMiles
84b617314a - pre_dicate_flags + predicate_flags' 2016-02-19 13:41:17 -08:00
Vítor Santos Costa
b27c1964bf clean-up 2016-02-19 19:34:59 +00:00
Vítor Santos Costa
7b2ff0f16d fix regression in absf error messages. 2016-02-19 11:44:04 +00:00
Vítor Santos Costa
24bf4088d7 fix glob and multiple solutions support; hopefully the code is still readable. 2016-02-19 11:37:11 +00:00
Vítor Santos Costa
ad91eb0ec9 fix regression: checking for EOT should first peek, and if happy consume the blank after the dot. 2016-02-18 22:10:40 +00:00
Vítor Santos Costa
484168b1ce Fix encoding 2016-02-18 12:10:58 +00:00
Vítor Santos Costa
05a978ce82 be more struct; better support fir encodings. 2016-02-14 04:18:15 +00:00
Vítor Santos Costa
afa085de28 protect should be called before user goals. 2016-02-13 20:16:25 +00:00
Vítor Santos Costa
1deb238d10 skip OS preds 2016-02-13 03:07:48 +00:00
Vítor Santos Costa
78327cf885 rewrite 2016-02-13 03:07:04 +00:00
V'itor Santos Costa
ee0335124f absolute_filename ^#%@% 2016-02-11 06:17:30 -08:00
Vitor Santos Costa
c8305988ca Merge branch 'master' of github.com:vscosta/yap-6.3 2016-02-03 10:17:01 +00:00
Vitor Santos Costa
143684731e foreign files 2016-02-03 09:22:23 +00:00
V'itor Santos Costa
77d3101bd8 Merge branch 'master' of /mnt/hgfs/vsc/git/yap-6.3 2016-01-31 18:49:08 -08:00
V'itor Santos Costa
d83c62051b file fixes 2016-01-31 18:48:07 -08:00
Vítor Santos Costa
a7874dee62 fix abolish 2016-02-01 02:46:39 +00:00
Vítor Santos Costa
7aba41e7c2 cleanup 2016-01-31 19:41:10 +00:00
Vítor Santos Costa
73f6c456ae current_red 2016-01-31 10:48:53 +00:00
Vítor Santos Costa
60216989f3 activate deadline 2016-01-31 10:47:17 +00:00
Vítor Santos Costa
a143f07ca0 vars 2016-01-31 10:47:00 +00:00
Vítor Santos Costa
cdad87a6fc delete/3 2016-01-31 10:46:35 +00:00
Vítor Santos Costa
c428e2256d avoid creeping 2016-01-31 10:46:14 +00:00
Vítor Santos Costa
c40899d8ec badvar 2016-01-31 10:45:42 +00:00
Vítor Santos Costa
1f7608a735 cl 2016-01-31 10:45:00 +00:00
Vítor Santos Costa
bd337494f1 protect goal expansion 2016-01-31 10:44:20 +00:00
Vítor Santos Costa
32f6c44dea relative paths. 2016-01-31 10:43:42 +00:00
Vítor Santos Costa
5c1c9a8570 current_pred 2016-01-31 10:21:10 +00:00
Vítor Santos Costa
828c2c9f6e docs 2016-01-20 22:36:16 +00:00
Vítor Santos Costa
f6a6c9deb6 last 2016-01-08 20:43:14 +00:00
Vítor Santos Costa
1a23e47316 current_predicate 2016-01-08 03:18:36 +00:00
Vítor Santos Costa
2aea33032b modules 2016-01-06 12:45:08 +00:00
Vítor Santos Costa
cfbbf6e97e avoid depending on library/... 2016-01-05 03:32:51 +00:00
Vítor Santos Costa
5fd4add82b Hide and Seek 2016-01-04 17:18:43 +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
83a3c52a75 move length to lists 2015-12-15 09:05:24 +00:00
Vítor Santos Costa
a3a6386353 max op 2015-12-15 09:04:47 +00:00
Vítor Santos Costa
3eda5cf68a reorg of predicate handling
use strip_module for clearer code.
- separate dynamic predicates
- separate declarations
2015-12-15 09:04:08 +00:00
Vítor Santos Costa
d2ad352f78 The big module cleanup
meta.yap contains meta-expansion
new mod.yap contains module declarations
module.yap keeps the rest.
undefcode refers to meta expansion

lots of annoying little errors.
2015-12-15 09:01:44 +00:00
Vítor Santos Costa
95f770f747 glob fixes (how to handle non-existing files) 2015-12-15 08:54:47 +00:00
Vítor Santos Costa
9f55c13c34 move docs to absf.md 2015-12-15 08:54:21 +00:00
Vítor Santos Costa
c6f1c328f8 use swi must_be declarations in YAP 2015-12-15 08:25:16 +00:00
Vítor Santos Costa
c04a63d61b move big doc chunks to md files
also moe icons to docs/
2015-12-15 08:24:11 +00:00
Vítor Santos Costa
ce8a19d381 Add documentation 2015-11-18 15:06:25 +00:00
Vítor Santos Costa
bc54d4458a improve tracing over multi-arguments meatballs. 2015-11-13 13:20:29 +00:00
Vítor Santos Costa
67c8253135 fix creeping with debugger after failing a static clause 2015-11-12 14:56:31 +00:00
Vítor Santos Costa
832599d220 system_predicate/1 was broken 2015-11-12 14:54:01 +00:00
Vítor Santos Costa
e4f5264ded oops... 2015-11-12 14:53:31 +00:00
Vítor Santos Costa
2b5f5c3d0a another useless message 2015-11-11 16:49:44 +00:00
Vítor Santos Costa
2466db7ff5 skip/2 was using user_input 2015-11-11 08:45:03 +00:00
Vitor Santos Costa
af67ebf5da forget the past for now 2015-11-09 18:21:19 +00:00
Vítor Santos Costa
2d330f3bee user defined directives are multiple. 2015-11-09 11:29:09 +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
50c04116c8 moved from H 2015-11-06 18:22:31 +00:00
Vítor Santos Costa
d66db4cf70 make fixes
- options to use WITH
- FIX RPATH ON MAC
- newer Find
- bdd exports to cplint
2015-11-05 23:51:35 +00:00
Vítor Santos Costa
4dfcdd4e87 current_predicate & abolish (Paulo Moura's tests) 2015-11-05 17:26:50 +00:00
Vítor Santos Costa
e162ec9ef9 don't debug !(_) 2015-11-05 17:26:04 +00:00
Vítor Santos Costa
9ed0389186 file press used by Prolog 2015-11-05 17:25:09 +00:00
Vítor Santos Costa
f9b19af0ea typo 2015-11-05 17:24:43 +00:00
Vítor Santos Costa
148a5f3acd avoid hiding without reason 2015-11-05 17:24:22 +00:00
Vítor Santos Costa
35bebd3a56 lots of annoying small bugs 2015-11-05 17:23:26 +00:00
Vítor Santos Costa
b7f16997df non-traceable stuff. 2015-11-05 17:22:49 +00:00
Vítor Santos Costa
e2cac6279c rebound 2015-11-05 17:22:17 +00:00
Vítor Santos Costa
f8fc35a548 bug in module expansion 2015-11-05 17:21:48 +00:00
Vítor Santos Costa
9ffe2ddddc init handling 2015-11-05 17:21:19 +00:00
Vítor Santos Costa
ed4b76ddc6 ?? 2015-11-05 17:20:25 +00:00
Vítor Santos Costa
27bfbdc1be improve prompt 2015-11-05 17:19:25 +00:00
Vítor Santos Costa
14250cfff6 rebound 2015-11-05 17:18:29 +00:00
Vítor Santos Costa
5278affb0e Edinburgh IO, still useful. 2015-11-05 17:14:31 +00:00
Vítor Santos Costa
759ce13bbf fix $VAR handling. 2015-10-22 12:01:54 +01:00
Vítor Santos Costa
ad603a53ed add identical_member/2 2015-10-22 12:01:20 +01:00
Vítor Santos Costa
f8836ec1b2 move char types to os 2015-10-22 12:00:27 +01:00
Vítor Santos Costa
db8d44efdc recover deleted stuff 2015-10-22 11:58:59 +01:00
Vítor Santos Costa
a9fa343bad don't expand meta-vars and don't expand expanded variables... 2015-10-22 11:58:29 +01:00
Vítor Santos Costa
3f2dbba042 avoid state in db 2015-10-22 00:40:13 +01:00
Vítor Santos Costa
f1be0f94d0 restore prefix 2015-10-22 00:39:39 +01:00
Vítor Santos Costa
098be4aba0 remove chtypes 2015-10-22 00:39:10 +01:00
Vitor Santos Costa
b95efeff90 char type support 2015-10-20 08:03:16 +01:00
Vítor Santos Costa
468913e38c fix arithmetic exceptions 2015-10-18 12:28:02 +01:00
Vítor Santos Costa
98127b7102 error handling 2015-10-18 11:50:49 +01:00
Vítor Santos Costa
c4aae66f3e submods work 2015-10-13 09:10:53 +01:00
Vítor Santos Costa
ec1e35192f user handling of messages 2015-10-13 02:19:21 +01:00
Vítor Santos Costa
30be57ed71 remove session 2015-10-13 02:14:45 +01:00
Vítor Santos Costa
5bf02425d2 shuffle 2015-10-05 10:41:14 +01:00
Vítor Santos Costa
6ec543c5f6 optimiser should never crash 2015-10-05 10:40:58 +01:00
Vítor Santos Costa
91c366d0d1 keep on cleaning 2015-10-05 10:40:30 +01:00
Vítor Santos Costa
0985a10078 remove debugging messsage 2015-10-05 10:40:02 +01:00
Vítor Santos Costa
59f6e89def make new framework more flexible. 2015-10-05 10:38:54 +01:00
Vítor Santos Costa
5ed065f92d separated from debug.yap 2015-10-05 10:38:20 +01:00
Vítor Santos Costa
a95b3e4fcd mostly indenting 2015-10-05 10:28:49 +01:00
Vítor Santos Costa
e8bf2d4349 improve error handling 2015-09-29 23:49:03 +01:00
Vítor Santos Costa
c61e721e73 cut the big file 2015-09-29 23:47:52 +01:00
Vítor Santos Costa
cd7d654cca first cut at detecting error source 2015-09-29 23:09:12 +01:00
Vítor Santos Costa
fa586f8769 error handling woes 2015-09-25 14:31:58 +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
880a9989c3 small changes 2015-08-18 15:08:52 -05:00
Vítor Santos Costa
f41a8c19ef better search for predicate location 2015-08-18 15:06:36 -05:00
Vítor Santos Costa
08733b815c move most everything to messages.yap 2015-08-18 15:05:43 -05:00
Vítor Santos Costa
c97cd1fcae Rewrite message handling to be structured and less of a mess 2015-08-18 14:53:05 -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
78ed4c9e5e debugging stuff 2015-07-22 19:31:03 -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
0889596e8b flags etc 2015-06-19 01:12:05 +01:00
Vítor Santos Costa
b93f10fe07 flags, etc 2015-06-19 01:11:30 +01:00