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

feat:Added parser code (that does not build tree) #32

Merged
merged 14 commits into from
Jul 17, 2024

Conversation

micah-0w0
Copy link
Collaborator

Summary

Updates for issue #12

Test Plan

I wrote a test case that it completely parses through: ["!", "(", "A", "&", "!", "B", "|", "C", ")"]

@micah-0w0 micah-0w0 linked an issue Jul 16, 2024 that may be closed by this pull request
5 tasks
Copy link
Owner

@bliutech bliutech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments. Make sure to test your code before opening a PR. Also, check the issue carefully. You should also add some unit tests.

parser/parse.py Outdated Show resolved Hide resolved
parser/parse.py Outdated Show resolved Hide resolved
parser/parse.py Outdated Show resolved Hide resolved
parser/parse.py Show resolved Hide resolved
parser/parse.py Outdated Show resolved Hide resolved
parser/parse.py Outdated Show resolved Hide resolved
parser/parse.py Outdated Show resolved Hide resolved
parser/parse.py Outdated Show resolved Hide resolved
parser/parse.py Outdated Show resolved Hide resolved
parser/parse.py Outdated Show resolved Hide resolved
@micah-0w0 micah-0w0 requested a review from bliutech July 17, 2024 02:09
Copy link
Owner

@bliutech bliutech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, great work! 😄 There are still a few areas that need fixing based on previous comments (for example, test cases are not properly written using unittest as specified in previous comments and on the original GitHub Issue). I will handle these my fixes this time but please test your code carefully and read the instructions carefully to resolve everything we discussed! Good work! 😄 This one was a tough one.

@bliutech bliutech closed this Jul 17, 2024
@bliutech bliutech reopened this Jul 17, 2024
@bliutech bliutech merged commit a35658b into main Jul 17, 2024
3 checks passed
@bliutech bliutech deleted the 12-parser-write-an-recursive-descent-parser branch July 17, 2024 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parser: Write an Recursive Descent Parser
2 participants