alanmmckay / KLEINcompiler

A compiler written in Python to translate KLEIN programs into TM assembly language. A group project for the Translation of Programming Languages class at University of Northern Iowa.
1 stars 0 forks source link

Test Programs #66

Open alanmmckay opened 4 years ago

alanmmckay commented 4 years ago

I've been trying to start a library of test programs. Up to this point I've simply made a program to test what I needed to test at any given point in time and did not save it. Tyler, I asked you to make a solid library of programs. Is that going to happen?

tdrahe commented 4 years ago

like a lib of small programs like the one's I did to pass the addiction and subtraction tm? if that is what you mean I can def work on some of them tomorrow morning!

alanmmckay commented 4 years ago

Yeah, small programs to find the edge cases that we missed. For example, I don't think our implementation allows us to recursively call the main function. I'm likely going to make a program to illuminate this and mark it as a failed test case.

alanmmckay commented 4 years ago

I redact what I said about main and recursion. Seems to work. Let me know if you find a case which does not.

tdrahe commented 4 years ago

okay sounds good.

tdrahe commented 4 years ago

hey i don't really know what other tests we need to add in when all of his tests are in here. That entire suite of programs covers everything that he will test on.