|
L00P is an esoteric programming language, a Brainfuck-variant. The name is Leetspeak for "loop". Differences to Brainfuck are as follows:
- An implicit loop around each L00P program (hence the name). A program can only be ended with an & symbol and Brainfuck-style []-loops do not exist.
- If-else -structure. Syntax: (code1 | code) or [code2 | code1]. Means IF a[p] THEN code1 ELSE code2.
- New instructions:
| Character | Meaning |
| ; : | input/output a[p] in decimal notation. |
| 0 | a[p] = 0 |
| * | a[p] *= 2 |
| _ | a[p] = - a[p] |
| # | p = p + a[p] |
| @ | a[p] = a[p + a[p]] |
| $ | a[p + a[p]] = a[p] |
| & | terminate program |
| S | A = sign(A) |
External links
The L00P Programming Language (http://www.angelfire.com/geek/gwestenb/l00p/l00p.html)
|