Universal Turing machine: Difference between revisions

Content added Content deleted
Line 2,379: Line 2,379:
We opt for the reverse polish notation.
We opt for the reverse polish notation.


<pre>'=' : if scanned symbol = op do ...
<pre>'=' : if scanned symbol = op do
'%' : print op
'%' : print op
'<' : move left
'<' : move left
'>' : move right
'>' : move right
'@' : state <- op
'@' : state <- op
* : op <- *</pre>
* : op <- *</pre>


2. Interpreter
2. Interpreter