plum-umd / the-838e-compiler

Compiler for CMSC 838E
2 stars 0 forks source link

Pattern matching 2 #27

Closed OlasubomiEfuniyi closed 3 years ago

OlasubomiEfuniyi commented 3 years ago

Created this new branch after a lot of confusion but it appears the problem was that when there was a match error, I failed to pop the argument I had pushed on the stack before jumping to "raise_error". For some reason, this is fine on BC racket but not on CS racket. I think I should have popped it anyways so it's all good.

dvanhorn commented 3 years ago

I went ahead and made the change I requested.