Airline Food

From Esolang
(Redirected from Airline food)
Jump to navigation Jump to search

Airline Food is an esoteric programming language created by User:Largejamie in April 2021 whose programs are supposed to look like Jerry Seinfeld's stand-up.

Overview

Airline food uses a stack of variables with a pointer. The instructions are as follows:

Phrase Description
You ever notice [x]? Create a variable named [x] (initialized to 1) and places it on the top of the stack of variables.
What's the deal with [x]? Create a variable named [x] (initialized to 1), places it on the top of the stack of variables, and sets the pointer to look at [x].
Um, Moves the pointer down the stack (if possible).
Yeah, Moves the pointer up the stack (if possible).
Let's talk about [x]. Sets the pointer to look at the variable [x]. [note 1]
It's kinda like [x]. Adds the value of [x] to the variable where the pointer is.
Not like [x]. Subtracts the value of [x] to the variable where the pointer is.
Just like [x]. Multiplies the value of [x] to the variable where the pointer is.
So... If the value in the pointer is 0, jumps to the corresponding "Moving on...".
Moving on... Jumps to the corresponding So... if the pointer's variable is not equal to 0, otherwise continues.
Right? Take input from the user and set the pointer variable to the user's input.
See? Outputs the value in the pointer variable.

Not all variables have to be named. Using the phrase airline food will create an unnamed variable. For example:

You ever notice airline food?          //creates an unnamed variable with value 1 on the top of the stack
What's the deal with airline food?     //creates an unnamed variable with value 1 on top of the stack and sets the pointer to it

Examples

Hello, world!

You ever notice this?
What's the deal with this thing? It's kinda like this.
What's the deal with airline food?
What's the deal with it?
It's kinda like this thing. Just like it. 
Let's talk about this thing. It's kinda like this thing. It's kinda like this.
Yeah, Just like this thing. Just like it. Not like this.
What's the deal with pilots? Just like it. Not like this. Just like it. See?
Let's talk about this thing. Not like this.
What's the deal with baggage claim? Just like this thing. Just like it. It's kinda like pilots.
What's the deal with luggage? Just like baggage claim. It's kinda like this. It's kinda like this. Not like it. See?
Let's talk about baggage claim. See? See? It's kinda like this thing. Not like this. See?
Let's talk about it. Um, See? It's kinda like this. Not like this thing. Not like it. See?
Let's talk about baggage claim. It's kinda like it. Not like this. See? It's kinda like this. Not like it. See? It's kinda like this thing. Not like this. 
See? Not like this thing. Not like this. Not like this. See?
Let's talk about luggage. Not like this. See?
Let's talk about it. Um, It's kinda like this. See?

Factorial

Takes an input from the user and outputs its factorial

You ever notice this?
What's the deal with airline food?
What's the deal with it? Right? 
So...
Um,
Just like it.
Yeah, Not like this.
Moving on...
Um, See?

Truth Machine

You ever notice this thing?
What's the deal with this? It's kinda like this. Just like this. Just like this.
What's the deal with it? It's kinda like it. Just like this. It's kinda like this. It's kinda like this thing.
What's the deal with airline food? Right?
Just like it.
So...
See?
Moving on...
It's kinda like it. Not like this thing. See?

Computational Class

Airline food is Turing-complete.

See Airline Food Turing-completeness Proof.

Notes

  1. In this case as well as the following three, [x] can't be "Airline food".[citation needed]

Interpreters