lhartikk / ArnoldC

Arnold Schwarzenegger based programming language
lhartikk.github.io/ArnoldC/
Apache License 2.0
6.73k stars 290 forks source link

GreaterThanOrEquals operator #64

Open vasiliybondarenko opened 10 years ago

vasiliybondarenko commented 10 years ago

My suggestion is YOU'RE LUGGAGE! https://www.youtube.com/watch?v=jC1vAvbGSNw

vasiliybondarenko commented 10 years ago

Are there any other ideas for GTE operator?

JaniM commented 10 years ago

Here you go.

IT'S SHOWTIME
    HEY CHRISTMAS TREE result
    YOU SET US UP 0
    GET YOUR ASS TO MARS result
    DO IT NOW GTE 6 5
    TALK TO THE HAND "6 >= 5"
    TALK TO THE HAND result
    GET YOUR ASS TO MARS result
    DO IT NOW GTE 5 5
    TALK TO THE HAND "5 >= 5"
    TALK TO THE HAND result
    GET YOUR ASS TO MARS result
    DO IT NOW GTE 4 5
    TALK TO THE HAND "4 >= 5"
    TALK TO THE HAND result
YOU HAVE BEEN TERMINATED

LISTEN TO ME VERY CAREFULLY GTE
I NEED YOUR CLOTHES YOUR BOOTS AND YOUR MOTORCYCLE a
I NEED YOUR CLOTHES YOUR BOOTS AND YOUR MOTORCYCLE b
GIVE THESE PEOPLE AIR
    HEY CHRISTMAS TREE r
    YOU SET US UP 0
    GET TO THE CHOPPER b
        HERE IS MY INVITATION b
        GET DOWN 1
    ENOUGH TALK
    GET TO THE CHOPPER r
        HERE IS MY INVITATION a
        LET OFF SOME STEAM BENNET b
    ENOUGH TALK
    I'LL BE BACK r
HASTA LA VISTA, BABY
vasiliybondarenko commented 10 years ago

Implemented as YOU'RE LUGGAGE!