2 updated code, added chuck norris
source | link

Befunge

42*2+42+::*\->" "\1-:v>$82+>"2"\1-:v>$" 444"42+:*>" "\1-:v>$442++v
v            ^       _^    ^       _^  
v  42*42+4242^  $*42 _^4242^$*2*42 _^42 42 42 42 ^       _^     $%42 >_^42*42%>
>42+:*>" "\1-:v>$"222  444"42+:*>" "\1-:v>$42*2+42+:*1-vv>424<
v     ^       _^            vchuck^norris _^the question of ^       _^             >
>>" "\1-:v>$"222 4"42*2+>"4"\1-:v>$42*4*2->"$$life _^the universe >
>>" "\1-:v>$"222 4"42*2+>"4"\1-:v>$42*4*2->" "\1-:v>$442++42*4*v_and everything
v^$!%42  _^    6*9=?    ^     DA_^knows   ^$the   _^answer: 42 >
>" ">" "\1-:v>$"222 "::"  444  444"42*4*>" "\1-:v>$$42+4+v "\1forty-:v>$442++42*4*vtwo
v^       _^             ^       _^       v ^       _^         $$ 42 _^42% 42+ \!:+* 42*- 42\$   ^ $*42  _^       >42      $$
  >
>42*4*1->" ">" "\1-:v>$"222 "::"  444  444"42*4*>"v>$"222"42*>" "\1-:v>$$42+4+v
  v ^       _^                          ^       _^       >
  >42*4*1->" "\1-:v>$"222"42*>" "\1-:v>$$"444v>$$"444 444"424**>" "\1-:v>$42*2+v
  v       ^       _^         ^       _^                ^       _^      >
  >42+:4*+>" "\1-:v>$"222    222 ":::"444"44*2*1+>" "\1-:v>$24:++v
  v       ^       _^                             ^       _^      >
  >" "442**2->" "\1-:v>$42*>"2"\1-:v>$4>" "\1-:v>$"444"244**2+>" "\1-:v>$v
v            ^       _^    ^       _^  ^       _^             ^       _^ >
>004:*p   v>04:*g14:*gp:42*2+-#v_$004:*p144*g1+144*pv                  v
  v p*:410<^              <    >04:*g1+044*p                           v
  >       >^              |       -7g*:41           <                  <
v                         <
>42*42*2+*>" "\1-:v>$>:#v_v
          ^       _^ ^> >  04:*g14:*gp04:*g1+04:*pv
^                    ^         _v#-**44*44g*:40   <>14:*g1+14:*p2044*p
@theonlygusti        >^   >                        ^>
                                >                   ^

Now, this program is special in that it produces no output! None whatsoever! Instead, it modifies its own source to display 42, ASCII-art style.

                                444    22222222
                               444    222    222
                              444 444       222
                             444  444     222
                            44444444444 222
                                  444  222
                                  444 2222222222

Therefore, I recommend Alexios' interpreter to visualize it.

To make it slightly more challenging, I've tried to only use the digits 4 and 2 wherever possible, but have often used a 1 instead of (my alternative) 42%!.

I thought this would be a pretty cool concept, and I'm sure I could create some nicerlove how the program uses its own destruction to end!The program, more efficientas its overwritten, reaches some of the code which keeps the loop going, but currentlyand therefore ends. I'd love to explore this idea further in the future!

One of my other ideas was to have a befunge program generate some brainfuck as its output, this'll doand the brainfuck, when run, would generate the befunge which generated it! I might try that later, post as another answer here.

42*2+42+::*\->" "\1-:v>$82+>"2"\1-:v>$" 444"42+:*>" "\1-:v>$442++v
v            ^       _^    ^       _^            ^       _^      >
>42+:*>" "\1-:v>$"222  444"42+:*>" "\1-:v>$42*2+42+:*1-v
v     ^       _^                ^       _^             >
>>" "\1-:v>$"222 4"42*2+>"4"\1-:v>$42*4*2->" "\1-:v>$442++42*4*v
v^       _^             ^       _^        ^       _^           >
>" ">" "\1-:v>$"222 "::"  444  444"42*4*>" "\1-:v>$$42+4+v
  v ^       _^                          ^       _^       >
  >42*4*1->" "\1-:v>$"222"42*>" "\1-:v>$$"444 444"424**>" "\1-:v>$42*2+v
  v       ^       _^         ^       _^                ^       _^      >
  >42+:4*+>" "\1-:v>$"222    222 ":::"444"44*2*1+>" "\1-:v>$24:++v
  v       ^       _^                             ^       _^      >
  >" "442**2->" "\1-:v>$42*>"2"\1-:v>$4>" "\1-:v>$"444"244**2+>" "\1-:v>$v
v            ^       _^    ^       _^  ^       _^             ^       _^ >
>004:*p   v>04:*g14:*gp:42*2+-#v_$004:*p144*g1+144*pv                  v
  v p*:410<^              <    >04:*g1+044*p                           v
  >       >^              |       -7g*:41           <                  <
v                         <
>42*42*2+*>" "\1-:v>$>:#v_v
          ^       _^ ^> >  04:*g14:*gp04:*g1+04:*pv
^                    ^         _v#-**44*44g*:40   <>14:*g1+14:*p2044*p
@theonlygusti        >^   >                        ^>
                                >                   ^

