Universal Turing machine: Difference between revisions
Content added Content deleted
Cyril Nocton (talk | contribs) m (→Tmcl version) |
Cyril Nocton (talk | contribs) m (→Tmcl version) |
||
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> |
|||
2. Interpreter |
2. Interpreter |