programming language with dance moves as keywords
This repository has been archived on 2024-06-30. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Om Raheja 98b582c205 Added specification something 2024-06-12 16:52:36 -04:00
LICENSE Initial commit 2024-06-11 16:43:49 +02:00
README.md Added specification something 2024-06-12 16:52:36 -04:00

README.md

hive

programming language with dance moves as keywords

Standard

Our language implements the following:

  1. Variables
  2. Looping
  3. Conditionals
  4. Functions

Each line ends with a dab.

Variables

We allow variables to be accessed in the form of pointers. Think of it as a simplistic way of accessing data in C.

Putting your palms out in front of you indicates the start of a variable. Variables are denoted by facial expressions so that they can be accessed by ease.

We recognize the following facial expressions:

  1. Smile
  2. Frown
  3. Wink
  4. Tongue Out

You are allowed any permutation of the following as variable names. Once you are done with the name, look straight at the camera in a neutral face.

Letters A-Z of the american sign language are recognized, and digits 0-9 are represented with fingers, with 10 representing 0. Space is represented by a kick, and quotation marks are implied.

Looping/Conditionals

Start of a loop starts by twirling around. The termination condition is denoted by a variable being equal to 0. The variable is specified by the facial expressions.

Boolean operations are implemented liek this: TODO

If statements are implemented in the same fashion.

Modifying values

Hive supports the four basic arithmetic operations: addition, subtraction, multiplication, and division. Plus is represented by putting your hands in a vertical cross, minus is represented by putting your hands crossed in a minus shape, multiplication is represented by a rotated cross and division is represented by a rotated subtraction. The number/variables being modified is represented by the variable name. You don't need to set the value equal to the new value here, it is implied.

Functions

Each function start is denoted by a jumping jack.