ArnoldC – A programming language based on Arnold Schwarzenegger one-liners (github.com) 204 points by raywritescode 12y ago ↗ HN
[–] Impossible 12y ago ↗ I'm disappointed that "WHO IS YOUR DADDY AND WHAT DOES HE DO" doesn't appear to be a key phrase. [–] TallGuyShort 12y ago ↗ Should be the command for accepting a line of input from the user [–] malbs 12y ago ↗ I would have thought that was to define a new sub-class
[–] TallGuyShort 12y ago ↗ Should be the command for accepting a line of input from the user [–] malbs 12y ago ↗ I would have thought that was to define a new sub-class
[–] soperj 12y ago ↗ My favorite was "I'M THE PARTY POOPER" from Kindergarten Cop. [–] WiseWeasel 12y ago ↗ Maybe the break in a switch statement... could merge with Impossible's request: WHO IS YOUR DADDY AND WHAT DOES HE DO (foo){ SEE YOU AT THE PARTY 'bar': //kill bad guys I AM THE PARTY POOPER; } [–] jessedhillon 12y ago ↗ As ArnoldC doesn't use braces there needs to be a key phrase to end the switch. I recommend NO MORE COMPLAININGAnd the default case could be nominated by GET IN AND START PADDLING
[–] WiseWeasel 12y ago ↗ Maybe the break in a switch statement... could merge with Impossible's request: WHO IS YOUR DADDY AND WHAT DOES HE DO (foo){ SEE YOU AT THE PARTY 'bar': //kill bad guys I AM THE PARTY POOPER; } [–] jessedhillon 12y ago ↗ As ArnoldC doesn't use braces there needs to be a key phrase to end the switch. I recommend NO MORE COMPLAININGAnd the default case could be nominated by GET IN AND START PADDLING
[–] jessedhillon 12y ago ↗ As ArnoldC doesn't use braces there needs to be a key phrase to end the switch. I recommend NO MORE COMPLAININGAnd the default case could be nominated by GET IN AND START PADDLING
[–] aaronbrethorst 12y ago ↗ Feature request: Add exception handling with the one-liner "IT IS NOT A TUMOR" [–] mVChr 12y ago ↗ And promises should be implemented using "I'LL BE BACK" [–] ZirconCode 12y ago ↗ "I'LL BE BACK is the keyword for RETURN " [–] mindslight 12y ago ↗ "I'LL BE BACK" should really be call/cc. [–] yitchelle 12y ago ↗ "I'LL BE BACK" - for recursion
[–] mVChr 12y ago ↗ And promises should be implemented using "I'LL BE BACK" [–] ZirconCode 12y ago ↗ "I'LL BE BACK is the keyword for RETURN " [–] mindslight 12y ago ↗ "I'LL BE BACK" should really be call/cc. [–] yitchelle 12y ago ↗ "I'LL BE BACK" - for recursion
[–] ZirconCode 12y ago ↗ "I'LL BE BACK is the keyword for RETURN " [–] mindslight 12y ago ↗ "I'LL BE BACK" should really be call/cc. [–] yitchelle 12y ago ↗ "I'LL BE BACK" - for recursion
[–] mindslight 12y ago ↗ "I'LL BE BACK" should really be call/cc. [–] yitchelle 12y ago ↗ "I'LL BE BACK" - for recursion
[–] bhouston 12y ago ↗ BTW one of the more popular renders in the film industry is called "Arnold" and it is named after Schwarzenegger. http://en.wikipedia.org/wiki/Arnold_(software)Examples of usage here: https://www.solidangle.com/
[–] ctrager 12y ago ↗ You all might enjoy "Terminally Blonde" at about the 6 minute mark: http://www.thirdcoastfestival.org/library/664-re-sound-27-th...
[–] dasil003 12y ago ↗ From now on I will interpret all-caps text as Austrian action-hero monotone rather than shouting.
[–] LeoNatan25 12y ago ↗ This is one of the funniest things I've seen this week! [–] LeoNatan25 12y ago ↗ Well, I read some more. Safe to say, one of the funniest things in a very long time. As an Arnie fan, this is so much fun! Being on GitHub, can't wait to see what other funny ideas people bring into it. :D [–] saraid216 12y ago ↗ The next step is obviously Samuel L. Jackson. [–] LeoNatan25 12y ago ↗ Or Mr. T
[–] LeoNatan25 12y ago ↗ Well, I read some more. Safe to say, one of the funniest things in a very long time. As an Arnie fan, this is so much fun! Being on GitHub, can't wait to see what other funny ideas people bring into it. :D [–] saraid216 12y ago ↗ The next step is obviously Samuel L. Jackson. [–] LeoNatan25 12y ago ↗ Or Mr. T
[–] saraid216 12y ago ↗ The next step is obviously Samuel L. Jackson. [–] LeoNatan25 12y ago ↗ Or Mr. T
[–] Zikes 12y ago ↗ KILL ME I'M HERE - Break loopYOU'RE ONE UGLY MOTHERFUCKER - User inputIF IT BLEEDS WE CAN KILL IT - Throw exceptionCRUSH YOUR ENEMIES - Handle exception [–] jbigelow76 12y ago ↗ >IF IT BLEEDS WE CAN KILL IT I think that would do better as a switch or case handler semantic.
[–] jbigelow76 12y ago ↗ >IF IT BLEEDS WE CAN KILL IT I think that would do better as a switch or case handler semantic.
[–] eob 12y ago ↗ Thanks to you I'll now not be able to help reading all CONSTANT_VARIABLES in Arnold's voice.
[–] vezzy-fnord 12y ago ↗ Thanks! Time to migrate our proprietary in-house database from LOLCODE to ArnoldC.
[–] henryw 12y ago ↗ Some silly suggestions for the future versions:throwing an exception: YOU KILLED MY FATHER BIG MISTAKEcatching an exception: COME WITH ME IF YOU WANT TO LIVEfinally: REMEMBER SULLY WHEN I PROMISED TO KILL YOU LASTnull value: @YOUVE JUST BEEN ERASED or @HASTA LA VISTA BABY or @I LET HIM GOpositive infinity value: @YOURE FIREDnegative infinity value: @WHAT KILLED THE DINOSAURS THE ICE AGENaN value: @IM PREGNANT [–] rtkwe 12y ago ↗ HASTA LA VISTA, BABY is already an operator in ArnoldC as the method terminator, best not to have it used twice.
[–] rtkwe 12y ago ↗ HASTA LA VISTA, BABY is already an operator in ArnoldC as the method terminator, best not to have it used twice.
[–] xcolour 12y ago ↗ For perfect accompaniment, listen to Austrian Death Machine [1].1. http://en.wikipedia.org/wiki/Austrian_Death_Machine [–] LaSombra 12y ago ↗ Thank you for showing me a great, funny band!
[–] erbo 12y ago ↗ I HAVE DETAILED FILES - Something related to file I/O maybe?FUCK YOU ASSHOLE - Equivalent of Perl die()?Other suggestions for future expansion:COME WITH ME IF YOU WANT TO LIVETRUST ME (An assert()?)I NEED A VACATION
[–] gohwell 12y ago ↗ EPIC! The author included a list of video clips for each line he used. https://github.com/lhartikk/ArnoldC
[–] temuze 12y ago ↗ Here's a list of most of the phrases: https://github.com/lhartikk/ArnoldC/blob/master/src/main/sca...
[–] WiseWeasel 12y ago ↗ This could be a solid foundation for TerminatorOS, the operating system for killer robots with speech synthesizers.
[–] cesario 12y ago ↗ Here's an ArnoldC->Ruby transpiler based entirely on regexps : https://github.com/franckverrot/arnoldc.rbI urge the author of the language to create ArnoldCSpec, so that other implementations can be given the opportunity to challenge the main one. :-D
38 comments
[ 0.19 ms ] story [ 95.1 ms ] threadAnd the default case could be nominated by GET IN AND START PADDLING
Examples of usage here: https://www.solidangle.com/
YOU'RE ONE UGLY MOTHERFUCKER - User input
IF IT BLEEDS WE CAN KILL IT - Throw exception
CRUSH YOUR ENEMIES - Handle exception
throwing an exception: YOU KILLED MY FATHER BIG MISTAKE
catching an exception: COME WITH ME IF YOU WANT TO LIVE
finally: REMEMBER SULLY WHEN I PROMISED TO KILL YOU LAST
null value: @YOUVE JUST BEEN ERASED or @HASTA LA VISTA BABY or @I LET HIM GO
positive infinity value: @YOURE FIRED
negative infinity value: @WHAT KILLED THE DINOSAURS THE ICE AGE
NaN value: @IM PREGNANT
1. http://en.wikipedia.org/wiki/Austrian_Death_Machine
FUCK YOU ASSHOLE - Equivalent of Perl die()?
Other suggestions for future expansion:
COME WITH ME IF YOU WANT TO LIVE
TRUST ME (An assert()?)
I NEED A VACATION
I urge the author of the language to create ArnoldCSpec, so that other implementations can be given the opportunity to challenge the main one. :-D