Now, this program is special in that it produces no output! None whatsoever! Instead, it modifies its own source to display 42, ASCII-art style. Therefore, I recommend Alexios' interpreter to visualize it.

I thought this would be a pretty cool concept, and I'm sure I could create some nicer, more efficient code, but currently, this'll do!

Befunge

42*2+42+::*\->" "\1-:v>$82+>"2"\1-:v>$" 444"42+:*>" "\1-:v>$442++v              
v  42*42+4242^  $*42 _^4242^$*2*42 _^42 42 42 42 ^  $%42 _^42*42%>
>42+:*>" "\1-:v>$"222  444"42+:*>" "\1-:v>$42*2+42+:*1-v>424<
vchuck^norris _^the question of ^$$life _^the universe >
>>" "\1-:v>$"222 4"42*2+>"4"\1-:v>$42*4*2->" "\1-:v>$442++42*4*v_and everything
v^$!%42  _^    6*9=?    ^     DA_^knows   ^$the   _^answer: 42 >
>" ">" "\1-:v>$"222 "::"  444  444"42*4*>" "\1-:v>$$42+4+v forty-two
  v ^ $$ 42 _^42% 42+ \!:+* 42*- 42\$   ^ $*42  _^       >42      $$
  >42*4*1->" "\1-:v>$"222"42*>" "\1-:v>$$"444 444"424**>" "\1-:v>$42*2+v
  v       ^       _^         ^       _^                ^       _^      >
  >42+:4*+>" "\1-:v>$"222    222 ":::"444"44*2*1+>" "\1-:v>$24:++v
  v       ^       _^                             ^       _^      >
  >" "442**2->" "\1-:v>$42*>"2"\1-:v>$4>" "\1-:v>$"444"244**2+>" "\1-:v>$v
v            ^       _^    ^       _^  ^       _^             ^       _^ >
>004:*p   v>04:*g14:*gp:42*2+-#v_$004:*p144*g1+144*pv                  v
  v p*:410<^              <    >04:*g1+044*p                           v
  >       >^              |       -7g*:41           <                  <
v                         <
>42*42*2+*>" "\1-:v>$>:#v_v
          ^       _^ ^> >  04:*g14:*gp04:*g1+04:*pv
^                    ^         _v#-**44*44g*:40   <>14:*g1+14:*p2044*p
@theonlygusti        >^   >                        ^>
                                >                   ^

Now, this program is special in that it produces no output! None whatsoever! Instead, it modifies its own source to display 42, ASCII-art style.

                                444    22222222
                               444    222    222
                              444 444       222
                             444  444     222
                            44444444444 222
                                  444  222
                                  444 2222222222

Therefore, I recommend Alexios' interpreter to visualize it.

To make it slightly more challenging, I've tried to only use the digits 4 and 2 wherever possible, but have often used a 1 instead of (my alternative) 42%!.

I thought this would be a pretty cool concept, and I love how the program uses its own destruction to end!The program, as its overwritten, reaches some of the code which keeps the loop going, and therefore ends. I'd love to explore this idea further in the future!

One of my other ideas was to have a befunge program generate some brainfuck as its output, and the brainfuck, when run, would generate the befunge which generated it! I might try that later, post as another answer here.

1
source | link

Now, I know I'm fairly late to the show, but I wanted to try something using befunge:

42*2+42+::*\->" "\1-:v>$82+>"2"\1-:v>$" 444"42+:*>" "\1-:v>$442++v
v            ^       _^    ^       _^            ^       _^      >
>42+:*>" "\1-:v>$"222  444"42+:*>" "\1-:v>$42*2+42+:*1-v
v     ^       _^                ^       _^             >
>>" "\1-:v>$"222 4"42*2+>"4"\1-:v>$42*4*2->" "\1-:v>$442++42*4*v
v^       _^             ^       _^        ^       _^           >
>" ">" "\1-:v>$"222 "::"  444  444"42*4*>" "\1-:v>$$42+4+v
  v ^       _^                          ^       _^       >
  >42*4*1->" "\1-:v>$"222"42*>" "\1-:v>$$"444 444"424**>" "\1-:v>$42*2+v
  v       ^       _^         ^       _^                ^       _^      >
  >42+:4*+>" "\1-:v>$"222    222 ":::"444"44*2*1+>" "\1-:v>$24:++v
  v       ^       _^                             ^       _^      >
  >" "442**2->" "\1-:v>$42*>"2"\1-:v>$4>" "\1-:v>$"444"244**2+>" "\1-:v>$v
v            ^       _^    ^       _^  ^       _^             ^       _^ >
>004:*p   v>04:*g14:*gp:42*2+-#v_$004:*p144*g1+144*pv                  v
  v p*:410<^              <    >04:*g1+044*p                           v
  >       >^              |       -7g*:41           <                  <
v                         <
>42*42*2+*>" "\1-:v>$>:#v_v
          ^       _^ ^> >  04:*g14:*gp04:*g1+04:*pv
^                    ^         _v#-**44*44g*:40   <>14:*g1+14:*p2044*p
@theonlygusti        >^   >                        ^>
                                >                   ^

Now, this program is special in that it produces no output! None whatsoever! Instead, it modifies its own source to display 42, ASCII-art style. Therefore, I recommend Alexios' interpreter to visualize it.

I thought this would be a pretty cool concept, and I'm sure I could create some nicer, more efficient code, but currently, this'll do!