Execute Brain****/Scheme: Difference between revisions

m
Fixed syntax highlighting.
(An implementation of Brainf*** added for Scheme.)
 
m (Fixed syntax highlighting.)
 
Line 2:
{{works with|Guile}}
Expects a Brainf*** source code file as a command-line argument.
<langsyntaxhighlight lang="scheme">
; A Brainfuck interpreter in Scheme
(define bf-stack-size 30000)
Line 93:
 
; Execute the file
(bf-run (bf-get-program-from-file bf-file) bf-stack-size)</syntaxhighlight>
</lang>
9,479

edits