We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
KEYWORD
Jump to navigation
Jump to search
KEYWORD uses keywords (like BASIC) for everything
The KEYWORDS
String
STRING hi
Comment
COMMENT hi
PRINT (STRING hello_world) COMMENT hello_world program
Label
LABEL hi
Goto
LABEL hi PRINT (STRING loop) GOTO hi
Keyword
KEYWORD HI (STRING hello) PRINT (HI)
Var
VAR a (STRING hi) PRINT (VAR a)
Number
NUMBER NUM NUM NUM COMMENT number 3
Math
ADD SUB MUL DIV MOD
Code block
CODE PRINT (STRING hi) END
If/elif/else
IF (condition) CODE END ELIF (condition) CODE END ELSE CODE END
True/false
TRUE FALSE AND OR NOT EQ NEQ GR LR GEQ LEQ
Input
VAR a (INPUT (STRING hi)) PRINT (VAR a)
Loop
LOOP 5 CODE END WHILE TRUE CODE END UNTIL TRUE CODE END
List
VAR a (LIST (STRING hi) NEXT (STRING hello) END) PRINT (VAR a)
Index
INDEX (LIST (STRING hi) NEXT (STRING hello) END) (NUMBER) COMMENT index 0 of ["hi", "hello"], aka "hi"