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
Vítor Santos Costa
c3487d0fc0
tracking + flags
2015-06-19 01:09:54 +01:00
Vítor Santos Costa
d8fa0ac8f6
small changes with new flag system.
2015-05-15 00:36:16 +01:00
Vítor Santos Costa
0ed3ee4fc4
enable path expansion by default
2015-04-24 10:03:44 -06:00
Vítor Santos Costa
d5ce9a1376
last patch had broken include.
...
fix multiple initializations.
get rid of debugging messages.
2015-04-22 14:21:20 -06:00
Vítor Santos Costa
94e2d3cf22
Ensure module files are seen as a singe instance, even if called from different modules
2015-04-21 16:08:58 -06:00
Vítor Santos Costa
9b0c606de3
fix atomic_list_concat/3 in splt mode
2015-04-21 16:07:16 -06: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
b14dc43bc9
initial module is user
2015-04-13 23:46:14 +01:00
Vítor Santos Costa
3c73a2e6d6
debugging msg
2015-04-13 13:35:37 +01:00
Vítor Santos Costa
ef586e264e
android debugging plus clean-ups
2015-04-13 13:28:17 +01:00
Vitor Santos Costa
bd829946ed
autoloading is an import, like any other
2015-03-28 19:42:10 +00:00
Vítor Santos Costa
c7f700627d
disable BOM on ttys
2015-03-24 09:38:52 +00:00
Vítor Santos Costa
16c8d54f0e
more debugging fixes
2015-03-23 16:16:48 +00:00
Vítor Santos Costa
2b2e21ae64
handle redirection in debugging
2015-03-17 23:09:33 +00:00
Vítor Santos Costa
272d28ae5f
android
2015-03-16 17:25:09 +00:00
Vítor Santos Costa
04ff7f3f2d
fix warning
2015-03-11 22:22:27 +00:00
Vítor Santos Costa
0f2d1e8429
improve notion of standadard predicate
2015-03-04 10:01:33 +00:00
Vítor Santos Costa
8a4257d80a
make var names available as a global var
2015-03-04 09:40:21 +00:00
Vítor Santos Costa
9895ec63d0
add more lib paths
2015-02-16 11:43:42 +00:00
Vitor Santos Costa
2d20db7e6d
protect against mal-formed calls
2015-02-14 17:05:48 +00:00
Vitor Santos Costa
29ffb152e5
make module user available by default to all other modules
2015-02-14 11:39:07 +00:00
Vitor Santos Costa
1eeb17f6f1
fix loop on boot.
2015-01-27 03:25:31 +00:00
Vítor Santos Costa
9d4b59f7d6
handle the case where the result
...
of file expansion is an alias
2015-01-26 03:33:47 +00:00
Vítor Santos Costa
3acf4b3fea
cleanups
2015-01-20 02:53:19 +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
0c88265943
indenting
2015-01-17 02:44:13 -08:00
Vitor Santos Costa
b494cce5dc
fix unbound in ,
2015-01-17 02:41:57 -08:00
Vitor Santos Costa
e69c9fc056
fix spy
2015-01-17 02:41:30 -08:00
Vitor Santos Costa
45e3711ca2
remove system mod
2015-01-16 20:42:52 -08:00
Vitor Santos Costa
7a8f57eb63
current_predicate
2015-01-16 20:08:51 -08:00
Vitor Santos Costa
58357b1af4
fix spy
2015-01-16 20:07:18 -08:00
Vitor Santos Costa
c081e9774d
docs
2015-01-16 20:07:00 -08:00
Vitor Santos Costa
9b18f6aee4
utilities on conj
2015-01-16 20:05:51 -08:00
Vitor Santos Costa
242844d12f
ensure order
2015-01-16 20:04:12 -08:00
Vitor Santos Costa
530764e196
avoid unnecessary search
2015-01-15 23:07:35 -08:00
Vitor Santos Costa
8c605a65fe
ic_arith is not an actual module.w
2015-01-15 01:22:23 -08:00
Vitor Santos Costa
5053cfb571
fix recent typos
2015-01-05 12:21:58 +00:00
Vítor Santos Costa
c0476daa53
doc fixes
2015-01-05 08:15:24 +00:00
Vítor Santos Costa
3164ed2d61
doc support
2015-01-04 23:58:23 +00:00
Vítor Santos Costa
53877ad426
docs
2014-12-24 15:32:29 +00:00
Vítor Santos Costa
bc6bf8cdfd
fix extra -
2014-12-24 15:32:06 +00:00
Vitor Santos Costa
ad2df06d2b
doc support
2014-12-19 23:47:50 +00:00
Vítor Santos Costa
58ece4fa43
missing CMake file
...
R is no longer supported, use real.
2014-12-15 12:27:07 +00:00
Vítor Santos Costa
c2ea3b1cd2
make header scanning default
2014-12-15 08:54:23 +00:00
Vítor Santos Costa
15c79d8ecf
indentation
2014-12-14 11:45:42 +00:00
Vítor Santos Costa
80363e359e
add qend_program to bootstrap
2014-12-14 11:45:11 +00:00
Vítor Santos Costa
4ed4e776e6
fix meta-goal expansion
2014-12-14 11:44:23 +00:00
Vítor Santos Costa
7acb2110d2
Merge branch 'cmake' of ssh://git.dcc.fc.up.pt/yap-6.3
2014-12-04 08:03:45 +00:00
Vitor Santos Costa
ff977fbad8
cmake support: first cut from David Vaz work.i
2014-12-04 07:59:30 +00:00
Vítor Santos Costa
7ea6d84300
fix module exp in user
2014-12-02 02:34:58 +00:00
Vítor Santos Costa
097db1b0b6
support search for predicates
2014-11-28 02:32:35 +00:00
Vítor Santos Costa
d526545bc9
Merge branch 'master' of github.com:vscosta/yap-6.3
...
Conflicts:
C/sysbits.c
C/threads.c
2014-11-27 15:15:22 +00:00
Vítor Santos Costa
a83ff038f4
Mutex stuff movibg to C
2014-11-27 10:02:04 +00:00
Vítor Santos Costa
570513f8f9
fix mutex creation
2014-11-26 09:46:44 +00:00
Vitor Santos Costa
624183b78e
more thread work to cean-up mutexes. Not finshed yet
2014-11-25 19:52:51 +00:00
Vitor Santos Costa
afc6c5d04e
Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
...
Conflicts:
C/threads.c
JIT/HPP/EnvironmentInit.h
packages/ProbLog/simplecudd_lfi/problogbdd_lfi.c
pl/preds.yap
2014-11-25 16:53:35 +00:00
Vitor Santos Costa
f79458bac2
typos
2014-11-25 16:43:43 +00:00
Vítor Santos Costa
1ca062f558
Merge branch 'master' of ssh://git.dcc.fc.up.pt/yap-6.3
2014-11-25 12:04:05 +00:00
Vítor Santos Costa
bb8ea9a27d
fix current and system predicate
2014-11-25 12:03:48 +00:00
Theo
ddb8e2dd3f
Fixed the domain error flag_value message to be able to print the flag if given.
2014-11-13 18:13:49 +00:00
vscosta
04b87d2414
does not need duplcated functionality
2014-11-10 01:54:50 +00:00
vscosta
7094d604fb
support windows
...
improve registry handling
2014-11-10 01:54:14 +00:00
vscosta
c633eac236
avoid using registry, clean-up
2014-11-05 07:45:36 +00:00
Vítor Santos Costa
c440ab239b
doc changes
2014-11-02 12:10:32 +00:00
Vítor Santos Costa
9cd2975532
fix argv && os_argv
2014-10-26 17:39:13 +00:00
Vítor Santos Costa
fca75670bc
fix argv && os_argv
2014-10-26 17:38:41 +00:00
Vítor Santos Costa
749ba13d3d
fix retractall with numbers, Paulo Moura
2014-10-23 00:35:14 +01:00
Vitor Santos Costa
67de7e422d
Separate callable errors that refer to the predicate indicator.
2014-10-20 15:40:19 +01: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
47d1bd5ecc
allow setting up arithmetic exception handling.
2014-10-19 11:27:53 +01:00
Vítor Santos Costa
4a2d6b9137
typo.
2014-10-19 02:02:46 +01:00
Vítor Santos Costa
53a8a8f7c9
try to make MT more robust by:
...
- tracking memory overflows (still worried about blobs)
- moving core components to C-code, namely the mailboxes.
- reducing locking: too many locks == deadlock.
thanks to Paulo Moura for the test suite!
2014-10-19 01:54:57 +01:00
Vitor Santos Costa
8014110080
fix debugging letfover.
2014-10-15 12:10:39 +01:00
Vítor Santos Costa
8576e67d84
generate exceptions on arithmetic errors
2014-10-15 11:06:07 +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
Vítor Santos Costa
3c7779ec78
move message queues to C
2014-10-13 12:34:52 +01:00
Vítor Santos Costa
c0b723ca14
fix module transparent.
2014-10-12 11:00:45 +01:00
Vítor Santos Costa
1a56819658
fix typo
2014-10-11 21:56:55 +01:00
Vítor Santos Costa
0c461c538b
remove unneeded call
2014-10-11 14:10:35 +01:00
Vítor Santos Costa
b40a5a7837
fix change in undef.
2014-10-11 14:09:40 +01:00
Vítor Santos Costa
5312086b60
typo in expansion.
2014-10-11 14:07:34 +01:00
Vítor Santos Costa
cf7dccdcdf
fix handling of attributed vars.
2014-10-11 14:06:57 +01:00
Vítor Santos Costa
1461f44184
fix goal expansion problems
2014-10-11 12:45:54 +01:00
Vitor Santos Costa
18aadaecd8
fix ways to call listing and improve documentation.
2014-10-10 15:52:14 +01:00
Vitor Santos Costa
4d3bb0143f
small fix to hook case.
2014-10-10 15:50:41 +01:00
Vitor Santos Costa
96149d991f
fix reloading of foreign files: don't allow it even if you are
...
reconsulting, it makes no sense.
2014-10-10 12:52:03 +01:00
Vitor Santos Costa
946f6cebf3
fix bad exit from undef code.
2014-10-10 12:39:54 +01:00
Vitor Santos Costa
f6bcb22b7c
fix undefined procedures to allow hooks as before.
2014-10-10 10:00:27 +01:00
Vitor Santos Costa
e18f083da6
fix warning.
2014-10-09 10:47:41 +01:00
Vitor Santos Costa
48053694c7
document abolish and make sure that assert(m:(H:-B)) treats m as source
...
module.
2014-10-09 10:46:09 +01:00
Vitor Santos Costa
ed6f7f8573
fix warning.
2014-10-09 10:45:38 +01:00
Vitor Santos Costa
716f80d4c8
ugh, did not allow loading more than a file.
2014-10-09 10:44:37 +01:00
Vitor Santos Costa
6ec4d99d86
allow users to load foreign code from cwd, as said in manual.
2014-10-09 10:43:44 +01:00
Vítor Santos Costa
bd35580713
fixes for qly loading.
2014-10-08 00:28:14 +01:00
Vítor Santos Costa
bcc8fea458
fix another typo.
2014-10-07 23:34:49 +01:00
Vítor Santos Costa
ef73a788d9
fix case where unnecessart messages wwere printed while if disables code reading.
2014-10-07 10:28:43 +01:00
Vítor Santos Costa
46a81e8d2b
more typos.
2014-10-07 10:13:31 +01:00
Vítor Santos Costa
cff80914e4
handle modules in exporteed procedures.
2014-10-07 09:59:59 +01:00
Vítor Santos Costa
e9cc545f68
big cleanup: cpmpile under style checker.
...
fix broken module stuff.
2014-10-07 01:35:41 +01:00
Vítor Santos Costa
0c4f846c0e
move modules to as early as possible
2014-10-06 00:01:25 +01:00
Vítor Santos Costa
8c87eabb22
fix typos
2014-10-06 00:00:42 +01:00
Vítor Santos Costa
800a019a16
fix typos
2014-10-05 23:59:34 +01:00
Vítor Santos Costa
028c036757
fix typos
2014-10-05 23:59:21 +01:00
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