Grounded

From Esolang
Jump to navigation Jump to search

Grounded is a language, probably esoteric, created by User:Cinnamony inspired by his time being computer-grounded.

How it works

You "wake up" at 7:30AM, and every command passes an hour. At 9:30PM, you have to use sleep to wake up tommorrow at 7:30AM. Normally you are grounded for 3 days, but you can increase your "grounded time", which is how long the program has to run, by 1 day by using bother parents. You start being grounded on Friday, and every Saturday at 12:30PM, you can go to the tech lab with tech lab, which wastes 1 hour.

Commands

Command Effect
sleep Sleeps.
bother parents Increases program line count by 14, 15 if you count the final sleep.
tech lab Does nothing, only usable in Saturday at 12:30PM.
wait Only usable twice in a row, does nothing.
read Asks for user input and saves it to cell at pointer.
watch steven universe Moves pointer right.
watch adventure time Moves pointer left.
make book Outputs character as alphabet.
make plushie movie Increments cell at pointer by 1.
make plushie movie series Increments cell at pointer by 10.
uninstall app on tablet Decrements cell at pointer by 1.
daydream Duplicates the value in cell at pointer.

// is a comment.

Character Repertoire

Grounded, as kenspeckle in its make book command, deploys a very restricted character repertoire in lieu of the more potent ASCII standard, assigning Latin letter to the integral number in the inclusive range from 1 to 26. Whether their expression proceeds in the form of majuscules or in a miniscular variant constitutes an implementation-dependent point of deliberation.

The bournes imposed by this character repertoire ought to be respective in both the input and output operations.

Character code Character
1 A
2 B
3 C
4 D
5 E
6 F
7 G
8 H
9 I
10 J
11 K
12 L
13 M
14 N
15 O
16 P
17 Q
18 R
19 S
20 T
21 U
22 V
23 W
24 X
25 Y
26 Z

Examples

Hello world

This program prints the message “HELLOWORLD”:

make plushie movie series // 8:30AM Friday
uninstall app on tablet // 9:30AM Friday
uninstall app on tablet // 10:30AM Friday
make book // 11:30AM Friday
uninstall app on tablet // 12:30PM Friday
uninstall app on tablet // 1:30PM Friday
uninstall app on tablet // 2:30PM Friday
make book // 3:30PM Friday
watch steven universe // 4:30PM Friday
make plushie movie series // 5:30PM Friday
make plushie movie // 6:30PM Friday
make plushie movie /// 7:30PM Friday
make book // 8:30PM Friday
make book // 9:30PM Friday
sleep // 7:30AM Saturday
watch steven universe // 8:30AM Saturday
make plushie movie series // 9:30AM Saturday
make plushie movie series // 10:30AM Saturday
uninstall app on tablet // 11:30AM Saturday
uninstall app on tablet // 12:30PM Saturday
uninstall app on tablet //  1:30PM Saturday
uninstall app on tablet // 2:30PM Saturday
uninstall app on tablet // 3:30PM Saturday
make book // 4:30PM Saturday
watch steven universe // 5:30PM Saturday
make plushie movie series // 6:30PM Saturday
make plushie movie series // 7:30PM Saturday
make plushie movie // 8:30PM Saturday
make plushie movie // 9:30PM Saturday
sleep // 7:30AM Sunday
make plushie movie // 8:30AM Sunday
make book // 9:30AM Sunday
watch adventure time // 10:30AM Sunday
make book // 11:30AM Sunday
make plushie movie // 12:30PM Sunday
make plushie movie // 1:30PM Sunday
make plushie movie // 2:30PM Sunday
make book // 3:30PM Sunday
uninstall app on tablet // 4:30PM Sunday
uninstall app on tablet // 5:30PM Sunday
uninstall app on tablet // 6:30PM Sunday
uninstall app on tablet // 7:30PM Sunday
uninstall app on tablet // 8:30PM Sunday
bother parents // 9:30PM Sunday
sleep // 7:30AM Monday
uninstall app on tablet // 8:30PM Monday
make book // 9:30AM Monday
watch steven universe // 10:30AM Monday
watch steven universe // 11:30AM Monday
make plushie movie // 12:30AM Monday
make plushie movie // 1:30PM Monday
make plushie movie // 2:30PM Monday
make plushie movie // 3:30PM Monday
make book          // 4:30 PM Monday
wait               // 5:30 PM Monday
wait               // 6:30PM Monday
daydream           // 7:30PM Monday
daydream           // 8:30PM Monday
daydream           // 9:30PM Monday
sleep

Cat (1 character)

read
make book // this is done by 9:30AM on friday
watch steven universe // 10:30
daydream // 11
daydream // 12
daydream // 1
daydream // 2
daydream // 3
daydream // 4
daydream // 5
daydream // 6
daydream // 7
daydream // 8
daydream // 9
sleep // going to saturday
daydream // 8
daydream // 9
daydream // 10
daydream // 11
daydream // 12
daydream // 1
daydream // 2
daydream // 3
daydream // 4
daydream // 5
daydream // 6
daydream // 7
daydream // 8
daydream // 9
sleep // going to final day
daydream // 8
daydream // 9
daydream // 10
daydream // 11
daydream // 12
daydream // 1
daydream // 2
daydream // 3
daydream // 4
daydream // 5
daydream // 6
daydream // 7
daydream // 8
daydream // 9
sleep

Whoever wrote this must have maladaptive daydreaming.

Interpreter

  • Common Lisp implementation of the Grounded programming language.