There's A Donald Trump Programming Language

There's a Donald Trump Programming Language

If programming isn't political enough for you, maybe you need to try a new language. How about TrumpScript, which lets you create code that the great Donald Trump would be proud to execute. If he could, you know, understand it.

Created at Rice Univeristy's HackRice last weekend in just 20 hours, its makers claim that it's "the programming language Trump would approve of. Just like he is making America great again, we hope our efforts will make programming great again."

Based on Python, TrumpScript contains some unique features, as its creators explain:

  • No floating point numbers, only integers. America never does anything halfway.

  • All numbers must be strictly greater than 1 million. The small stuff is inconsequential to us.

  • There are no import statements allowed. All code has to be home-grown and American made.

  • Instead of True and False, we have fact and lie.

  • All programs must end with "America is great."

Error messages — which presumably Trump would get a lot of himself given his understanding of technology — are mostly quotes taken from the man himself. Incorrect syntax, though, will see you being told that "Trump doesn't want to hear it."

TrumpScript follows in the fine footsteps of the Arnold Schwarzenegger.programming language of 2014, which was equally amusing. In ArnoldC, as it was called, every program had to start with "IT'S SHOWTIME" and end with "YOU HAVE BEEN TERMINATED."

You can download everything you need to use TrumpScript over on GitHub. Good luck.

[TrumpScript via BoingBoing]


Comments

    You neglected to mention that words not associated with instructions are ignored. So you can say make America great or I will make America great again to assign a variable great to another variable America. A feature that makes the language very interesting to read and write, as you could literally embed code into a Trump speech.

    We'll make Mexico pay for a wall,
    and make China pay for the NSA,
    and make Cuba pay for my election campaign,
    and make Putin pay for a petting-zoo at the Whitehouse,
    and make France incorporate mechatronics into the Statue of Liberty.

    Amerrrrica, fuck yeah!

Join the discussion!

Trending Stories Right Now