Universal Turing machine: Difference between revisions

m
Line 2,377:
1. Instruction set
 
WeTmcl useuses postfix notation.
 
<pre>'=' : if scanned symbol = op do
Line 2,395:
 
<lang lisp>(defun run (table input state halt blank)
;; help : cyril nocton <cyril.nocton:gmail.com>
(let (lStack (rStack input) code operand match)
(loop until (eql state halt) do
Line 2,424 ⟶ 2,423:
4. Execution
 
{{Out}}
<pre>(run +incrementer+ '(1 1 1) 'q0 'qf 'b)
M = (QF, 111.1)
422

edits