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.

2 commands :(

From Esolang
Jump to navigation Jump to search

2 commands :( is a language by Ϫ (talk), made as the sequel to 3 commands :).

2 commands :( has 2 commands and 2 cells.

Commands

1 If cell 2 is 256, output cell 1 as a number. If it is 257, output it as an ASCII character. If it is 258, get the user's input and put it into cell 1. If it is 259, flip cell 1's sign. If it is 260 or more, reset cell 2 to 255. Anything else increments cell 1.
2 Swap cells 1 and 2.

Programs

"Hi"

1111111111111111111111111111111111111111111111111111111111111111111111112111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111112121121212111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111121121