fixed "an" and added template for read-file

This commit is contained in:
Tommaso Rodolfo Masera 2018-11-27 09:26:22 +01:00
parent fba6455020
commit df8959f5ff

View file

@ -12,7 +12,7 @@
; Interpretation: a tape in brainf*ck's Turing machine.
; A DataPointer (DP) is a NonNegInt
; Interpretation: an data pointer in the brainf*ck language in a tape.
; Interpretation: a data pointer in the brainf*ck language in a tape.
; A Program is a String of:
; - ">"
@ -45,6 +45,11 @@
(world-program w)
(world-ip w)))
; read-file: FileName -> String
; Given a filename, parses it and returns the content as a string.
(define (read-file fl)
...)
; TODO:
; - read-file: FileName -> String
; - string->program: String -> Program (filter of valid instructions)