Skip to content
Snippets Groups Projects
Commit 23355e48 authored by Richard W.M. Jones's avatar Richard W.M. Jones
Browse files

Update TODO.

parent d279dc7c
No related branches found
No related tags found
No related merge requests found
...@@ -4,3 +4,24 @@ Enhancements to pa_goal: ...@@ -4,3 +4,24 @@ Enhancements to pa_goal:
rule so we can improve error messages. rule so we can improve error messages.
- Implement some sort of tracing based on the above. - Implement some sort of tracing based on the above.
It should be possible to register goal "atexit [of goal]" handlers.
These only run when the goal successfully exits, allowing:
- implicit memory_set
- implicit check_target
Multiple definitions of goals:
let goal file_exists filename when filename `starts_with` "/foo" ->
...
let goal file_exists filename when filename `starts_with` "/bar" ->
...
- Might be implemented something like this:
add_goal (`File_exists, fun patt -> raise Matches, fun patt -> expr)
then when we run goals, we check them against all patterns (how?)
and only if one matches to we run that function. Multi-matches are
not permitted.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment