CLFCE
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.
CLFCE (or Computer Language For Code Execution. also pronounsed as self-see) is a esoteric programing language created by User:Ractangle
Commands
| Name | Meaning |
|---|---|
| compile [...] | Used as a way to execute an array of code. |
| therm(...) | Print command. |
| if(...) then(...) | If command. |
| else(...) | Else command. |
| elseif(...) | Else if command. |
| loop(...) <stopelse(...)> | Loop command. |
| input(...) | Input command |
| <varname>(<varval>) | Creates/Edits a variable |
Examples
Hello World
compile [1]
therm("Hello, world!\n")
Infinite Loop
compile [1]
loop(therm("inf"))
Truth-machine
compile [1-3]
i(input("Input a 1 or an 0 here"))
if(i=0) then(therm(0))
else(loop(therm(1)))
Deadfish implementation
compile [1-10]
a(0)
loop(
c(input(">"))
if(c="i") then(a=a+1)
elseif(c="d") then(a=a-1)
elseif(c="s") then(a=a*a)
elseif(c="o") then(therm(a))
if(a=256) then(a=0)
elseif(a=-1) then(a=0)
)
Fixed Repeating Output
compile [1-6] i(input()) loop( i(i-1) therm(1) ) stopelse(i=0) therm(0)