Commit Graph

470 Commits

Author SHA1 Message Date
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
ce8a19d381 Add documentation 2015-11-18 15:06:25 +00:00
Vitor Santos Costa
af67ebf5da forget the past for now 2015-11-09 18:21:19 +00:00
Vítor Santos Costa
27bfbdc1be improve prompt 2015-11-05 17:19:25 +00:00
Vítor Santos Costa
759ce13bbf fix $VAR handling. 2015-10-22 12:01:54 +01:00
Vítor Santos Costa
e8bf2d4349 improve error handling 2015-09-29 23:49:03 +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
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
b93f10fe07 flags, etc 2015-06-19 01:11:30 +01:00
Vítor Santos Costa
c3487d0fc0 tracking + flags 2015-06-19 01:09:54 +01:00
Vitor Santos Costa
ce84e60d08 cosmetic 2015-01-18 01:32:13 +00:00
Vitor Santos Costa
45e3711ca2 remove system mod 2015-01-16 20:42:52 -08:00
Vitor Santos Costa
8c605a65fe ic_arith is not an actual module.w 2015-01-15 01:22:23 -08:00
Vítor Santos Costa
3164ed2d61 doc support 2015-01-04 23:58:23 +00:00
Vítor Santos Costa
15c79d8ecf indentation 2014-12-14 11:45:42 +00:00
Vitor Santos Costa
ff977fbad8 cmake support: first cut from David Vaz work.i 2014-12-04 07:59:30 +00:00
vscosta
04b87d2414 does not need duplcated functionality 2014-11-10 01:54:50 +00:00
Vítor Santos Costa
c440ab239b doc changes 2014-11-02 12:10:32 +00:00
Vítor Santos Costa
d40b9d1426 restore callable. 2014-10-20 09:20:56 +01:00
Vítor Santos Costa
6a32efe51a fix \+((!,fail)). 2014-10-19 13:09:35 +01:00
Vítor Santos Costa
0cd0ece207 make error handling for callable more ISO like. 2014-10-19 12:48:14 +01:00
Vítor Santos Costa
186adc2053 More thread fixes, including true anonymous mqueues, worker_id for sequential,
support for arithmetic exceptions on mac, fixes for with_mutex, fixes for dangling pointers
 in thread termination. Uuufff...
