Update WORKLOG.md

master
ar6496 4 years ago committed by GitHub
parent 5f54c2df4b
commit e52b59aead
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,9 +10,10 @@
- Handling Strings was difficult as storage and access was more complex than lists. - Handling Strings was difficult as storage and access was more complex than lists.
- In order for us to easily determine the correctness, we intentionally matches the error messages to the reference implementation. - In order for us to easily determine the correctness, we intentionally matches the error messages to the reference implementation.
- Creation and use of objects was a major challenge. - Creation and use of objects was a major challenge.
- - Objects required allocation of space on the heap and access to each object required dereferencing the pointer to the objects.
- Testing various scenarious with similarly defined variables were time consuming. Instead, we defined certain set of variables in the beginning of the student contributed test programs, and then used the same variables throughout the programs to cover various bad and good scenarious. - Testing various scenarious with similarly defined variables were time consuming. Instead, we defined certain set of variables in the beginning of the student contributed test programs, and then used the same variables throughout the programs to cover various bad and good scenarious.
- Another challenge was to come up with good test cases to have a broader cover. Our approach to this issue was investigating Type Checking rules and writing adverse code to those rules to see if our analyzer can make correct inferences. - Another challenge was to come up with good test cases to have a broader cover. Our approach to this issue was investigating Type Checking rules and writing adverse code to those rules to see if our analyzer can make correct inferences.
## Improvements: ## Improvements:
- More checks and error messages like checking if formal parameter type does not match corresponding expression type.
- Added more tests to rigorously check program flow. And a test(diff.py) to show a case where our implementation showed better recoverability compared to the reference compiler. - Added more tests to rigorously check program flow. And a test(diff.py) to show a case where our implementation showed better recoverability compared to the reference compiler.

Loading…
Cancel
Save