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

m
split paragraph for readability
(Here's a BF interpreter in Tcl)
 
m (split paragraph for readability)
Line 1:
{{implementation|Brainf***}}{{collection|RCBF}}[[Category:Tcl]]
This [[Brainfuck]] interpreter is derived from code on [http://wiki.tcl.tk/9490 The Tcler's Wiki], and is written to be short but not particularly clear. To use it, save it to a file (e.g., called “bf.tcl”) and run that against <tt>tclsh</tt> with either the name of the file containing the BF program or just input the program on stdin; the program will only begin execution after you do end-of-file (however that's done on your OS). For example:
 
To use it, save it to a file (e.g., called “bf.tcl”) and run that against <tt>tclsh</tt> with either the name of the file containing the BF program or just input the program on stdin; the program will only begin execution after you do end-of-file (however that's done on your OS). For example:
tclsh8.5 bf.tcl helloWorld.bf
==Interpreter Implementation==
Anonymous user