Proprietary Esolang

From Esolang
Jump to navigation Jump to search
Proprietary Esolang
Paradigm(s) Imperative
Designed by User:Hakerh400
Appeared in 2023
Computational class Turing complete
Major implementations Implemented
File extension(s) .txt

Proprietary Esolang is an esolang invented by User:Hakerh400 in 2023.

Overview

This esolang is an example of a language whose both specification and implementation are publicly available, but nobody except its creator can make any useful programs. The reason is because every program must be signed with Hakerh400's private RSA 2048-bit key.

The syntax is essentially the same as Python, except that at the end of each program a valid RSA signature of the program must appear. If the signature is valid, interpret the file as a Python program. Otherwise, throw an error.

Examples

Hello, World!

print('Hello, World!')
#8065A25ADB01B6F05BB04F06C6B5C0625DD9E2620686BADB6CEC7890D7B3AF3E0C021AF8283E6F340BE131EEF83E3CC984362ECA962ADF1AF1D8226F35047522B7A021304F692C4E770F5F533068D3FAC8945D9BC159A9C26AD1347D085EC4B4187DD0D50BA40232593BC7ADA1EF6A3492CDE4A291D113F0525BF25F2D06EC58218DC6D3B1C11360030A27D35A80C3DCEBA3DF6B3C20D37AB81C8D5D177209A0EEAD85791B278CB1D1009F6A9F260B03AA0D64C0BA1F0AA48B654AC08DAE424DBCF32C45653334575D7DB0D5EC22A71D3F23D2703BC9F0F5F6B649D037425D983DFF9A5BC31406443AC11753E0EAF43D1EACF152EC33B568E002A245F061D290

Truth machine

n = input()
if n == '1':
  while 1:
    print(1)
else:
  print(0)
#7A93B53DCCC0F6FE8F62E874246AF0810EA24BD65041BFF767DB3FE00F6176CCD4B285DB89B9964F8FB8C90E7B1A100F998C3D2C619974057156DF7F04EF57C3EE33F3AD248E570CE5EB0DDD4523C1DDCB90E0AAAE4D11649C1D00C2B57C31EB38D40BA71DBD19573C7119A216FB4795B1939D50F8686EBBC113E964214AEB200D617734D3F7F4F87FC4D9BC2E7B739664A6BE40933B6E0CA707CF3B7DD687BD88FCCEB4F0F5E0459445AA09A0D76E496132129DC50BEC92C6A9BAAF6451FA170CB1D8D49E606571F0D750FB245520FBC8A2C05588C5DC539CCD1A77EC48BF9E6AADFCA56457279EC38E36DCDCA92079590AD2FFDE68B09F02A66C73E90B4324

Implementation

Implementation in Python