Feedback#1
Open
github-classroom[bot] wants to merge 46 commits into
Open
Conversation
feat: add keywords tokens for lexical analysis
* feat: implement IDSTRING token * feat: implement IDSTRING and STRING token * test: implement test for the case <string> + <idstring> * refactor: change regex to be more clear * test: change string to validate another symbols matching --------- Co-authored-by: root <root@DESKTOP-4D31MRG>
* chore: create folder for own tests * feat: add integer literal lexical analysis * fix: add ;
* feat: add comment lexer * chore: create comment ignore test * fix: add ; --------- Co-authored-by: saramcav <saracavalcante@id.uff.br>
* feat: implement indent and dedent lexical handlers * test: add tests for indentation
* feat:add binary operators * feat: add precedences for bin_op
* fix: handle dedent in eof * feat: create literal rule in parser
* fix: correct integer_literal sintax match * feat: implement rules to typed variable definition * test: add own test to var declaration * feat: implement rules to var declaration
* feat: implement scope declaration rules * test: implement tests to scope declarations * feat: implement global_decl and nonlocal_decl * fix: correct test
* feat: add classdef parser rule * test: add classdef parser test * fix: change right location of typed var * fix: add aux non terminal
* add member_expr * add index_expr * add cexpr (uncomplete) * add expr (uncomplete) * feat:add missing expressions and non terminals * add precedence for identifier
* feat: add funcdef parser rule * test: add test for funcdef parser rule
* add member_expr * add index_expr * add cexpr (uncomplete) * add expr (uncomplete) * feat:add missing expressions and non terminals * add precedence for identifier * fix:removing expr_ifElse * fix:readd classDef acidentally removed
* feat: implement statements parsing * fix: change elseBody to empty list in if only case * test: add binary search case to test statements
* fix: solving indentation and another crazy problems * fix: handle raw string and fix targets list position * fix: add bin_op at a higher level --------- Co-authored-by: raphlcc <ra_carvalho@id.uff.br>
* fix: solving indentation and another crazy problems * fix: handle raw string and fix targets list position * fix: add bin_op at a higher level * doc: add comments and improve name vars * doc: add submission questions in readme * doc: add answers questions 1 and 2 --------- Co-authored-by: raphlcc <ra_carvalho@id.uff.br>
* feat:TestPrototype * update:testPrototype * fix: fix return xright * fix: solve INDENT column * style: delete a comment --------- Co-authored-by: raphlcc <ra_carvalho@id.uff.br>
* feat:TestPrototype * update:testPrototype * good student_contributed test case
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
👋! GitHub Classroom created this pull request as a place for your teacher to leave feedback on your work. It will update automatically. Don’t close or merge this pull request, unless you’re instructed to do so by your teacher.
In this pull request, your teacher can leave comments and feedback on your code. Click the Subscribe button to be notified if that happens.
Click the Files changed or Commits tab to see all of the changes pushed to the default branch since the assignment started. Your teacher can see this too.
Notes for teachers
Use this PR to leave feedback. Here are some tips:
For more information about this pull request, read “Leaving assignment feedback in GitHub”.
Subscribed: @saramcav @raphlcc @ThiagoAnorian