Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error reporting in RTac #50

Open
jldodds opened this issue Nov 13, 2014 · 4 comments
Open

Error reporting in RTac #50

jldodds opened this issue Nov 13, 2014 · 4 comments
Assignees

Comments

@jldodds
Copy link

jldodds commented Nov 13, 2014

@andrew-appel and I were discussing the possibility of returning errors in RTac because it is important to us that when symbolic execution fails we are able to tell the user why.

A possible solution to this is to parameterize RTac over an error type and include something of that type in the failure. I'm not sure what the best way to propagate this information through tactics is though.

@gmalecha
Copy link
Owner

Do you just need an error message (add one to Fail) or do you need some sort of logging trace?

@jldodds
Copy link
Author

jldodds commented Nov 13, 2014

I think just an error message (although it should be able to carry things like entailments/programs) would be good, but it would probably be good to have more discussion before anything gets implemented

@gmalecha
Copy link
Owner

Adding a value to Fail would be pretty simple (if it is parametric, you could put whatever you want there). I guess technically RTac could be parameterized by an arbitrary monad that has a zero, that would allow for a logging implementation or a non-logging implementation, it would probably be a bit more complicated though.

@jesper-bengtson
Copy link
Collaborator

I think that adding an error message to Fail would be the way to go. it should be simple enough to do as it has no semantic meaning and just tags along for the ride.

/Jesper

On 13 Nov 2014, at 11:22, Gregory Malecha <notifications@github.commailto:notifications@github.com> wrote:

Adding a value to Fail would be pretty simple (if it is parametric, you could put whatever you want there). I guess technically RTac could be parameterized by an arbitrary monad that has a zero, that would allow for a logging implementation or a non-logging implementation, it would probably be a bit more complicated though.


Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-62919571.

@gmalecha gmalecha self-assigned this Nov 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants