CPU Contest Submissions
- Posted by jeremy (admin) Dec 14, 2010
- 1172 views
Hello,
Thus far I have received submissions from:
- jimcbrown
- PeteE
- ChrisB
- coconut
- jeremy
I know more are coming, the due date has not yet arrived. Anyway, I wanted to say (especially to those above) that a few example .cpu files have been placed on the contesting scm repository. I did not run any of the emulators yet, but you may want to test against those CPU files as some is what I will be using during the judging phase.
There are .cpu files which are the CPU programs themselves. There is then an associated .out file which is the expected output. You should do something such as:
% eui mycpu.ex basics.cpu > basics.me % diff basics.out basics.me
If there is any output from diff, then your CPU is not compliant (or you've discovered a bug in basics.cpu As of this writing, these should be tested:
- basics.cpu
- life.cpu
- fib.cpu
- gcd.cpu
If you need to resubmit, you can do so up until the deadline. Once the deadline has passed, what I have is what will be kept, error or not.
The SCM repo is: hg:contest. For this exact contest, please view: hg:contest/file/default/2010-12-15-cpu.
Jeremy