TWPL
Jump to navigation
Jump to search
Intro
TWPL(the worst programming language) was created by User:helpeesl on may/1/2025 and was designed to be the worst language to program in.
Why is it so bad?
- You can only use whitespace, otherwise it won’t work.
- Everything starts at 1
- Text is flipped and reversed
- It has brainfuck loops
- It uses the Qack 1st Matrix 2nd data structure
- It uses Complex numbers
- Commands are decided by the value of ((W+1)*(P+1)-1)%23
Commands
| Number | Action (a last, b almost last, i input, m matrix, o output, p pointer, z first, + right, - left, & and, … on and on, “ text, # number, -> replace, <- goto, <-> swap, ‘ text) |
|---|---|
| 1 | a<-z |
| 2 | z<-a |
| 3 | a<->b |
| 4 | a…<->…z |
| 5 | a->a+&a |
| 6 | a-> |
| 7 | a->ma |
| 8 | ma->a |
| 9 | oa” |
| 10 | ia” |
| 11 | ia# |
| 12 | oa# |
| 13 | a->a’add’b b-> |
| 14 | a->’natural exponent’a |
| 15 | a->’natural logarithm’a |
| 16 | a->’zero minus max’a&b b-> |
| 17 | ‘if’p‘at most zero’(p->‘18’) |
| 18 | ‘if’p‘greater than zero’(p->‘17’) |
| 19 | a->a‘concat’b b-> |
Every other number is a no-op
Characters you can use
Tab-00009 Lnf-0000A Tbv-0000B Frf-0000C Crf-0000D Spc-00020 Nxl-00085 NBS-000A0 OSM-01680 Nqu-02000 Mqu-02001 Nsp-02002 Msp-02003 3/M-02004 4/M-02005 6/M-02006 Fgs-02007 Pns-02008 Tns-02009 Hrs-0200A Lsp-02028 Psp-02029 NXS-0202F MMS-0205F Ids-03000 MVS-0180E ZWS-0200B ZWN-0200C ZWJ-0200D Wjn-02060 0XS-0FEFF