Ian MacLarty
fef2d804cc
Allow subterms to be tracked through partial unifications in the
...
Estimated hours taken: 4
Branches: main
Allow subterms to be tracked through partial unifications in the
declarative debugger.
This involves adding new types of atomic goals to the program representation
stored with the executable of programs compiled with `--trace rep'.
Remove the ``unsafe'' from the cast goal representation to bring the program
representation up to date with Mark's recent change.
browser/declarative_execution.m:
Read partial unification atomic goals from bytecode.
browser/declarative_tree.m:
Handle partial unifications when tracking a subterm.
compiler/prog_rep.m:
If a construction or deconstruction unification is a partial
unification then generate a partial construction or deconstruction
goal type.
Make atomic_goal_info_to_byte_list return the list of variables bound
by the atomic goal so we can check if a deconstruction is a
partial unification (the LHS will be in the list of bound variables).
Wrap the arguments of the RHS of the partial unification in a maybe
type, so that we can tell which were input.
mdbcomp/program_representation.m:
Add a new atomic goal `unify_partial_rep' to represent partial
unifications.
tests/debugger/declarative/Mmakefile:
tests/debugger/declarative/partial.exp:
tests/debugger/declarative/partial.inp:
tests/debugger/declarative/partial.m:
Test tracking of subterms through partial unifications.
2005-09-13 04:04:07 +00:00
..
2005-09-13 03:36:45 +00:00
2005-06-17 10:13:57 +00:00
2005-05-20 06:15:28 +00:00
2005-05-20 06:15:28 +00:00
2005-08-08 02:57:09 +00:00
2005-08-30 04:12:17 +00:00
2005-08-12 02:33:10 +00:00
2005-09-12 05:25:01 +00:00
2005-09-12 05:25:01 +00:00
2005-03-24 05:34:41 +00:00
2005-08-30 04:12:17 +00:00
2005-09-12 08:41:57 +00:00
2005-09-12 08:41:57 +00:00
2005-09-12 05:25:01 +00:00
2005-08-29 08:44:14 +00:00
2005-03-24 05:34:41 +00:00
2005-09-12 05:25:01 +00:00
2005-08-12 05:14:17 +00:00
2005-08-12 02:33:10 +00:00
2005-08-08 02:57:09 +00:00
2005-08-08 02:57:09 +00:00
2005-09-12 05:25:01 +00:00
2005-09-07 06:51:57 +00:00
2005-08-08 02:57:09 +00:00
2005-03-30 01:32:29 +00:00
2005-03-24 05:34:41 +00:00
2005-08-31 03:08:11 +00:00
2005-08-29 15:44:32 +00:00
2005-04-23 06:29:48 +00:00
2005-09-12 05:25:01 +00:00
2005-09-12 05:25:01 +00:00
2005-06-29 03:20:24 +00:00
2005-09-07 06:51:57 +00:00
2005-09-07 06:51:57 +00:00
2005-03-31 04:44:33 +00:00
2005-03-24 05:34:41 +00:00
2005-09-12 05:25:01 +00:00
2005-05-06 08:42:37 +00:00
2005-08-18 05:18:28 +00:00
2005-08-30 04:12:17 +00:00
2005-08-30 04:12:17 +00:00
2005-08-30 04:12:17 +00:00
2005-08-30 04:12:17 +00:00
2005-09-12 05:25:01 +00:00
2005-09-12 05:25:01 +00:00
2005-08-30 04:12:17 +00:00
2005-08-30 04:12:17 +00:00
2005-09-12 05:25:01 +00:00
2005-07-22 12:32:07 +00:00
2005-09-07 06:51:57 +00:00
2005-07-08 04:22:13 +00:00
2005-08-30 04:12:17 +00:00
2005-08-30 04:12:17 +00:00
2005-08-30 04:12:17 +00:00
2005-07-22 12:32:07 +00:00
2005-09-07 06:51:57 +00:00
2005-08-29 15:44:32 +00:00
2005-09-02 13:57:27 +00:00
2005-09-12 05:25:01 +00:00
2005-08-30 04:12:17 +00:00
2005-08-12 05:14:17 +00:00
2005-09-12 05:25:01 +00:00
2005-09-07 06:51:57 +00:00
2005-09-12 08:20:27 +00:00
2005-07-26 03:31:06 +00:00
2005-03-24 05:34:41 +00:00
2005-08-30 04:12:17 +00:00
2005-09-12 05:25:01 +00:00
2005-09-09 02:43:09 +00:00
2005-04-22 08:08:22 +00:00
2005-05-12 04:06:55 +00:00
2005-09-01 05:28:28 +00:00
2005-05-18 05:49:12 +00:00
2005-08-30 04:12:17 +00:00
2005-09-12 05:25:01 +00:00
2005-09-02 08:20:24 +00:00
2005-09-12 05:25:01 +00:00
2005-09-12 05:25:01 +00:00
2005-09-12 05:25:01 +00:00
2005-09-12 05:25:01 +00:00
2005-04-15 15:14:44 +00:00
2005-08-30 04:12:17 +00:00
2005-08-30 04:12:17 +00:00
2005-08-29 03:22:32 +00:00
2005-09-12 08:41:57 +00:00
2005-09-12 08:41:57 +00:00
2005-03-24 13:33:34 +00:00
2005-09-12 08:41:57 +00:00
2005-09-09 06:12:54 +00:00
2005-08-27 09:42:10 +00:00
2005-08-30 04:12:17 +00:00
2005-09-12 08:41:57 +00:00
2005-08-30 04:12:17 +00:00
2005-09-12 05:25:01 +00:00
2005-09-07 06:51:57 +00:00
2005-06-16 05:19:56 +00:00
2005-08-27 09:42:10 +00:00
2005-09-12 05:25:01 +00:00
2005-05-26 00:17:06 +00:00
2005-03-24 05:34:41 +00:00
2005-04-19 02:47:16 +00:00
2005-08-30 04:12:17 +00:00
2005-09-07 06:51:57 +00:00
2005-08-30 04:12:17 +00:00
2005-07-08 04:22:13 +00:00
2005-09-12 05:25:01 +00:00
2005-09-07 06:51:57 +00:00
2005-07-22 12:32:07 +00:00
2005-04-07 06:32:17 +00:00
2005-04-19 02:47:16 +00:00
2005-09-12 05:25:01 +00:00
2005-08-30 04:12:17 +00:00
2005-09-05 03:45:59 +00:00
2005-09-12 05:25:01 +00:00
2005-09-05 03:45:59 +00:00
2005-07-26 01:56:30 +00:00
2005-08-30 04:12:17 +00:00
2005-04-26 04:32:49 +00:00
2005-04-26 04:32:49 +00:00
2005-04-26 04:32:49 +00:00
2005-04-27 03:19:19 +00:00
2005-04-26 04:32:49 +00:00
2005-04-26 04:32:49 +00:00
2005-03-24 05:34:41 +00:00
2005-09-12 05:20:30 +00:00
2005-09-12 05:25:01 +00:00
2005-08-18 05:16:08 +00:00
2005-09-07 06:51:57 +00:00
2005-09-13 01:19:57 +00:00
2005-09-13 01:19:57 +00:00
2005-09-13 01:19:57 +00:00
2005-09-13 01:19:57 +00:00
2005-09-13 01:19:57 +00:00
2005-09-13 01:19:57 +00:00
2005-09-13 01:19:57 +00:00
2005-09-13 01:19:57 +00:00
2005-09-13 01:19:57 +00:00
2005-09-13 01:19:57 +00:00
2005-09-13 01:19:57 +00:00
2005-09-13 01:19:57 +00:00
2005-09-13 01:19:57 +00:00
2005-09-12 05:25:01 +00:00
2005-09-13 01:19:57 +00:00
2005-09-12 05:25:01 +00:00
2005-09-12 05:25:01 +00:00
2005-09-12 05:25:01 +00:00
2005-09-01 09:06:35 +00:00
2005-09-12 05:25:01 +00:00
2005-09-01 09:06:35 +00:00
2005-09-01 09:06:35 +00:00
2005-06-30 05:59:35 +00:00
2005-08-08 02:33:19 +00:00
2005-03-24 05:34:41 +00:00
2005-08-27 09:42:10 +00:00
2005-08-27 09:42:10 +00:00
2005-09-12 05:25:01 +00:00
2005-08-27 09:42:10 +00:00
2005-08-27 09:42:10 +00:00
2005-09-12 05:25:01 +00:00
2005-08-27 09:42:10 +00:00
2005-09-12 05:25:01 +00:00
2005-09-05 07:09:50 +00:00
2005-09-12 05:25:01 +00:00
2005-09-12 05:25:01 +00:00
2005-09-07 06:51:57 +00:00
2005-09-07 06:51:57 +00:00
2005-09-07 06:51:57 +00:00
2005-09-12 08:41:57 +00:00
2005-09-07 06:57:39 +00:00
2005-03-24 05:34:41 +00:00
2005-08-30 04:12:17 +00:00
2005-07-22 12:32:07 +00:00
2005-08-30 04:12:17 +00:00
2005-09-07 06:51:57 +00:00
2005-04-07 06:32:17 +00:00
2005-09-12 05:25:01 +00:00
2005-08-29 08:44:14 +00:00
2005-09-12 05:25:01 +00:00
2005-09-07 06:51:57 +00:00
2005-04-26 04:32:49 +00:00
2005-09-12 05:25:01 +00:00
2005-03-24 13:33:34 +00:00
2005-09-12 03:05:51 +00:00
2005-09-13 03:25:43 +00:00
2005-09-12 08:20:27 +00:00
2005-09-12 05:25:01 +00:00
2005-09-12 08:20:27 +00:00
2005-09-12 08:20:27 +00:00
2005-08-29 03:22:32 +00:00
2005-09-12 05:25:01 +00:00
2005-09-13 04:04:07 +00:00
2005-09-12 05:25:01 +00:00
2005-09-12 05:25:01 +00:00
2005-05-23 03:15:49 +00:00
2005-09-12 05:25:01 +00:00
2005-08-30 04:12:17 +00:00
2005-09-12 05:25:01 +00:00
2005-08-30 04:12:17 +00:00
2005-04-07 06:32:17 +00:00
2005-09-12 03:05:51 +00:00
2005-09-12 08:20:27 +00:00
2005-04-20 12:57:59 +00:00
2005-09-12 05:25:01 +00:00
2005-08-30 04:12:17 +00:00
2005-09-12 05:25:01 +00:00
2005-08-30 04:12:17 +00:00
2005-07-22 12:32:07 +00:00
2005-09-12 08:20:27 +00:00
2005-03-30 00:50:21 +00:00
2005-09-12 05:25:01 +00:00
2005-08-30 04:12:17 +00:00
2005-09-12 05:25:01 +00:00
2005-09-12 05:25:01 +00:00
2005-08-29 08:44:14 +00:00
2005-05-26 00:17:06 +00:00
2005-09-12 03:05:51 +00:00
2005-08-30 04:12:17 +00:00
2005-08-27 09:42:10 +00:00
2005-09-13 03:25:43 +00:00
2005-09-02 05:00:29 +00:00
2005-08-25 03:19:48 +00:00
2005-09-12 08:41:57 +00:00
2005-08-25 03:19:48 +00:00
2005-04-07 06:32:17 +00:00
2005-04-07 06:32:17 +00:00
2005-04-07 06:32:17 +00:00
2005-04-07 06:32:17 +00:00
2005-08-29 08:44:14 +00:00
2005-08-04 09:39:24 +00:00
2005-04-07 06:32:17 +00:00
2005-04-08 06:50:49 +00:00
2005-07-11 16:11:15 +00:00
2005-09-12 05:25:01 +00:00
2005-04-19 02:47:16 +00:00
2005-04-07 06:32:17 +00:00
2005-08-15 15:28:21 +00:00
2005-07-11 16:11:15 +00:00
2005-08-29 08:55:12 +00:00
2005-08-29 08:44:14 +00:00
2005-09-12 05:25:01 +00:00
2005-06-03 15:59:48 +00:00
2005-06-17 10:13:57 +00:00
2005-08-29 03:22:32 +00:00
2005-08-30 04:12:17 +00:00
2005-04-01 14:29:19 +00:00
2005-09-12 05:25:01 +00:00
2005-09-12 05:25:01 +00:00
2005-09-12 05:25:01 +00:00
2005-09-12 05:25:01 +00:00
2005-09-12 05:25:01 +00:00
2005-09-12 05:25:01 +00:00
2005-09-12 05:25:01 +00:00
2005-09-12 05:25:01 +00:00
2005-08-30 04:12:17 +00:00
2005-08-15 07:18:31 +00:00
2005-08-30 04:12:17 +00:00
2005-08-30 04:12:17 +00:00
2005-09-07 06:51:57 +00:00
2005-08-15 07:18:31 +00:00