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.

Nah bro

From Esolang
Jump to navigation Jump to search

Nah-bro is a esoteric programming language created by User:BigGreenHat in 2025.

Comments start with #

Top value of the stack is 0

Uses the .nah file extension

Instructions

  • (number) my ass -- Append to stack
  • (index) go touch grass -- Print
  • make (op1) fuck (op2) -- Add and append result to stack
  • (op1) and (op2) had a miscarriage -- Subtract and append result to stack
  • make (op1) get (op2) pregnant -- Multiply and append result to stack
  • make (op1) perform lobotomy on (op2) -- Divide and append result to stack
  • let (index) cut the line -- Pop index and push to top
  • (index) get out -- Pop
  • (index) present to the class -- Get input with prompt at stack index and append result to stack
  • what was the (number) thing you said (index) -- Get character of string and append result to stack
  • (index) needs more character development -- Convert to character (decimal) and append result to stack
  • (index) said he has a lot of girls if (he or she) is lying i would -- #(if true) [#(if false)] [#comments] # If <= 0
  • (index) said she has a lot of guys if she is lying i would -- #(if true) [#(if false)] [#comments] # If <= 0
  • (index) has too much main character energy -- Convert to UTF-8 (ascii) code and append result to stack
  • decapitate (index) -- Cast to integer and append result to stack
  • recapitate (index) -- Cast to string and append result to stack
  • repeat that (number | inf[inite]) more times -- Repeats last operation specified number of times
  • commit mass murder but leave a note (number) -- Exits with exit code

Numbers or Indexes

Numbers and Indexes work how you expect with 1 being 1, 2 being 2, etc. But there is also support for ranges, for example;

1,2,3 becomes [1,2,3]

1-3 becomes [1,2,3]

1x3 becomes [1,1,1]

The instruction will run the shortest range times iterating through each, for example
some instruction 1,2 1x2
is the same as
some instruction 1 1
some instruction 2 1

Examples

Cat program

20 my ass

0 needs more character development

0 present to the class

0 go touch grass


Hello, World!

101,108,108,111,44,32,87,111,114,108,100,33,72 my ass

0-12 needs more character development

make 0x12 fuck 12x12

0 go touch grass


Truth Machine

62,32 my ass

0-1 needs more character development

make 1 fuck 0

0 my ass

1 present to the class

decapitate 0

0 said he has a lot of girls if he is lying i would #1 go touch grass

0 said he has a lot of girls if he is lying i would #commit mass murder but leave a note 0

1 my ass

0 go touch grass

repeat that inf more times

External reources