Anonymous user
Execute Brain****/Ada: Difference between revisions
m
Categorization now in master page
m (<lang>) |
m (Categorization now in master page) |
||
Line 1:
{{implementation|Brainf***}}{{collection|RCBF}}
This is a simple implementation of [[Brainf***]] (it will be called just BF in what follows). It is written in [[Ada]].
This implementation imposes hard limits in the size of both the memory and the program size. The whole program is read first, and then interpreted. The program must be stored in a file. The filename is given as the only argument to the interpreter.
Line 16:
More detailed information about the code can be found in the comments throughout it.<br clear=all>
<lang ada>-- BF Interpreter
-- Usage: bf programfile[.bf]
Line 186 ⟶ 185:
New_Line;
end Bf;</lang>
|