SletScript
Jump to navigation
Jump to search
Versions: 1 - 2 - 3 - 4 - 5 - 6
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
![]() |
|
| Designed by | User:I am islptng |
|---|---|
| Appeared in | 2025 |
| Computational class | Turing-complete |
| Reference implementation | Python |
| Influenced by | GolfScript |
| File extension(s) | .slet |
SletScript is a programming language designed by User:I am islptng.
Examples
Hello World
.+(Hello, world!)[\@n]
A+B problem
.+::
Quine
.":\#s(.":\#s(!)(!)s 1)(!)s 1
Fibonacci
\#t 0\#a 0\#b 1'>15t{#t+1t.b.\@n\#c a#a b#b+a c}
Factorial
Iterative
!fact n\\n"!m 1"+1+1n 1i*m i
Recursive
!fact n\\n?=1n 1*fact+n-1n
Try fact 10.
brainfuck interpreter
by Redstoneboi.
!bf s\\lf\\l{\#b[]\#t"!t[]s c?<"*([]-+<>.,)[c]{?=c@[#b+b[<t];?=c@]{\#l+b+<b-1\#d +l-<t#b":b+<b-1 1[]+":t l 1[-d][d]}+t[c]}t#b[\#i\#m\#p 0]<'><t p{\#c +t p?`c\\n ?*c=0+b m#p+p c;?=c@-#b":b m 1[%+-1+b m 256]?=c@+#b":b m 1[%+1+b m 256]?=c@<?>m 0#m+m-1#b+[0]b?=c@>{#m+m 1?><b m;#b+b[0]}?=c@..*+b m\\c?=c@,#b":b m 1[|*+f+-1#i+i 1\\n0];#p+p 1;}}
