Commit Graph

422 Commits

Author SHA1 Message Date
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
Vitor Santos Costa
51e635f0c9 more QLY stuff. 2011-08-31 13:59:30 -07:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
b6aca9463d Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-08-18 22:35:13 +01:00
Vitor Santos Costa
b79a885480 fix prompt stuff. 2011-07-27 16:49:43 +01:00
Vitor Santos Costa
e2179a277d make top-level more SWI like 2011-07-26 23:32:50 +01:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
840e287cda mode changes 2011-07-25 17:09:28 +01:00
ubu32
d488984753 get rid of loop alias. 2011-07-11 07:40:58 -07:00
Vitor Santos Costa
6863a43e76 fix handling of backtrackable C-code in longjmp and other long range cuts. 2011-07-09 07:56:11 -04:00
Ricardo Rocha
8116aac432 parallel execution is now explicit using one of the new built-in
predicates: parallel/1, parallel_findall/3 or parallel_once/1.
2011-06-21 15:19:07 +01:00
Vitor Santos Costa
9c8d759a43 insert SWI-compatible hook for comment processing. 2011-06-14 09:01:10 +01:00
Vitor Santos Costa
261e02b43e support for option comments(X) in read_term/1. 2011-06-12 17:23:10 +01:00
Vitor Santos Costa
0886c7d114 try to fix prompting. 2011-05-12 23:05:49 +01:00
Vitor Santos Costa
47f1499ae0 fix comments and use of peek in file scanning. 2011-05-12 22:34:44 +01:00
Vitor Santos Costa
c1f74b7682 fix usage of cd/1. 2011-05-12 22:26:10 +01:00
Vitor Santos Costa
fa5989587d fix |: prompt with readline. 2011-05-01 22:43:54 +01:00
Vítor Santos Costa
7463cbea96 protect readline against failure. 2011-04-04 14:35:42 +01:00
Vitor Santos Costa
9c3d6a187d debugging cleanups
actually use readline flag.
2011-03-26 15:45:42 +00:00
Vitor Santos Costa
c1c32ec26a fix left stuff. 2011-03-26 15:30:30 +00:00
Vitor Santos Costa
89d605d6c0 Merge branch 'master' of ssh://yap.git.sf.net/gitroot/yap/yap-6.3
Conflicts:
	packages/PLStream/pl-file.c
	packages/http
	packages/plunit
	pl/flags.yap
2011-03-26 15:27:03 +00:00
Vitor Santos Costa
48cd3bd675 use SWI flags. 2011-03-26 15:18:56 +00:00
Vítor Santos Costa
e03acef3f9 use SWI flags. 2011-03-26 15:17:17 +00:00
Vítor Santos Costa
f31e15deb8 SWI compat: use $VAR(ATOM) for names 2011-03-18 19:34:19 +00:00
Vítor Santos Costa
e05b84ce4e fix to thread support. 2011-03-11 19:49:32 +00:00
Vítor Santos Costa
c52ad77861 fix swi IO predicates. 2011-03-09 23:28:30 +00:00
Vítor Santos Costa
d0465f0d7d use SWI code directly. 2011-03-09 23:20:37 +00:00
Vitor Santos Costa
4ad0407388 fix small differences 2011-03-09 13:33:30 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
752fa4fc53 support windows compilation, upgrade to current uxnt. 2011-03-09 00:02:21 +00:00
Vítor Santos Costa
90d93fdbdd cache abstra machine register in threaded mode. 2011-03-07 16:02:55 +00:00
Vítor Santos Costa
6f1537475f fix -p option to work with SYSTEM_MALLOC 2011-03-02 09:20:18 +00:00
ubu32
851b07c240 fix small bugs 2011-02-28 15:45:14 -08:00
ubu32
53e8811077 fixes to use SWI version of readline. 2011-02-26 18:34:44 -08:00
Vítor Santos Costa
f92fa69eab more PLStream stuff. 2011-02-23 17:46:50 +00:00
Vitor Santos Costa
b902efe21f remove $access 2011-02-15 22:56:15 +00:00
ubu32
185bb1b3f0 cleanups. 2011-02-15 06:43:28 -08:00
ubu32
78ea2213d1 remove small predicates 2011-02-14 14:55:59 -08:00
ubu32
f0d217dd92 ifix small stuff. 2011-02-14 14:19:30 -08:00
ubu32
4dbdaaa772 eplace format 2011-02-14 14:13:45 -08:00
ubu32
52f8cb1041 skip
more write updates.
2011-02-14 12:47:34 -08:00
ubu32
f13215700b write 2011-02-14 12:40:10 -08:00
ubu32
eff5dd3166 Edinburgh stuff. 2011-02-14 12:25:57 -08:00
ubu32
38fa886e18 more stream stuff. 2011-02-14 12:14:31 -08:00
ubu32
c8aee540ce put 2011-02-14 11:57:22 -08:00
ubu32
85a7e7b9b0 peek_ 2011-02-14 11:50:30 -08:00
ubu32
6469a0d464 add temporary definitions. 2011-02-14 11:46:27 -08:00
ubu32
7fa58bca40 set_input 2011-02-14 11:43:54 -08:00
ubu32
a851c56e3d get predicates. 2011-02-14 11:39:23 -08:00
ubu32
9691a0843d port flush predicates. 2011-02-14 11:28:44 -08:00
ubu32
a46e5b313d iuse SWI prompts 2011-02-14 07:19:37 -08:00
ubu32
f6befe5796 alias stuff. 2011-02-14 06:59:15 -08:00