›*&«&^Jj
Jump to navigation
Jump to search
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
›*&«&^Jj was a attempt at making ›*&«&^ turing complete by adding some commands:
J
Take user input and store as value
j
Create another value or register or whatever
/
Move to the left value or register or whatev
\
Move to the right register or whatev
&&
Set current value to the value to the left subtracted from the value on the right
[…]
brainfuck loop
Example
Cat Program
A repeating cat program, terminating merely on a 'null character' input, shall be adduced:
J[^J]
Truth-Machine
The following example represents a truth-machine implementation:
j\J^/&&j\\>*>*>*>*>*<<<<<<<<<<<<<<[<</<<\]/[/^\]
Interpreter
- Common Lisp implementation of the ›*&«&^Jj programming language. Please note that the concrete character set deployed constitutes a dependency on the Common Lisp implementation; in corollary, Unicode support may or may not be a feature incorporated in the personal environment. The interpreter at hand has been developed and tested with Steel Bank Common Lisp (SBCL) version 1.1.4 as part of the Lisp Cabinet 0.3.5 bundle.