Commit Graph

2205 Commits

Author SHA1 Message Date
Vítor Santos Costa
f92fa69eab more PLStream stuff. 2011-02-23 17:46:50 +00:00
Vitor Santos Costa
4a5ba35937 assembly fixes
more support for readline, including getting more stuff from read.
2011-02-17 00:57:49 +00:00
Vitor Santos Costa
b902efe21f remove $access 2011-02-15 22:56:15 +00:00
Vitor Santos Costa
842f80e928 encoding support. 2011-02-15 22:44:06 +00:00
Vitor Santos Costa
145b9c1b4a fix stream access. 2011-02-15 22:22:10 +00:00
Vitor Santos Costa
7cb271fd58 remove unused built-in. 2011-02-15 22:15:06 +00:00
Vítor Santos Costa
e93df788e5 fix indexing bug (report from Jos DeRoo). 2011-02-15 21:19:27 +00:00
Vítor Santos Costa
49f980a7a7 small fixes 2011-02-15 19:24:15 +00:00
Vítor Santos Costa
a40987b70d ifixes to support 64 bits:
- protect registers before calling prune()
- use Int, not int.
2011-02-15 18:14:18 +00:00
ubu32
82f3af4f23 lookup global modules. 2011-02-15 07:50:55 -08:00
ubu32
185bb1b3f0 cleanups. 2011-02-15 06:43:28 -08:00
ubu32
57f5ef8cfc more bug fixes:
- make readline use packages, not old YAP code
- fix ! over backtrack cps
- fix write list
2011-02-15 05:54:19 -08:00
ubu32
140318ff16 read works now. 2011-02-14 23:39:27 -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
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
5fda308e23 current_input current_output 2011-02-14 11:45:43 -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
67d23051c2 fix pruning to handle backtrackable C-predicates in a much nicer way. 2011-02-14 11:29:20 -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
ubu32
b3fb1d1e73 ifix cut stuff 2011-02-14 06:58:42 -08:00
ubu32
1717b113b3 cut should know about environment size. 2011-02-14 06:57:16 -08:00
Vitor Santos Costa
8b2312daf7 close must be last to be proted, otherwise YAP gets confused about who owns the stream. 2011-02-13 01:29:25 +00:00
Vitor Santos Costa
80f190bc8a use SWI user_*. 2011-02-13 01:03:08 +00:00
Vitor Santos Costa
0d0a95ae8a remove code support for null streams. 2011-02-12 23:45:19 +00:00
Vitor Santos Costa
9c1d780931 remove support for pipes. 2011-02-12 23:42:15 +00:00
Vitor Santos Costa
98684ba4bb remove YAP sockets interface. 2011-02-12 23:38:24 +00:00
Vitor Santos Costa
2d07a7730e remove YAP memory (string) streams. 2011-02-12 18:42:44 +00:00
Vitor Santos Costa
be79c3326e first pass at open/ and friends. 2011-02-12 14:14:12 +00:00
Vitor Santos Costa
3bdece404b cd and getcwd stuff. 2011-02-12 01:24:15 +00:00
Vitor Santos Costa
efc65fdb28 SWI file_name builtins. 2011-02-12 01:03:22 +00:00
Vitor Santos Costa
9efbc0fce8 support time_file and access_file from SWI library. 2011-02-12 00:45:33 +00:00
Vítor Santos Costa
45032cc61e export current predicate for SWI built-ins. 2011-02-11 19:01:18 +00:00
Vítor Santos Costa
10f84228bc fix handling of cut_c in SWI packages. 2011-02-11 17:49:19 +00:00
Vitor Santos Costa
6617a63b7e attempt to improve error handliong in SWI emulation. 2011-02-11 14:17:27 +00:00
Vítor Santos Costa
b475be5692 more SWI compatibility changes. 2011-02-11 01:22:07 +00:00
Vítor Santos Costa
02c791fc3d iminor PLStream fixes. 2011-02-10 21:45:43 +00:00
Vitor Santos Costa
3fe9b923cb more fixes to SWI emulation
integrate in main binary
2011-02-10 21:14:38 +00:00
Vitor Santos Costa
232a740d43 upgrade to latest SWI 2011-02-10 00:01:19 +00:00
Vítor Santos Costa
0ad02c3ee1 Merge branch 'master' of ssh://yap.git.sourceforge.net/gitroot/yap/yap-6.3 2011-02-08 21:06:02 +00:00
Vítor Santos Costa
54507703fe Merge branch 'master' of ../yap-6.2 2011-02-08 21:05:12 +00:00
Vítor Santos Costa
8496d1979b Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2011-02-08 21:02:41 +00:00
Vítor Santos Costa
d0a5571900 trace the total number of choice-points created in profiling mode. 2011-02-08 21:02:10 +00:00
Vitor Santos Costa
398d46fc4e fix occur_check patch. 2011-02-05 10:27:51 +00:00
Vitor Santos Costa
9bdc7ca96e get rid of references to freed code. 2011-02-04 01:23:01 +00:00
Vitor Santos Costa
c1721df472 Merge branch 'master' of /yap-6.3
Conflicts:
	C/c_interface.c
