Macro

From Esolang
Jump to navigation Jump to search

Macro is a programming language that uses macros to do computation

Macro

Stuff to know

Macro

a -> b #turn a to b

Selector

~a ~b ~a -> ~b ~a ~b #turns something1 something2 something1 to something2 something1 something2

Parenthesis

5(4(3(2(1)))) #do inner parenthesis first, outer parenthesis last

Test

do something #test the input "do something"

Examples

Print

print ~a -> ~a print hello