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
add recover_formula and prefix_to_infix functions to logicparser.py #15018
Comments
Attachment: trac_14951_tokenize_tree_fix.patch.gz apply first |
Attachment: trac_14952_logic_if_while_syntax.patch.gz apply second |
apply third |
comment:2
Attachment: trac_15013_logic_docstrings.patch.gz Referee:
That's it. |
Apply this last. This is the patch for this ticket, but depends on the previous 3. |
Attachment: trac_15018_recover_formula.2.patch.gz This file is the same as trac_15018_recover_formula.2.patch. |
comment:3
Attachment: trac_15018_recover_formula.patch.gz I forgot to check the box for replacing the file with the same name. That is why there are attachments called trac_15018_recover_formula.patch and trac_15018_recover_formula.2.patch. They are exactly the same, so only apply one of them when testing the patch. I would get right of one of them, but I don't see an option for removing attachments. |
comment:5
The last patch listed in the attachments, trac_15018_recover_formula.patch, is the only patch that should be integrated into sage for this ticket. The first three patches are the patches from the dependencies for this ticket that were placed here for the convenience of the reviewer. The patch, trac_15018_recover_formula.2.patch is identical to trac_15018_recover_formula.patch. |
comment:6
First patch of the series does not apply any more, please fix. |
Commit: |
Branch: public/ticket/15018 |
comment:7
I've rebased this and made some minor doc changes. If everything is good, then positive review. New commits:
|
Work Issues: needs rebase |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed work issues from needs rebase to none |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:14
looks good to me, positive review. |
Reviewer: Frédéric Chapoton |
Changed reviewer from Frédéric Chapoton to Frédéric Chapoton, Travis Scrimshaw |
comment:15
Thanks Frederic. |
Changed branch from public/ticket/15018 to |
In the patch for this ticket, the functions recover_formula and prefix_to_infix are added to logicparser.py in the logic module. The function recover_formula allows for the recovery of a boolean formula from its parse tree. The function prefix_to_infix converts a parse tree from prefix form to infix form. Here are some examples.
Depends on #14951
Depends on #14952
Depends on #15013
Component: misc
Keywords: logic, logicparser, prefix, infix
Author: Paul Scurek
Branch/Commit:
521ba42
Reviewer: Frédéric Chapoton, Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/15018
The text was updated successfully, but these errors were encountered: