Skip to content

Workspace#25

Open
milenanedeljkovic wants to merge 122 commits into
mainfrom
Workspace
Open

Workspace#25
milenanedeljkovic wants to merge 122 commits into
mainfrom
Workspace

Conversation

@milenanedeljkovic

Copy link
Copy Markdown
Collaborator

No description provided.

milenanedeljkovic and others added 30 commits November 9, 2021 11:31
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.
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.
Workspace up to date w reports
…go over it again because it will be important for variable tracking
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.

10 participants