draft of classes#19
Open
milenanedeljkovic wants to merge 59 commits into
Open
Conversation
draft of classes, AGAIN
beginning of AST class, updated classes from the last commit
Wrote setters and Getters for all classes inheriting from Statement.
I added methods get() and set() to every class inherited from Expression in ast.hpp file
+ correction of few typos found
I followed the tutorial by Ruslan Spivak "Let's Build a Tutorial". The tutorial is given in Python, so I have been working on converting the code to C++. This is not a completely debugged version in C++, but the Python code works. Although this is not directly relevant to the project, this helped me understand parsing, tokenizing and lexical analysis, which will be useful towards the completion of the rest of the project.
…visualizer into mattea777-patch-1
I added a cache to store the changes in variables. I created constructors where the cache is passed by reference so different blocks and operations all modify one cache.
- cases instead of ifs in get_type functions from dasha - all Expressions and Statements that are arguments in other classes are passed by reference
I copied the already existing classes into separate cpp/hpp files in order to avoid git conflicts.
for elena to put into the group week 3 report
Workspace up to date w reports
…go over it again because it will be important for variable tracking
…med class.hpp to return.hpp
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.
No description provided.