literally every golflang ever

From Esolang
Jump to navigation Jump to search


literally every golflang ever

stack-based, stack is set to input [lazily evaluated]
unbalanced anything is fixed using HTML error correction rules. e.g. (:a)b becomes (:a;)b, and (a becomes (a)

  h   - prints Hello world
  H   - prints Hello World
  h,  - prints Hello, world
  H,  - prints Hello, World
  h!  - prints Hello world!
  H!  - prints Hello World!
 h,!  - prints Hello, world!
 H,!  - prints Hello, World!
  b   - 99 bottles of beer, last lyric being "0 bottles of beer on the wall, 0 bottles of beer!"
  B   - 99 bottles of beer, last lyric being "0 bottles of beer on the wall, 0 bottles of beer!\nGo to the store and buy some more, 99 bottles of beer on the wall!"
  f   - fibbonacci numbers
  l   - lucas numbers
  !   - factorial
  p   - prime numbers
  P   - palindrome
  d   - disan count
  D   - digital root
  m   - output the mandelbrot set in ASCII art
  <   - interpret brainfuck
  >   - interpret deadfish
  ^   - eval
  r   - rot13
  i   - calculate pi to [POP] digits
  ?   - truth machine
  F   - FizzBuzz
  F!  - FizzBuzz!
  #   - loop
  c   - count from [POP 2] to [POP 1] in unary
  C   - count from [POP 2] to [POP 1] in decimal
  %   - swap
  +   - increment
  -   - decrement
"   " - push string to stack. \\ -> \, \" -> "
[   ] - do while nonzero
{   } - do while zero
(   ) - if nonzero then
:   ; - if zero then
  @   - print the letter @
  $   - convert to leetspeak
  &   - bitwise and
  |   - bitwise or
  ~   - bitwise not
  *   - [POP 2] divided by [POP 1]
  ,   - discard
  =   - push a random number if [POP 1] is equal to [POP 2], otherwise push a string
  '   - 'x is equivalent to "x". this is useful in exactly 1 situation
  \   - segfault
  `   - calls [POP 2] with the argument [POP 1]
  I   - \x. x
  K   - \xy. x
  S   - \xyz. xz(yz)
  s   - print the letter s
  M   - \x. xx
  X   - \f. M(\x. f(xx))
  Y   - \f. (\x. f(xx))(\x. f(xx))
  Z   - \f. M(\x. f(\v. xxv))
  x   - M(\xy. y(xxy))
  y   - (\xy. y(xxy))(\xy. y(xxy))
  z   - M(\xyz. y(xxy)z)
  v   - C:\Riot Games\VALORANT\live\VALORANT.exe
  0   - pushes 0
  1   - pushes 1
  2   - pushes 2
  3   - pushes 3
  4   - pushes 4
  5   - pushes 5
  6   - pushes 6
  7   - pushes 7
  8   - pushes 8
  9   - pushes 9
  q   - pushes 10
  w   - pushes 11
  e   - pushes 12
  t   - pushes 13
  y   - pushes 14
  u   - pushes 15
  o   - pushes 16
  a   - pushes 17
  s   - pushes 18
  g   - pushes 19
  j   - pushes 20
  k   - pushes 21
  n   - pushes 22
  Q   - pushes 23
  W   - pushes 24
  E   - pushes 25
  R   - pushes 26
  T   - pushes 27
  U   - pushes 28
  O   - pushes 29
  A   - pushes 30
  G   - pushes 31
  J   - pushes 32
  L   - pushes 33
  V   - pushes 34
  N   - pushes 35
  _   - performs a command at random
  /   - halts execution
  .   - print
      - nop