Anonymous user
Execute Brain****/Java: Difference between revisions
m
Added note about expansion to the right an Turing completeness.
m (Cleaned up comments and description a bit.) |
m (Added note about expansion to the right an Turing completeness.) |
||
Line 2:
In this implementation of [[Brainf***]], the code is read in all at once and checked for uneven brackets (unequal amounts of [ and ] commands). If that error occurs, the code will obviously not be run.
Under the hood, the program memory is an ArrayList of Integers which expands
import java.io.BufferedReader;
|