JUICE

From Esolang
Jump to navigation Jump to search

JUICE is an esolang created in April 2025 by User:Siim Instructions:

  • pour: add 1 to accumulator
  • pour!: add 2 to accumulator
  • flood: add 10 to accumulator
  • drink: subtract 1 from accumulator
  • drink!: subtract 2 from accumulator
  • bring: multiply accumulator by 2
  • bring!: square accumulator
  • swallow: send accumulator value to memory
  • spill: reset accumulator
  • clean: clean memory
  • show: show memory
  • showshell: show "shell" command memory
  • showmemory: show user input memory from "tell" command
  • value: print accumulator value
  • conv: print out numbers in memory to text

-

  • add: add [digit] to [digit]
  • take: subtract [digit] from [digit]
  • times: multiply [digit] by [digit]
  • divide: divide [digit] by [digit]

-

  • again: 1 line loop (again [digit] [commands])
  • print: print
  • ?: if statement
  • shell: random number generator (shell [digit] [digit]) stored in shell memory
  • tell: take user input and store it in user input memory

Hello World

print [hello, world]

Cat

tell
showmemory

Number guessing game

print [Guess the number between 1-5]
tell
?
shell 1 5 toMem
inpmem 0
[Correct!]
[Incorrect!]
??
print [My answer was:]
showshell