We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Macro

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

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