Trumpscript -- a python variant -- only allows numbers over 1,000,000; has no import statements (all declarations must be homegrown); only has integers because floating-point numbers are un-American (America never does anything halfway); only allows popular words and the names of politicians as variable names; limits error messages to direct Trump quotes; and requires that all programs end with "America is great."
Here is a valid Trumpscript program:
Trumpscript was created in 20 hours by Sam Shadwell and Chris Brown, computer science students at Rice U, for a codeathon.
What about TrumpScript makes you most proud?
Sam: I kind of like the way that it works — if it actually worked, completely, which it…doesn’t —
Chris: There’s some stuff — I’m working out some kinks.
Sam: I’m most proud that the language itself is actually parsed and compiled in a way that sort of resembles how a real compiler would compile a real language.
Chris: In what I would consider proper TrumpScript style: 80 percent of the words you write should probably get dropped by the compiler and be completely unnecessary to the program.
Coders Assimilate Donald Trump to a Programming Language
5 Worlds is a young SFF project that’s been a hard secret to keep these past years! It’s a five book series, 250 pages each, full color. It has five worlds and there are five of us working together on it. The story involves an impossible quest to light these ancient beacons left behind by […]
You could not ask for a clearer, easier-to-read, more informative guide to facial recognition and machine learning thank Adam Geitgey’s article, which is the latest in a series of equally clear explainers on machine learning, aimed at non-technical people — and if you are a programmer, he’s got links to Python sample source and projects […]
Game theory is the place where politics, economics, psychology and math meet, and it offers the seductive promise of being able to quantify empirically optimal outcomes from thorny problems ranging from whether to go to war to how to split the tab at a restaurant.
Learning is a 24/7/365 proposition, and it never ends. And if you’re truly serious about leveling up your skill sets and career prospects, get a subscription to Stone River Academy’s massive course collection. This offer normally is worth over $1,400, but is now available for just $89 in the Boing Boing Store.A respected name in information technology […]
Home audio has taken some big leaps forward in recent years–not just in terms of sound quality, but also in the style department. The FRESHeBAR Leather Soundbar, now 56% off in the Boing Boing Store, is proof.The FRESHeBAR comes packing almost all the options you’d ever need for a home sound system, including Bluetooth streaming capabilities.The unit’s 90 […]
Much of what goes into creating an amazing photo happens in the digital darkroom. Here’s your chance to master all things photo editing: the Ultimate Adobe Photo Editing Bundle, now available in the Boing Boing Store for just $29.99.Across 8 courses and over 41 hours of intensive instruction, you’ll learn the fundamentals of Adobe’s suite of photo […]