-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
Wrote a basic parser class that needs functionality
The parser does not build a tree but it parses the tokens and returns an error if the format is wrong.
There was a problem hiding this 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.
There was a problem hiding this 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.
Summary
Updates for issue #12
Test Plan
I wrote a test case that it completely parses through: ["!", "(", "A", "&", "!", "B", "|", "C", ")"]