#+TITLE: Development notes for Corewar
+* MARS
+
+** TODO Debug SPL instruction behaviour.
+
* Load file parsing
** DONE Use strings for program names
(if (null? rankings)
(print "No warriors on hill!")
(begin
- (print rankings)
(print "Warrior" "\t" "Score")
(print "-=-=-=-" "\t" "=-=-=")
- (for-each (lambda (r) (print (car r) "\t" (cadr r))) rankings)))))
+ (for-each (lambda (r) (print (car r) "\t\t" (cadr r))) rankings)))))
((hill-dir challenger-file)
(challenge hill-dir challenger-file))
(else
(newline-irx (irregex "^\n"))
(comma-irx (irregex "^,"))
(period-irx (irregex "^\\."))
- (redcode-irx (irregex "^;redcode\n"))
+ (redcode-irx (irregex "^;redcode.*\n"))
(name-start-irx (irregex "^;[ \t]*name "))
(name-irx (irregex "^[^\n]*"))
(author-start-irx (irregex "^;[ \t]*author "))