2014-10-14 15:53:24 +01:00
Vítor Santos Costa
c95045e14c improve support for floating point exceptions. 2014-10-14 01:13:31 +01:00
Vitor Santos Costa
f6bcb22b7c fix undefined procedures to allow hooks as before. 2014-10-10 10:00:27 +01:00
Vítor Santos Costa
cff80914e4 handle modules in exporteed procedures. 2014-10-07 09:59:59 +01:00
Vítor Santos Costa
9f00389e52 keep three modules, just for imported stuff. 2014-10-05 23:53:05 +01:00
Vítor Santos Costa
48b1cf5d45 store away all directives we find. 2014-10-02 14:34:03 +01:00
Vítor Santos Costa
3009987985 update docs 2014-09-11 14:06:57 -05:00
Vítor Santos Costa
823175f50a fix small bugs from changing style_check 2014-08-04 09:45:30 -05:00
Vítor Santos Costa
325c819f79 intermediate steo in improving doc system to doxygeb 2014-07-26 19:14: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
f1951777b7 fix checker to use read for singleton variables, instead of always computing
them.
2014-04-23 21:39:32 +01:00
Vítor Santos Costa
a8c77d2609 fix string_concat/2 2014-04-09 12:39:29 +01:00
Vitor Santos Costa
cc84cd8cb5 check for mistypes 2014-04-06 17:05:17 +01:00
Vítor Santos Costa
a6cb6f6a25 paths are hard 2014-03-16 18:59:54 +00:00
Vitor Santos Costa
2c82906714 fix paths 2014-03-11 15:34:26 +00:00
Vitor Santos Costa
2c89aadb11 WIN64 support (sill needs improvement) 2014-03-06 02:09:48 +00:00
U-vsc-PC\vsc
f8f2376394 use iuse executable to handle cases hwere we may have different versions of YAP around. 2014-03-04 11:58:48 +00:00
Vítor Santos Costa
3da5cc5977 check libpthread in win32 2014-02-22 22:48:29 +00:00
Vítor Santos Costa
7b69d48afb fix undefined CP and user:rl_add_history is a built-in. 2014-02-16 12:52:18 +00:00
Vítor Santos Costa
625c66015d avoid factorized trouble 2014-02-14 22:44:55 +00:00
Vitor Santos Costa
ca0c43ba8d module expansion, again 2014-02-09 10:47:44 +00:00
Vitor Santos Costa
d85dc3fd5c factorized answer 2014-02-06 21:56:43 +00:00
Vitor Santos Costa
26c80b0624 use singletons option of read_term to implement singleton test 2014-01-06 22:17:42 +00:00
Vitor Santos Costa
2410cd3862 fixes to new signal handling/debugging code 2013-12-13 08:42:57 +00:00
Vitor Santos Costa
44d28aa0c9 cleanup on exception handling 2013-12-12 14:24:40 +00:00
Vítor Santos Costa
fba3c34e50 trace fixes 2013-12-11 09:34:43 +00:00
Vítor Santos Costa
ba2c0ca2a0 support no trace predicates 2013-12-11 01:05:51 +00:00
Vítor Santos Costa
e768a7e7be small improvements to debugger, prolog mode and meta-call (*->) 2013-12-10 22:58:02 +00:00
Vítor Santos Costa
61d624e416 fix comment handling 2013-12-08 22:56:48 +00:00
Vítor Santos Costa
d7397b43af new text conversion and string code (big changes, take care please) 2013-12-02 14:49:41 +00:00
Vitor Santos Costa
6d773a3189 use SWI opts for read 2013-11-20 22:30:49 +00:00
Vitor Santos Costa
9eb07a8c8a more cleanups 2013-11-15 15:45:55 +00:00
Vitor Santos Costa
4fa9021a7b integration work:
- use SWI flags whenever possible
  - support by module unknown, escapes, strings
  - accesss thread info fom SWI
  - allow strings to be input as strings.
  - remove some unused flags.
2013-11-13 10:38:20 +00:00
Vítor Santos Costa
a3c9684714 perform true goal expansion from top level goals 2013-11-05 22:29:28 +00:00
Vitor Santos Costa
dd6c66392a fix typo 2013-11-04 13:05:40 +00:00
Vitor Santos Costa
f397cbe0b6 Merge branch 'master' of ssh://git.code.sf.net/p/yap/yap-6.3
Conflicts:
	pl/boot.yap
	pl/control.yap
	pl/debug.yap
2013-11-04 11:03:27 +00:00
Vítor Santos Costa
ad0ff98f1a use swi flags whenever possible 2013-11-04 01:14:48 +00:00
Vitor Santos Costa
8ea594c104 use flag for debugging 2013-10-31 13:16:27 +00:00
Vitor Santos Costa
ab5c24cb87 init state should be shared by threads 2013-10-30 14:12:54 +00:00
Vítor Santos Costa
990dfbecbf fix flags upgrade 2013-10-30 09:41:45 +00:00
Vitor Santos Costa
1cbe82da1e SWI flags compat 2013-10-29 12:43:31 +00:00
Vitor Santos Costa
1c2e17f86a fix break/1 2013-07-22 10:52:49 -05:00
Vitor Santos Costa
ddb14f97aa strengthen error handling from top-level 2013-02-26 09:32:39 -06:00
Vitor Santos Costa
19c16176d4 get rid of 2013-02-15 13:40:05 -06:00
Vítor Santos Costa
918a973019 creepy fixes 2013-02-15 10:31:49 -06:00
Vítor Santos Costa
e2acdf72cf don't leave system mode for hooks 2013-02-14 20:40:11 -06:00
Vítor Santos Costa
f431142ef4 Merge branch 'master' into debugger
Conflicts:
	pl/boot.yap
