Sucks
Jump to navigation
Jump to search
Sucks is a derivative of Suc by User:ChuckEsoteric08
Description
It's syntax is very similar to Suc, but with following additions:
IN x
Would input a number and store it in register x
CIN x
Would input byte x and store it's value in reigster x
OUT x
Ouptput register x as a number, unlike in Suc it's not an optional command
COUT x
Output reigster x as a character
*x
Would replace argument with value of register x, but it can't replace a line number
Short form
In this version all of the commands are replaced with their one-character equivalents
INC x y
Becomes:
+x+y
CLR x
Becomes:
_x
JEQ x y z
Becomes:
=x=y=z
IN x
Becomes:
,x
OUT x
Becomes:
.x
CIN x
Becomes:
;x
COUT x
Becomes:
:x