uhmanoa-transpiler-project / shaka-scheme

The official repository for the UH Manoa Transpiler Project's Scheme interpreter, Shaka Scheme.
32 stars 24 forks source link

Pull request closure #37

Closed btwooton closed 6 years ago

btwooton commented 6 years ago

I have finished implementing the Closure class. I have written unit tests for the limited amount of functionality that I can test without having actually plugged it into the Virtual Machine. I figured that the real testing will come when I implement the evaluation functionality for the final four assembly expressions, which will come in the next pull request. I know that the way I have designed the Closure class is perhaps slightly ad-hoc, because I have decided to roll Native Closure, Continuation Closure, and regular Closure all into one type, but I believe that if I am able to integrate this class smoothly into the VM, it will result in an overall simpler system design than having separate types for Closure objects. Please look over this pull request ASAP and let me know if you would like to see changes. I am behind schedule for this sprint but would like to at least get started on the final pull request for the VM before the meeting this Friday.