Vítor Santos Costa
3b5a093983
fix message display time
2014-10-05 23:58:19 +01:00
Vítor Santos Costa
733bb5ddc4
module stuff
2014-10-05 23:54:51 +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
64e7e7e663
make writeln a C built-in.
2014-10-05 23:51:43 +01:00
Vítor Santos Costa
d1242028d2
fixes for notrace predicates.
2014-10-05 10:24:44 +01:00
Vítor Santos Costa
98a471b9d7
fix unrelated comment.
2014-10-05 10:23:21 +01:00
Vítor Santos Costa
b30d0bbdaf
fix bad formatting.
2014-10-05 10:22:03 +01:00
Vítor Santos Costa
8345bf3e24
ensure loading is recognised.
2014-10-05 10:20:36 +01:00
Vítor Santos Costa
d29fb0fd57
fix source mode.
2014-10-05 10:18:54 +01:00
Vítor Santos Costa
ad2ee8225d
fix modularized grammar.yap.
2014-10-03 08:54:41 +01:00
Vítor Santos Costa
510c7cdeee
respect source mode indications.
2014-10-03 08:50:15 +01:00
Vítor Santos Costa
dddc9fbb85
fix listing/0 to avoid going into every system predicate.
2014-10-03 08:49:14 +01:00
Vítor Santos Costa
80faee6824
qload/qsave implementation.
2014-10-02 14:57:50 +01:00
Vítor Santos Costa
ef479f00dc
make grammar a module.
2014-10-02 14:55:47 +01:00
Vítor Santos Costa
a306d0b0ee
improve messages for cosulting.
2014-10-02 14:52:54 +01:00
Vítor Santos Costa
1cbc0705c6
syntax changes.
2014-10-02 14:50:19 +01:00
Vítor Santos Costa
5a40f834f1
push directives to as early as possible.
2014-10-02 14:41:41 +01:00
Vítor Santos Costa
fe0e12b030
store loaded files state.
2014-10-02 14:40:45 +01:00
Vítor Santos Costa
5bae8321d7
move gramar preprocessing here.
2014-10-02 14:39:45 +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
4fdd501bbb
qly is not a source file.
2014-10-02 14:24:12 +01:00
Vítor Santos Costa
5bd42984b9
fix qsave_module
2014-09-25 09:45:25 +01:00
Vítor Santos Costa
077570314d
don't source system predicates
2014-09-25 09:44:34 +01:00
Vítor Santos Costa
e4603ffe22
beautify code
2014-09-25 09:43:50 +01:00
Vítor Santos Costa
7f952c8b74
avoid backtracking
2014-09-25 09:42:51 +01:00
Vítor Santos Costa
78967d6eb2
fix typo
2014-09-25 08:50:26 +01:00
Vitor Santos Costa
66a95e96c0
Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
...
Conflicts:
library/matrix.yap
pl/qly.yap
2014-09-23 22:46:19 +01:00
Vitor Santos Costa
2bc55d868d
formatting changes
2014-09-23 22:40:40 +01:00
Vítor Santos Costa
3e255ec4a1
qload
2014-09-22 18:13:35 +01:00
Vítor Santos Costa
797e0c6be7
don't dump stack, for now
2014-09-16 04:01:37 -05:00
Vítor Santos Costa
aeb54ebc61
more doc udates
2014-09-15 13:10:49 -05:00
Vítor Santos Costa
8eec3113be
improve docs
2014-09-15 03:13:50 -05:00
Vítor Santos Costa
050ce4fce6
"moredocupdates"
2014-09-13 00:53:56 -05:00
Vítor Santos Costa
3009987985
update docs
2014-09-11 14:06:57 -05:00
Vítor Santos Costa
b26b5b1b7d
small fixes
2014-09-09 23:53:41 -05:00
Vítor Santos Costa
53a49bb3c3
call ypp from the console
2014-09-08 17:16:00 -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
19d0f56f2d
fix arena initialization
2014-08-23 14:47:40 -05:00
Vítor Santos Costa
69d2cc3e49
fix beautified recorded.
2014-08-20 09:13:19 -05:00
Vítor Santos Costa
3b5cd95d22
get rid of write_depth
...
fix at_end_of_line.
2014-08-20 09:12:40 -05:00
Vítor Santos Costa
5721ce5e7d
fix bad call to use_module.
2014-08-20 09:09:20 -05:00
Vítor Santos Costa
8a4590f3ce
put mod_scan back.
2014-08-20 08:08:21 -05:00
Vítor Santos Costa
86a363d3bd
remove dead code.
2014-08-20 08:03:27 -05:00
Vítor Santos Costa
373d488974
erase_source is not used any longer: source is packaed with code.
2014-08-20 08:01:20 -05:00
Vítor Santos Costa
4573afa70b
fix frozen/2.
2014-08-20 07:55:05 -05:00
Vítor Santos Costa
823175f50a
fix small bugs from changing style_check
2014-08-04 09:45:30 -05:00
Vitor Santos Costa
0ef90c9b6a
Merge branch 'master' of git.dcc.fc.up.pt:yap-6.3
...
Conflicts:
pl/modules.yap
2014-07-26 19:45:16 -05:00
Vitor Santos Costa
9179e4780b
avoid operators
2014-07-26 19:43:16 -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
ce8a4b6958
module fixes plus add better docs
2014-07-17 12:19:38 -05:00
Vítor Santos Costa
dbff20343a
small fixes to listing
2014-07-16 12:59:03 -05:00
Vítor Santos Costa
2becb15578
more android support changes.
2014-07-16 11:56:09 -05:00
Vítor Santos Costa
f37806d7cc
improve listing, make it more generous and SWi-like.
2014-07-16 11:55:16 -05:00
Vítor Santos Costa
1b57bdc2eb
try to be really sicstus compatible
2014-07-16 11:54:59 -05:00
Vítor Santos Costa
5b19ccf6a8
swig fixes for Android compatibility
2014-06-22 17:35:05 +01:00
Vítor Santos Costa
74a65633d8
fix duplicated system predicate + android related cleanups
2014-06-20 11:13:39 +01:00
Vítor Santos Costa
32a4ea3a94
patch by J santos to make ORP work again.
2014-06-19 15:04:48 +01:00
Vitor Santos Costa
87d7c90171
adtdefs.c: add debugging code to verify when a specific predicate is added.
...
modules.* implemente module_property/2:class(_)
prism: comment unneeded labels.
2014-06-17 15:44:46 +01:00
Vítor Santos Costa
ff2a7a364f
mod prperty step 1
2014-06-16 15:00:04 +01:00
Vítor Santos Costa
ed04954b3f
fix module expansion inside arguments.
2014-06-13 10:16:18 +01:00
Vítor Santos Costa
d73793de63
remove debugging info.
2014-06-12 01:22:56 +01:00
Vítor Santos Costa
2455a1d83c
Android /assets support
2014-06-11 19:26:50 +01:00
Vítor Santos Costa
37e8fcc353
Fix: bad implementation of with_mutex/2
2014-05-30 01:00:57 +01:00
Vítor Santos Costa
b2d34d016f
get rid of debugging msg
2014-05-25 21:44:32 +01:00
Vítor Santos Costa
ec2e1c21b0
fix docs
2014-05-25 20:52:45 +01:00
Vítor Santos Costa
2c7e62ad71
handle :-use_module on non module.
...
improve handling of redefinitions.
2014-05-25 20:51:42 +01:00
Vítor Santos Costa
3310a904c4
ensure that if we load a file that does not define a module, it is reconaulted per every different module
2014-05-18 14:47:23 +01:00
Vitor Santos Costa
b532fbd0b9
Merge branch 'master' of ssh://git.code.sf.net/p/yap/yap-6.3
...
Conflicts:
C/write.c
2014-05-14 18:00:25 +01:00
Vitor Santos Costa
eb8f4cebcc
idocumentation updates.
2014-05-12 16:39:13 +01:00
Vítor Santos Costa
323386e34b
another try for use_module/3.
2014-05-07 15:04:17 +01:00
Vítor Santos Costa
a54a101fb0
emacs typo :(
2014-05-07 09:36:40 +01:00
Vítor Santos Costa
98daf1ebdd
bad call to style_checker.
2014-05-07 09:35:57 +01:00
Vitor Santos Costa
d6aa3ed8f0
use_module/3 wasn't working.
2014-05-06 09:34:25 +01:00
Vitor Santos Costa
58336add23
fix module export.
2014-04-24 14:24:50 +01:00
Vítor Santos Costa
1db83cc30d
make consult reconsult the original file, so that
...
[x]. [x].
is more like
[x]. [-x].
2014-04-24 11:40:35 +01:00
Vítor Santos Costa
d8f4a77f47
fix style_check to be called at parse-time and not cause eexcution overheads.
2014-04-24 08:26:31 +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
605e68c80d
fix prolog:messages
2014-04-21 11:29:05 +01:00
Vítor Santos Costa
0625f1d7ad
doc support
2014-04-21 11:20:00 +01:00
Vítor Santos Costa
137f69ed22
doc support
2014-04-21 11:14:18 +01:00
Vítor Santos Costa
295be2d5be
doc fixes
2014-04-10 11:59:30 +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
875546e36a
don't optimise sub-args, as it may introduce new variables.
2014-03-18 17:24:20 +00: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
Vítor Santos Costa
265bc20f90
simplify absf
2014-03-09 12:26:07 +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
d3b3a45dde
improve handling of meta-call in setof and debugging
2014-02-19 00:04:26 +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
Vítor Santos Costa
12364bb89a
cleanup modules and fix loading swi emulation
2014-02-14 20:26:09 +00:00
Vitor Santos Costa
d0efa26d8b
Merge branch 'rtries' of git.dcc.fc.up.pt:yap-6.3
...
Conflicts:
OPTYap/tab.insts.i
OPTYap/tab.tries.c
OPTYap/tab.tries.i
2014-02-13 11:57:46 +00:00
Vitor Santos Costa
e0642dbaa3
reexport again
2014-02-09 18:06:37 +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
b3aa3e37c6
fix small bugs and declare format_time to be a meta-predicate
2014-02-06 21:55:01 +00:00
Vitor Santos Costa
2c8fcc6698
fix typo
2014-01-10 15:34:02 +00:00
Vitor Santos Costa
bcc1757989
fixes to message handling
2014-01-07 01:10:48 +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
52525a5319
do reexport even when file has already been loaded
2014-01-06 18:28:22 +00:00
Theo
e105130a8b
Tabling with coinductive mode for predicate
2013-12-20 14:56:13 +00:00
Theo
ffa0823e57
Same as before...
2013-12-19 18:18:01 +00:00
Vitor Santos Costa
30828eba98
fix input sz: should only matter with NCHARS
2013-12-18 16:42:05 +00:00
Vitor Santos Costa
51535a86ce
allow reconsult of tabled predicates
2013-12-16 15:11:30 +00:00
Vitor Santos Costa
e4fbd39cab
avoid weird messages in debugging
2013-12-16 15:10:53 +00:00
Vítor Santos Costa
b65dee6b3a
text files and other typed files cannot be directoried
2013-12-14 11:06:09 +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
2f8c3d2d1b
fix getting thread and sending it to format
2013-12-11 00:03:13 +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
29c0d55ad4
nth_clause cleanup with support for mega and exo clauses
2013-12-09 14:16:30 +00:00
Vítor Santos Costa
09accc834c
remove problog atom initialization
2013-12-08 23:16:22 +00:00
Vítor Santos Costa
61d624e416
fix comment handling
2013-12-08 22:56:48 +00:00
Vitor Santos Costa
863b796370
new string_code/3 plus some fixes
2013-12-06 23:24:01 +00:00
Vítor Santos Costa
35f6ecad66
more atom and string
2013-12-06 15:08:35 +00:00
Vitor Santos Costa
2665f71112
keep trying to fix atoms
2013-12-04 23:01:30 +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
Vítor Santos Costa
8b7fa9be36
reflection patches
2013-11-26 10:53:04 +01:00
Vítor Santos Costa
3edb01f5f7
more reflection updates
2013-11-26 10:40:00 +01:00
Vítor Santos Costa
ea99d42897
current_predicate and imports
2013-11-25 23:57:05 +01:00
Vítor Santos Costa
67b23a2ae4
cleanups
2013-11-25 23:09:03 +01:00
Vítor Santos Costa
b46dd8d392
speed-up imports
2013-11-25 23:08:35 +01:00
Vítor Santos Costa
2343494f1e
fix high arity and nth clause
2013-11-25 18:32:11 +01:00
Vítor Santos Costa
b3ee389d5e
module_property
2013-11-25 16:50:57 +01:00
Vítor Santos Costa
def97602e2
nth_clause
2013-11-25 16:03:25 +01:00
Vítor Santos Costa
42d3ca6459
avoid \!
2013-11-25 12:16:10 +01:00
Vítor Santos Costa
cc03317bd0
user defined messages
2013-11-22 00:44:28 +00:00
Vitor Santos Costa
6d773a3189
use SWI opts for read
2013-11-20 22:30:49 +00:00
Vítor Santos Costa
b167e62bc7
fix typo
2013-11-18 12:56:00 +00:00
Vítor Santos Costa
f67c7c184b
fix reexport adding to export list
2013-11-17 21:41:41 +00:00
Vitor Santos Costa
bb650629d9
clean load library
2013-11-15 16:04:14 +00:00
Vitor Santos Costa
9eb07a8c8a
more cleanups
2013-11-15 15:45:55 +00:00
Vítor Santos Costa
45f91c9d42
char_conversion
2013-11-15 12:17:48 +00:00
Vítor Santos Costa
14747fd0bf
more fixes
2013-11-13 22:52:36 +00:00
Vitor Santos Costa
9a35d17861
fix DLL loading and C_SO suffix (remove an extra .)
2013-11-13 15:10:15 +00:00
Vitor Santos Costa
41c2d856a7
cleanup dead flags
2013-11-13 13:28:43 +00:00
Vitor Santos Costa
9d34ac34ff
clean up unbounded
2013-11-13 13:01:11 +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
Paulo Moura
2314efdc6c
Make thread_property/2
deterministic when the second argument is instantiated
2013-11-11 17:11:53 +00:00
Paulo Moura
16e3bda666
Fix singleton variable that breaks expanding a relative file path
2013-11-11 16:38:04 +00:00
U-vsc-PC\vsc
80315e1be3
multiath & abs_file_name
2013-11-11 10:31:59 +00:00
U-vsc-PC\vsc
493f310b49
registry
2013-11-11 10:31:28 +00:00
U-vsc-PC\vsc
a811f56d14
avoid dot
2013-11-11 10:28:45 +00:00
Vitor Santos Costa
dcc5a4041e
paths
2013-11-11 00:52:13 +00:00
Vítor Santos Costa
f6f7f70b7f
handle verbosity and autoload
2013-11-10 11:18:00 +00:00
Vítor Santos Costa
318199a47b
fix first fail in autoload
2013-11-10 10:58:09 +00:00
Vítor Santos Costa
ea44e780b6
fix path
2013-11-08 12:43:07 +00:00
Vítor Santos Costa
7150bc1ef8
Merge branch 'master' of ssh://git.code.sf.net/p/yap/yap-6.3
2013-11-08 08:24:25 +00:00
Vítor Santos Costa
4085f268af
fix reconsult non-mod file, fix cases where users call source, fix bad atom_concat
2013-11-08 08:24:06 +00:00
Paulo Moura
746aee16f7
Add support for using .prolog
as a Prolog source file extension
2013-11-08 00:40:14 +00:00
Vítor Santos Costa
cbba7e93df
clean up load_files and friends to reuse code
2013-11-08 00:02:38 +00:00
Vítor Santos Costa
a3c9684714
perform true goal expansion from top level goals
2013-11-05 22:29:28 +00:00
Vítor Santos Costa
917d5ad75b
line numbers for clauses and clause properties
2013-11-05 17:59:19 +00:00
Vítor Santos Costa
e5e71ee618
fix source
2013-11-05 17:57:17 +00:00
Vítor Santos Costa
4818d28b0b
handle alias
2013-11-04 22:32:03 +00:00
Vítor Santos Costa
98b4f64b40
syntax error
2013-11-04 22:31:43 +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
U-w7\vsc
4260c37245
remove debugging output from thread close
2013-10-30 16:27:12 +00:00
Vitor Santos Costa
ab5c24cb87
init state should be shared by threads
2013-10-30 14:12:54 +00:00
Vitor Santos Costa
27d92de39a
fix nb_getval
2013-10-30 12:57:33 +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
Paulo Moura
0e2402b27e
Fix message_queue_property/2 to accept integers as valid queue indentifiers
2013-10-10 11:44:52 +01:00
Paulo Moura
c412f6de2f
Fix built-in predicate threads/0
2013-10-10 11:00:36 +01:00
Vítor Santos Costa
fde44acdf3
ensure global environment when consulting
2013-09-09 22:11:12 +01:00
Vitor Santos Costa
1c2e17f86a
fix break/1
2013-07-22 10:52:49 -05:00
Vítor Santos Costa
f79f93bccd
small updates
2013-07-16 08:01:01 -05:00
Vítor Santos Costa
493161f6d8
ciao style arrays, (...)
2013-07-07 16:15:25 -05:00
Vitor Santos Costa
c60e1046a7
use int64 fr file_time
2013-06-07 18:00:27 +01:00
Vítor Santos Costa
5b4f355ee0
avoid creating new index in retractall
2013-06-07 09:26:50 -05:00
Vitor Santos Costa
639247b4c3
sub_atom/5 in C.
2013-05-15 17:12:01 -05:00
Vitor Santos Costa
923be33404
speedup between
...
more exo stuff.
2013-04-30 15:23:01 -05:00
Vitor Santos Costa
64a61e2479
make between/3 a C-builtin.
2013-04-29 18:22:53 -05:00
Vitor Santos Costa
6404c2d827
fix error
2013-03-19 21:23:55 -05:00
Vitor Santos Costa
263a1a548c
fix meta-call handling
2013-03-05 15:50:03 -06:00
Vitor Santos Costa
a64c6e523a
fix meta-call handling
2013-03-05 15:47:00 -06:00
Vítor Santos Costa
0a0b3cf6ac
re-enable arit compilation
2013-03-03 20:27:20 -06:00
Vítor Santos Costa
874fc97970
leave system mode
2013-03-03 20:26:48 -06:00
Vítor Santos Costa
725617cedd
optimise trace in body
2013-03-03 20:26:20 -06:00
Vitor Santos Costa
6e7742ce8b
suport /u/vitor/linux/bin:/u/vitor/bin:/usr/bin:/bin:/sbin:/usr/sbin:/ua/vitor/linux/bin:/usr/X11R6/bin:.:/usr/openwin/bin:/usr/local/bin:/ua/vitor/bin:/usr/bin:/bin:/ua/vitor/sw/bin:/opt/condor/bin:/s/bin in paths
2013-02-26 09:33:02 -06: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
cf3c62f4b4
names are now atoms, not sequences of codes
2013-02-04 22:55:34 +00:00
Vítor Santos Costa
2cb0f298a8
fix style_checking flags and especially variables.
2013-02-04 11:22:42 -06:00
Vitor Santos Costa
798038ad38
avoid PL_error
2013-01-31 10:18:07 +00:00
Vitor Santos Costa
0e9641fe20
sub_string hack
2013-01-31 10:17:48 +00:00