Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lhartikk/ArnoldC
Arnold Schwarzenegger based programming language
https://github.com/lhartikk/ArnoldC
Last synced: 2 months ago
JSON representation
Arnold Schwarzenegger based programming language
- Host: GitHub
- URL: https://github.com/lhartikk/ArnoldC
- Owner: lhartikk
- License: apache-2.0
- Created: 2013-10-09T19:06:32.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-01-31T22:40:52.000Z (12 months ago)
- Last Synced: 2024-10-29T15:34:12.272Z (2 months ago)
- Language: Scala
- Homepage: lhartikk.github.io/ArnoldC/
- Size: 89.8 KB
- Stars: 6,726
- Watchers: 177
- Forks: 289
- Open Issues: 74
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hilarious-repos - ArnoldC - Programming language based on the one-liners of Arnold Schwarzenegger. (Programming Languages)
- awesome-dev-fun - ArnoldC - Arnold Schwarzenegger based programming language. (Esoteric languages)
README
# ArnoldC
Programming language based on the one-liners of Arnold Schwarzenegger.
## Motivation
Although the one-liners of Arnold Schwarzenegger are fairly well known the true semantics of the uttering is yet to be understood. This project tries to discover new meanings from the Arnold movies with the means of computer science.
## HelloWorld.arnoldc
IT'S SHOWTIME
TALK TO THE HAND "hello world"
YOU HAVE BEEN TERMINATED## Quick Start
wget http://lhartikk.github.io/ArnoldC.jar
echo -e "IT'S SHOWTIME\nTALK TO THE HAND \"hello world\"\nYOU HAVE BEEN TERMINATED" > hello.arnoldc
java -jar ArnoldC.jar hello.arnoldc
java helloTo create some "audible" output you can try the -declaim option:
java -jar ArnoldC.jar -declaim hello.arnoldc
## Brief overview of the keywords
Check the [wiki](http://github.com/lhartikk/ArnoldC/wiki/ArnoldC) for more details
[False](http://www.youtube.com/watch?v=_wk-jT9rn-8) `I LIED`
[True](http://www.youtube.com/watch?v=CtNb1dnEaSQ) `NO PROBLEMO`
[If](http://www.youtube.com/watch?v=MiB7GLyvvJQ) `BECAUSE I'M GOING TO SAY PLEASE`
[Else](http://www.youtube.com/watch?v=c4psKYpfnYs) `BULLSHIT`
[EndIf](http://youtu.be/uGstM8QMCjQ?t=1m23s) `YOU HAVE NO RESPECT FOR LOGIC`
[While](http://www.youtube.com/watch?v=wDztrw_0N8M) `STICK AROUND`
[EndWhile](http://www.youtube.com/watch?v=R39e30FL37U) `CHILL`
PlusOperator `GET UP`
[MinusOperator](http://www.youtube.com/watch?v=7Ox0Ehq-FRQ) `GET DOWN`
[MultiplicationOperator](http://www.youtube.com/watch?v=lf3Kyv_iaNs) `YOU'RE FIRED`
[DivisionOperator](http://www.youtube.com/watch?v=9VHtuqXZQeo) `HE HAD TO SPLIT`
[ModuloOperator](http://www.youtube.com/watch?v=ybJWKZB0Erk&feature=youtu.be&t=6m59s) `I LET HIM GO`
[EqualTo](http://www.youtube.com/watch?v=A1-wUV0-_JY) `YOU ARE NOT YOU YOU ARE ME`
[GreaterThan](http://www.youtube.com/watch?v=19R2fDXCzcM) `LET OFF SOME STEAM BENNET`
[Or](http://www.youtube.com/watch?v=RYtQMhnBtTw) `CONSIDER THAT A DIVORCE`
[And](http://www.youtube.com/watch?v=ZQ_Q2b_aXjk) `KNOCK KNOCK`
[DeclareMethod](http://www.youtube.com/watch?v=uCwrOpnyXeo) `LISTEN TO ME VERY CAREFULLY`
[NonVoidMethod](http://www.youtube.com/watch?v=WANa9Oku-JM) `GIVE THESE PEOPLE AIR`
[MethodArguments](http://www.youtube.com/watch?v=FWmH9ylqYYQ) `I NEED YOUR CLOTHES YOUR BOOTS AND YOUR MOTORCYCLE`
[Return](http://www.youtube.com/watch?v=-YEG9DgRHhA) `I'LL BE BACK`
[EndMethodDeclaration](http://www.youtube.com/watch?v=Hhm7aWp8gvc) `HASTA LA VISTA, BABY`
[CallMethod](http://www.youtube.com/watch?v=HGhP3p6lI3U) `DO IT NOW`
[AssignVariableFromMethodCall](http://www.youtube.com/watch?v=HkkibBYm2WI) `GET YOUR ASS TO MARS`
[DeclareInt](http://www.youtube.com/watch?v=PZwwqjcEDUQ) `HEY CHRISTMAS TREE`
[SetInitialValue](http://www.youtube.com/watch?v=lwqzA6F7nws) `YOU SET US UP`
[BeginMain](http://www.youtube.com/watch?v=TKTL2EDTFSo) `IT'S SHOWTIME`
[EndMain](http://www.youtube.com/watch?v=iy_BBBGBpqA) `YOU HAVE BEEN TERMINATED`
[Print](http://www.youtube.com/watch?v=dQ6m8ztEzfA) `TALK TO THE HAND`
[ReadInteger](https://www.youtube.com/watch?v=1mC9eOqsyTg) `I WANT TO ASK YOU A BUNCH OF QUESTIONS AND I WANT TO HAVE THEM ANSWERED IMMEDIATELY`
[AssignVariable](http://www.youtube.com/watch?v=-9-Te-DPbSE) `GET TO THE CHOPPER`
[SetValue](http://www.youtube.com/watch?v=RrPXRkJ_P90) `HERE IS MY INVITATION`
[EndAssignVariable](http://www.youtube.com/watch?v=rk9WHasIZk0) `ENOUGH TALK`
[ParseError](http://www.youtube.com/watch?v=oGcRTJK43OM) `WHAT THE FUCK DID I DO WRONG`