Recorder

From Esolang
Jump to navigation Jump to search

Recorder is a programming language i made that uses extraction

Basic Functions

Comment

#hello im a comment
#see
#its cool

Text

textisdefinedwithoutquotes
"or with quotes to stop variables to get refered"

Box

a = text
a #text

Recorder

te(xt) : () = a
a #xt
an(ychars] : (] = b
b #ychars

Tape

te(xt) : () = a #a is a box btw
a #xt, a contains the tape from recording the brackets

Functions

same a:
  return a
same "text" #"text"

Logic gates

You can define logic gates in it

true = "!false.&b."
false = "!true.&false."
get a b:
  b : a = o
  return o
not a:
  return get !. a
and a b:
  return get &. a
not true #false
and true true #true

Insert Code Below

Write code below here to make a turing machine in Recorder (because im to lazy to)