Tautology
Jump to navigation
Jump to search
Tautology is a programming language in which all of the programs and input evaluate to true. It is not Turing complete.
Implementation
It is implemented in C++:
#include <iostream> using namespace std; int main() {char x[65535]; while(1){cout << "> ";cin >> x;cout << "True\n";} //Takes an input and outputs true return 0;}