Cheesecake

From Esolang
Jump to navigation Jump to search

Cheesecake

Cheesecake is a silly esolang that User:Nebular created in a few hours. It is very simple and only contains 'cheese' and 'cake' (also 'cheesecake' BUT IT'S A COMBINATION OF CHEESE AND CAKE!!!).

It's syntax is quite simple. Each instruction is on a new line. Commands and arguments are seperated by 'cheesecake'.

Instructions:

cheese: push
cake: discard
cheese cake: duplicate
cake cheese: swap
cheese cheese: addition
cake cake: subtraction
cheese cheese cheese: multiplication
cheese cheese cake: division
cheese cake cake: jump if zero
cake cake cake: print ascii character
cheese cheese cheese cheese: print number
cheese cheese cheese cake: take user input

Cheesecake is:

  1. Stack based
  2. Extremely hard to use
  3. Delicious
  4. Sadly not for consumption

When looking at a program, you might see that 'cake' has a lot of e's.

This is because the amount of e's - 1 is a number. If your number doesn't start with 'cake' you will get an error that tells you that your number is not delicious enough, so FIX IT!

Truth machine

cheese cheese cheese cake
cheese cheesecake cakeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
cake cake
cheese cake cake cheesecake cakeeeeeeeeeee
cake
cheese cheesecake cakee
cheese cheese cheese cheese
cheese cheesecake cake
cheese cake cake cheesecake cakeeeeee
cheese cheesecake cake
cheese cheese cheese cheese

Hello world

cheese cheesecake cakeeeeeeee
cheese cheesecake cakeeeeeeeeeee
cheese cheese cheese
cheese cheesecake cakeee
cheese cheese
cheese cake
cake cake cake
cheese cheesecake cakeeee
cheese cheesecake cakeeeeeeeeeee
cheese cheese cheese
cheese cheese
cheese cheesecake cakee
cake cake
cheese cake
cake cake cake
cheese cheesecake cakeeeeeeee
cheese cheese
cheese cake
cake cake cake
cheese cake
cake cake cake
cheese cheesecake cakeeee
cheese cheese
cheese cake
cake cake cake
cheese cheesecake cakeeeee
cheese cheesecake cakeeeeeeeeeeee
cheese cheese cheese
cheese cake
cake cake cake
cheese cheesecake cakeeeeeeeeeeeee
cake cake
cake cake cake
cheese cheesecake cakeeeeeeeee
cheese cheese
cheese cake
cake cake cake
cheese cheesecake cakeeeeeeeee
cake cake
cheese cake
cake cake cake
cheese cheesecake cakeeee
cheese cheese
cheese cake
cake cake cake
cheese cheesecake cakeeeeeee
cake cake
cheese cake
cake cake cake
cheese cheesecake cakeeeeeeeee
cake cake
cake cake cake
cheese cheesecake cakeeeeeeeeeeee
cheese cheesecake cakeeee
cheese cheese cheese
cake cake cake

Implementation

I've already written a working intrepreter for Cheesecake in Rust, but I still have to do some tweaks to it to avoid any silly errors you could possibly get before I will publish the source code.