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
The latest Tropes vs Women in Video Games (previously) is as on-point, smart, and deep as ever.
I’ve been going to O’Reilly conferences since the first P2P conference in 2001; for 15 years, they’ve been blowing my mind.
Jim Jones writes, “I have been playing The Warren, Marshall Miller’s role playing game about being rabbits, with my three kids for a little over a month. We play in an area based on our suburban neighborhood. My second grade daughter chose to do a diorama of a suburb for school so she could talk […]
When you’ve had a long day and it’s time to unwind, there’s a lot you can do to relax: drink some tea, take a shower or even read a book. But there’s one thing that’s essential to a comfortable night’s rest—and that’s investing in some really good sheets. Enter Bamboo Bed Sheets. These quality sheets retail for $120, but […]
The Avantree Powerhouse 4 Port Fast USB Charging Station brings high quality, high power, and still keeps your work space or home looking neat and organized. The best part about this charger is its capacity. It comes packing 4 USB charging sockets and a powerful 4.5A/22.5W output.. Its smartport technology means you don’t have to worry about frying your battery, either—it […]
With this comprehensive course in App & Game Development for iOS and Android, you’ll be able to take full advantage of this career opportunity without committing to going back to school full time. You’ll learn how to build immersive, interactive games and apps from start to finish using Python, C#, Unity, and HTML—some of the most in-demand programming […]