kodybrown / iseven_arnoldc

This is a simple implementation of IsEven, in ArnoldC.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

This is a simple implementation of an IsEven method, in ArnoldC.

Just for fun. :-)

What is ArnoldC?

ArnoldC is a programming language based on the one liners of Arnold Schwarzenegger movies.

Getting Started

Make sure you have Java installed.

Download the required 'ArnoldC.jar' file.

> curl --output "./ArnoldC.jar" "http://lhartikk.github.io/ArnoldC.jar"

Compile it.

> java -jar ArnoldC.jar IsEven.arnoldc

Do not include any path characters in your file name (not even './' at the beginning).

Run it.

> java IsEven
1

The number you are checking (if it is even or not) is located at the end of line #6.

DO IT NOW ISEVEN 0|1|2|3|etc

A Simple Example: Hello World

File: hello.arnoldc

IT'S SHOWTIME
TALK TO THE HAND "hello world"
YOU HAVE BEEN TERMINATED

Compile and run.

> java -jar ArnoldC.jar hello.arnoldc
> java hello
hello world

About

This is a simple implementation of IsEven, in ArnoldC.