2013-02-13 09:08:58 -06:00
Vítor Santos Costa
ec7158eb99 debugger progress 2013-02-13 09:06:06 -06:00
Costa Vitor
da79af201b top-level more SWI style. 2013-02-12 12:47:30 -06:00
Vítor Santos Costa
046cb5f8d6 debugging 2013-02-08 10:36:45 -06:00
Vitor Santos Costa
d2a47ca4c0 protect exo compilation from atom gc 2013-01-22 22:21:44 +00:00
Vitor Santos Costa
20398352e3 who will you check? 2013-01-18 14:32:13 +00:00
Vitor Santos Costa
f98a2d5e01 fix unbound throw (obs from Paualo Moura). 2013-01-17 14:00:12 +00:00
Vitor Santos Costa
8c8392b5da exo support 2013-01-15 11:18:09 +00:00
Vítor Santos Costa
4d35c1f70a fix call to undefined halt/1. 2012-12-14 23:30:48 +00:00
Vitor Santos Costa
556937195d avoid meta-call in system; improve goal/pred expansion 2012-12-07 08:08:32 +00:00
Vítor Santos Costa
2cbf3439ac introduce at_halt/1.
fix bug in naming variables in suspended goals.
2012-12-02 13:18:29 +00:00
Vítor Santos Costa
f371fca6c5 check if defined 2012-11-08 00:19:48 +00:00
Vítor Santos Costa
f74164c642 correct support for goal expansion (bug report from Paulo Moura) 2012-11-07 13:49:54 +00:00
Vitor Santos Costa
48f07ad338 fix parsing of input strings. 2012-10-09 16:31:43 +01:00
Vítor Santos Costa
d5bf100b71 make full init even before entering Prolog top-level 2012-09-21 11:49:59 +01:00
Vitor Santos Costa
f85a2112c9 make sure we can use clause. 2012-08-23 21:02:15 +01:00
Costa Vitor
51b47d14da if/3 didn't work. 2012-08-07 18:32:45 -05:00
Vítor Santos Costa
f166b8bfb6 make sure library_path is initialised at boot time, so that people get no
surprises.
2012-07-06 18:49:02 -05:00
Vitor Santos Costa
71eeda081c fix *-> (thanks to ulrich). 2012-06-21 15:41:35 +01:00
Vitor Santos Costa
a997f5647c fix save & restore in 6.3. 2012-06-12 14:50:36 +01:00
Vítor Santos Costa
e55d143e8d fix extra CP. 2012-06-08 13:26:11 +01:00
Vitor Santos Costa
58c3445d82 win console. 2012-06-08 06:55:23 -05:00
Vitor Santos Costa
3669cb894f Merge branch 'master' of https://github.com/tacgomes/yap6.3
Conflicts:
	packages/CLPBN/clpbn/horus.yap
2012-06-04 16:29:56 +01:00
Vítor Santos Costa
cdd1af567e if commit is called from C-code we can't trust getval not to send exceptions. 2012-04-15 00:01:26 +01:00
Vítor Santos Costa
7d3d9bcf41 fix module stuff. 2012-03-28 14:35:09 +01:00
Vítor Santos Costa
a128d1d78d allow calling directives with VL and Line Number. 2012-02-13 09:39:29 +00:00
Vítor Santos Costa
cfc13a0d61 improve term expansion: avoid duplicated calls and handle throws gracefully. 2011-11-10 12:27:36 +00:00
Vítor Santos Costa
91791f8e3d icleanups to initialization process.w 2011-09-09 21:39:15 +01:00
Vitor Santos Costa
841dd3a3e1 fix prompt 2011-08-31 21:10:49 -07:00