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

TP2 #3

Merged
merged 11 commits into from
Mar 1, 2023
Merged

TP2 #3

merged 11 commits into from
Mar 1, 2023

Conversation

LBF38
Copy link
Owner

@LBF38 LBF38 commented Mar 1, 2023

FinEx TP2

initial commit for TP2 setup
adding the TP2 pdf file
It was not working properly for the keywords regex, because it was
testing all occurrences of the regex, even in the middle of a word.
So I added boundaries to the regex.
Also updated the tests and added constants for the regexes.
Updated tests with parametrized fixtures.
Also updated fixtures with other elements of the language we parse.
these are the first steps to the parser. The structure is here, now
I need to implement the logic.
Everything is configured. Now let's wire it up.
Implemented all the basic parser functions. Now need to run tests and
fix bugs.
Made examples respect the syntax of the mini-C given for the TP2.
Modified p4rser.py for resolving tests errors.
Note for making a parser: need to check the order of the rules or
strengthen the rules. (check word boundary)
@LBF38 LBF38 added the enhancement New feature or request label Mar 1, 2023
fix merge conflicts for PR#3
@LBF38 LBF38 merged commit 8ab3cf2 into master Mar 1, 2023
@LBF38 LBF38 deleted the TP2 branch March 1, 2023 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant