Plis
Jump to navigation
Jump to search
(note: this needs updating)Plis (programming language in scratch) is a language designed in scratch(3). It has a fixed number of variables and lists. It copy's much from assembly languages.
examples
hello world:
?"hello world".
truth-machine:
?;í=1;ï2;.
quine:
?ć.
add 2 numbers:
?;xï?;?+xï.
List
name | type | sudo code |
---|---|---|
?
|
write | ask(read())
|
.
|
write | stop_all()
|
"
|
read | while code[i]!='"' and not ESC:return.append(code[i])
|
NOT_DEF
|
read | while code[i]!=';':return.append(code[i])
|
í
|
write | if if():pc=read()
|
ï
|
read | return answer
|
=
|
if | return read()==read()
|
ć (not implemented)
|
read | return code
|
+
|
read | return read()+read()
|
x
|
write | var x=read()
|
x
|
read | return x
|