2011-02-03 11:33:50 +00:00
Vitor Santos Costa
48b891a5b2 Merge branch 'master' of ../yap-6.2 2011-02-03 11:27:01 +00:00
Vitor Santos Costa
6cccadb8cb export signal:wq 2011-02-03 11:26:46 +00:00
U-WIN-U2045GN0RNQ\Vítor Santos Costa
a4a1feeacc improve SWI emulation in WIN32. 2011-02-03 11:23:12 +00:00
Vítor Santos Costa
3efb549e02 fix occur-check unification (obs from Jason Filippou). 2011-02-02 20:45:42 +00:00
Vítor Santos Costa
51a5fdfbd7 fix handling of SICStus style attributes (obs from Denys Duchier). 2011-02-02 20:14:36 +00:00
Vítor Santos Costa
ea5b0a29b2 Merge branch 'master' of ../yap-6.2 2011-02-02 19:38:32 +00:00
Vítor Santos Costa
cbf6caddbd fix support for comparing weird terms. 2011-02-02 19:37:11 +00:00
Vítor Santos Costa
63e43728f9 Merge branch 'master' of ../yap-6.2 2011-02-02 19:01:20 +00:00
Vítor Santos Costa
83e918ac68 improve comparison of terms. 2011-02-02 19:00:52 +00:00
Vítor Santos Costa
f840ee307d Merge branch 'master' of ../yap-6.2 2011-02-02 16:15:50 +00:00
Vitor Santos Costa
67ec597966 Merge ../yap-6.2 2011-01-21 08:16:41 -06:00
Vitor Santos Costa
313273cce0 fix debugging messages. 2011-01-21 08:14:30 -06:00
Vitor Santos Costa
9d1ae2f96a allow spaces in numerica atoms/strings. 2011-01-20 12:03:38 -06:00
Vitor Santos Costa
76b3aec555 remove debugging stubs. 2011-01-20 12:01:50 -06:00
Vitor Santos Costa
4e90d68748 fix bad casts 2011-01-20 12:01:18 -06:00
Vitor Santos Costa
d024e9f0ae ask YAP to get memory step by step in 64 bit maachines. 2011-01-20 11:59:54 -06:00
Vitor Santos Costa
26706d20ff make SREG YENV before calling heapgc in absmi. 2011-01-20 11:53:00 -06:00
Vitor Santos Costa
51334c66af Merge branch 'master' of ../yap-6.2 2011-01-06 11:21:55 -06:00
Vitor Santos Costa
a9587b5e3d restore and agc of recorded terms
overflows in recorded.
2011-01-02 21:16:29 -06:00
Vitor Santos Costa
aa1756c952 undo change until I can wake up goals before cut safely. 2010-12-31 12:01:10 -06:00
Vitor Santos Costa
06d42c8b39 Merge branch 'master' of ../yap-6.2 2010-12-30 23:40:07 -06:00
vsc
58b838b8e1 fix bad overflow handling 2010-12-31 05:37:25 +00:00
Vitor Santos Costa
5367381154 fix 10E1 in ISO mode. 2010-12-30 22:51:52 -06:00
Vitor Santos Costa
fa0e2d6954 Merge branch 'master' of ../yap-6.2 2010-12-30 22:45:06 -06:00
Vitor Santos Costa
5feb6a9dc5 SWI emulation: it is unsafe to keep arguments in regs. 2010-12-30 22:42:30 -06:00
Vitor Santos Costa
d64af810da force wakeups before ! 2010-12-29 09:29:42 -06:00
Vitor Santos Costa
8cee9a27c7 Merge branch 'master' of ../yap-6.2 2010-12-19 22:07:44 +00:00
Vitor Santos Costa
168a6366f8 enable obtaining current stream_position from SWI.y 2010-12-19 21:32:13 +00:00
Vítor Santos Costa
ae89fa5728 make SWIgetc check for EOF and \n 2010-12-19 14:10:25 +00:00
Vítor Santos Costa
cede94f6d2 creeping should not prevent wake ups. 2010-12-19 13:52:42 +00:00
Vítor Santos Costa
26c265ba13 Merge branch 'master' of ../yap-6.2 2010-12-17 20:27:26 +00:00
Vitor Santos Costa
0c7f207627 make format/n swi aware. 2010-12-17 00:11:05 +00:00
Vítor Santos Costa
81ca149be7 Merge branch 'master' of ../yap-6.2 2010-12-16 22:22:44 +00:00
Vítor Santos Costa
cfe0dda995 more bigint and dbterm fixes. 2010-12-16 22:21:46 +00:00
Vítor Santos Costa
5a2d908489 fix restore of instructions that manipulate bigints or db terms. 2010-12-16 20:39:53 +00:00
Vitor Santos Costa
9a45897308 fix _longjmp 2010-12-16 01:31:19 +00:00
Vitor Santos Costa
7ad5bc0214 include amasm.c 2010-12-16 01:30:05 +00:00
Vitor Santos Costa
6e2947e8c4 avoid _longjmp 2010-12-16 01:22:10 +00:00
Vítor Santos Costa
2dad416011 Merge branch 'master' of ../yap-6.2 2010-12-15 20:04:13 +00:00
Vítor Santos Costa
4546a22101 SWI seems to use t=0 for user_input/output. Not very clear why... 2010-12-15 20:03:22 +00:00
Vítor Santos Costa
782fe00123 Merge branch 'master' of ../yap-6.2 2010-12-14 12:40:15 +00:00
Vítor Santos Costa
eb82f5fa2a more fixes to recursive call execution and backtracking from within C-mode.
semweb java example now working.
2010-12-14 09:30:40 +00:00
Vítor Santos Costa
9bea8b5f82 Merge branch 'master' of ../yap-6.2 2010-12-13 20:39:44 +00:00
Vítor Santos Costa
3933ee4053 fix slot initialization problem. 2010-12-13 20:39:12 +00:00
Vítor Santos Costa
0e32680331 Merge branch 'master' of ../yap-6.2 2010-12-13 19:14:52 +00:00
Vítor Santos Costa
1369057cc4 fix style checker to be more self-contained. 2010-12-13 19:13:33 +00:00
Vitor Santos Costa
dffacb814b Merge branch 'master' of ../yap-6.2 2010-12-13 12:40:07 +00:00
Vitor Santos Costa
3c4da56af2 allow write to find out about SWI streams in SWI mode. 2010-12-13 12:38:37 +00:00
Vítor Santos Costa
2d1ece71c8 iget rid of message. 2010-12-12 19:05:49 +00:00
Vítor Santos Costa
2e319c50ba make sure that atom garbage collector knows about foreign function names. 2010-12-12 18:28:55 +00:00
Vítor Santos Costa
378035a4b0 fix bad marking of dbterms (obs from Ines Dutra). 2010-12-12 16:45:39 +00:00
Vítor Santos Costa
b086d8b5cd Merge branch 'master' of ../yap-6.2 2010-12-07 18:21:50 +00:00
Vítor Santos Costa
e7f5c50707 fix restore foreign functions 2010-12-07 18:21:10 +00:00
Vítor Santos Costa
30b0160b0d Merge branch 'master' of ../yap-6.2 2010-12-07 15:08:25 +00:00
Vítor Santos Costa
21bbffceda make sure we rebuild saved state stuff even if we do not actually enter top-level.
fix bug with some definitions being reset at load time.
2010-12-07 15:06:53 +00:00
Vítor Santos Costa
7874c790f3 Merge branch 'master' of ../yap-6.2 2010-12-06 20:16:05 +00:00
Vitor Santos Costa
8290341a5f fix typo 2010-12-05 00:07:22 +00:00
Vítor Santos Costa
5a5be3b31c Merge branch 'master' of ../yap-6.2 2010-12-04 19:06:10 +00:00
Vítor Santos Costa
8db05c883b make sure we separate betwen async exceptions and synchroneous. 2010-12-04 19:05:13 +00:00
Vítor Santos Costa
c6f41e2970 YAP_FAIL_ERROR in case a fail has been requested, but not accepetd yet. 2010-12-04 18:45:09 +00:00
Vítor Santos Costa
4e0390da5c Merge branch 'master' of ../yap-6.2 2010-12-02 19:42:52 +00:00
Vítor Santos Costa
514758e65b imake call_foreign_function module aware. 2010-12-01 19:30:58 +00:00
Vitor Santos Costa
7f846cd17b Merge ../yap-6.2 2010-12-01 14:04:55 +00:00
Vitor Santos Costa
22c27e0d5e fix debugging stuff. 2010-11-30 22:34:54 +00:00
Vitor Santos Costa
bb679f15fd Merge ../yap-6.2 2010-11-30 22:34:16 +00:00
Vitor Santos Costa
aead067476 mv swi compatibility stuff to library/dialect 2010-11-30 22:33:33 +00:00
Vitor Santos Costa
7341d86758 Merge ../yap-6.2 2010-11-30 22:02:42 +00:00
Abramo Bagnara
94194209ec Extended C predicates to have 10 arguments. 2010-11-30 12:27:30 +00:00
Vítor Santos Costa
63ea05bde8 Merge branch 'master' of ../yap-6.2 2010-11-29 18:45:50 +00:00
Vítor Santos Costa
c454690a67 fix save_program to reload foreign files SWI style when restarting. 2010-11-29 18:44:39 +00:00
Vítor Santos Costa
40be6b56f2 Merge branch 'master' of ../yap-6.2 2010-11-29 18:09:19 +00:00
Vítor Santos Costa
863747da7b fix save/1 and save/2 to at least work now. 2010-11-29 18:08:11 +00:00
Vítor Santos Costa
338a6a1b9b Merge branch 'master' of ../yap-6.2 2010-11-29 16:53:32 +00:00
Vítor Santos Costa
a1d9a1d095 Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-11-29 16:52:25 +00:00
Vitor Santos Costa
d1a05d2fb4 Merge ../yap-6.2 2010-11-28 11:53:16 +00:00
Vitor Santos Costa
4aee4df719 single initialization for top frame. 2010-11-28 11:51:31 +00:00
Vitor Santos Costa
55d28f6ad5 Merge ../yap-6.2 2010-11-26 23:37:36 +00:00
Vitor Santos Costa
471cc93f6c fix some bad code in legalAtom, allowing /a/b not to be quoted (obs from Paulo Moura). 2010-11-26 23:36:50 +00:00
Vítor Santos Costa
89280493d0 fix restopring from gfull saved states. 2010-11-26 18:02:44 +00:00
Vítor Santos Costa
31d0969585 Merge branch 'master' of yap.dcc.fc.up.pt:yap-6 2010-11-25 16:33:50 +00:00
Vítor Santos Costa
969dcfa98c save should set slots. 2010-11-25 16:33:25 +00:00
Vitor Santos Costa
edae401189 Merge ../yap-6.2 2010-11-24 10:02:04 +00:00
Vitor Santos Costa
bdc497cba0 Merge ../yap-6.2 2010-11-24 08:44:37 +00:00
Paulo Moura
907d10128d Commented out buggy patch for supporting quote atoms starting with /* as it breaks write_canonical/1. 2010-11-23 00:12:41 +00:00
Vitor Santos Costa
f9cd010242 do not reexecute function on restore if f_name is NULL. 2010-11-22 21:47:17 +00:00
Vítor Santos Costa
a2286354c8 fix shared object stuff (obs from Roberto Bagnara). 2010-11-22 18:07:01 +00:00
Vitor Santos Costa
cee293fe3a Merge ../yap-6.2 2010-11-22 12:52:07 +00:00
Vitor Santos Costa
2ee12ca1a7 only force 1E30 an error if in ISO mode.
always 1.0e30.
2010-11-22 12:51:02 +00:00
Vitor Santos Costa
9c91a63436 Merge ../yap-6.2 2010-11-22 10:38:22 +00:00
Vitor Santos Costa
92bfc4cedc fix loop in c_files (obs from roberto bagnara). 2010-11-22 10:36:32 +00:00
Vitor Santos Costa
1730d4e206 fix profon profon (obs from Bernd). 2010-11-21 23:31:42 +00:00
Vitor Santos Costa
133e562adb fix profon profon (obs from Bernd). 2010-11-21 23:04:38 +00:00
Vitor Santos Costa
cf59f9aedc Merge ../yap-6.2 2010-11-21 22:12:20 +00:00
Vitor Santos Costa
7640700fdf [PATCH-YAP 6/6] ISO: compound(+1). now holds.
from ulrich neumerkel
2010-11-21 22:11:10 +00:00
Vitor Santos Costa
0fa3fff5d5 [PATCH-YAP 5/5] ISO: reject 1E1 as float notation
from ulrich neumerkel
2010-11-21 22:09:07 +00:00
Vitor Santos Costa
c4913849c6 [PATCH-YAP 3/4] ISO: Restrict binary, octal, hexadecimal integer constant indicators
and exponent char to minuscules.  (6.4.4)
from Ulrich Neumerkel
2010-11-21 21:55:58 +00:00
Vitor Santos Costa
86d0a251b5 [PATCH-YAP 4/4] ISO: quote atoms starting with /* (7.10.5 d)
from ulrich neumerkel
2010-11-21 21:53:58 +00:00