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.

AH'TALIQUAE ENGLISH/Examples

From Esolang
Jump to navigation Jump to search

Main page: AH'TALIQUAE ENGLISH

Truth-machine

START WITH 0.1
DECLARE A VARIABLE truth AND INITIALIZE IT TO NIL
INPUT truth WITH DEFAULT_PROMPT AS PROMPT
IF truth IS TRUE THEN:
    LOOP THE CODES UNTIL truth IS NOT TRUE:
        PRINT "1" WITHOUT NEWLINE
    ENDLOOP
ENDIF
PRINT "0" WITHOUT NEWLINE
THE END