git @ Cat's Eye Technologies Befunge-93 / a9aa25e
Merge pull request #22 from catseye/fix-examples-attributions Fix examples' attributions Chris Pressey authored 3 years ago GitHub committed 3 years ago
12 changed file(s) with 42 addition(s) and 117 deletion(s). Raw diff Collapse all Expand all
99 | Name | License | Author | Date | Notes |
1010 | -------------------------- | ------- | ------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1111 | [anagram.bf](anagram.bf) | | Kalyna Zazelenchuk | 9/5/93 | This program will input a string of sixteen characters or less, and (p)ut those characters in order on line 3 (the line with the \*'s). It will then randomly find numbers from 1 to 16, (g)et the characters at line 3 in random order, replace them with \*'s, and print them out. Effectively produces anagrams of words you type in. It uses the code from 'rand2.bf' to generate random numbers.
12 | [aturley.bf](aturley.bf) | CC0 | Andrew Turley | ?/?/? | aturley's .sig; cellular automata gasket generator.
12 | [aturley.bf](aturley.bf) | CC0 | Andrew Turley | 10/30/97 | aturley's .sig; cellular automata gasket generator.
1313 | [beer.bf](beer.bf) | | Kevin Vigor | 4/9/97 | A simple program that prints the "beer song" (99 bottles of beer on the wall...) from 99 down to 0. Part of the Beer Song archive.
1414 | [beer10.bf](beer10.bf) | | Chris Lahey | 6/8/97 | A squashed (22x10) beer singing program, gramatically correct.
1515 | [beer2.bf](beer2.bf) | | Keith Arner | 4/10/97 | Another "99 Bottles of Beer" program.
7272 | [rand3.bf](rand3.bf) | | Chris Pressey | 9/5/93 | 12x9 random number generator, like rand.bf and rand2.bf.
7373 | [rand4.bf](rand4.bf) | | Matthew D Moss | 2/1/96 | A 7x7 random number generator in the tradition of rand.bf .. rand3.bf, but using mathematics to reduce the problem before writing the code
7474 | [rand5.bf](rand5.bf) | CC0 | Dmitry M Litvinov | 2/1/96 | A 4x10 random number generator which produces the same output as rand.bf .. rand4.bf. Unlike most Befunge sources this one has a symmetrical beauty to it.
75 | [rand6.bf](rand6.bf) | | Artyom Baranov? | 12/1/96 | An 8x4 random number generator a la rand5.bf.
76 | [rand7.bf](rand7.bf) | | ??? | 12/1/96 | A 13x3 random number generator a la rand5.bf and rand6.bf.
75 | [rand6.bf](rand6.bf) | | Chris Pressey | 3/10/96 | An 8x4 random number generator a la rand5.bf.
76 | [rand7.bf](rand7.bf) | | Artyom Baranov | 2/28/96 | A 13x3 random number generator a la rand5.bf and rand6.bf.
7777 | [rand8.bf](rand8.bf) | | Chris Howe | 4/9/97 | A 4x9 flexible random number generator; if you change the 4 in position (1,2) to another integer n it will generate a number between 1 and 2\^n (inclusive) for 0\<n\<9.
7878 | [rand9.bf](rand9.bf) | | Chris Lahey | 4/11/97 | A 3x7 random number generator.
79 | [rdp.bf](rdp.bf) | CC0 | Dmitry M Litvinov | 2/1/96 | A command-line calculator with postfix notation.
80 | [rdp2.bf](rdp2.bf) | | Kimberley Burchette | 12/1/96 | A version of rdp.bf crammed into a 23x12 block.
8179 | [robot.bf](robot.bf) | CC0 | Chris Pressey | 9/5/93 | You control an 'O' going through a maze of '\*''s. You can type in 'n', 's', 'e', or 'w', and the 'O' travels in that map direction. This not-particularly-challenging game ends when you hit a '\*'.
8280 | [rot13.bf](rot13.bf) | | ??? | 9/11/97 | Performs the rot13 algorithm.
81 | [rpn.bf](rpn.bf) | CC0 | Dmitry M Litvinov | 2/22/96 | A command-line calculator with postfix notation.
82 | [rpn2.bf](rpn2.bf) | | Kimberley Burchett | 11/16/96 | A version of rpn.bf crammed into a 23x12 block.
8383 | [selflis2.bf](selflis2.bf) | CC0 | Chris Pressey | 12/1/96 | A self-reproducing 80x1 program. This program can also be used to test for the @ vs StringMode bug.
84 | [selflis3.bf](selflis3.bf) | | Kevin Vigor | 5/28/97 | A 14-byte Quine (self-reproducing program.)
84 | [selflis3.bf](selflis3.bf) | | Kevin Vigor | 5/8/97 | A 14-byte (almost-)self-reproducing program (the result contains an extra space, but is itself a 15-byte self-reproducing program.)
8585 | [selflis5.bf](selflis5.bf) | | David Johnston | 5/7/97 | Crammed (14x6) self-listing program.
86 | [selflis6.bf](selflis6.bf) | | Denis Moskowitz | 5/8/97 | 14-byte quine.
87 | [selflist.bf](selflist.bf) | | ??? | ?/?/? | A self-reproducing Befunge program, 13x4.
86 | [selflis6.bf](selflis6.bf) | | Denis Moskowitz | 5/8/97 | 14-byte quine. This was submitted as a tiny fix to `selflis3.bf` which makes it reproduce itself exactly.
87 | [selflist.bf](selflist.bf) | CC0 | Dmitry M Litvinov | 2/21/96 | A self-reproducing Befunge program, 13x4.
8888 | [serp.bf](serp.bf) | | Kevin Vigor | 4/9/97 | Generates and prints a Serpinsky triangle, a simple type of fractal. Since the resolution is 20x30, the detail of the fractal isn't really visible, but hey, what can you do?
8989 | [serp2.bf](serp2.bf) | | Kevin Vigor | 4/10/97 | Improved Serpinsky Triangle generator.
9090 | [sinus.bf](sinus.bf) | CC0 | Dmitry M Litvinov | 12/1/96 | Program to generate sine wave patterns. Based on cos(a+b)=cos(a)\*cos(b)-sin(a)\*sin(b) and sin(a+b)=sin(a)\*cos(b)+cos(a)\*sin(b). sin and cos values are kept in one stack cell = abs(sin) \* 2\^16 + abs(cos).
9191 | [sort.bf](sort.bf) | | Kalyna Zazelenchuk | 9/5/93 | Same as anagram.bf, except sorts the letters of your word in ascending order.
92 | [surprise.bf](surprise.bf) | | ??? | 6/1/97 | A big surprise.
92 | [surprise.bf](surprise.bf) | | Timothy Howe | 11/26/96 | A big surprise.
9393 | [switchbx.bf](switchbx.bf) | | Zach Baker | 7/10/97 | A real purty 'switch' statement.
9494 | [testbrdg.bf](testbrdg.bf) | CC0 | Chris Pressey | 10/27/111| Tests whether the \# instruction interacts properly with wrapping.
9595 | [testmodu.bf](testmodu.bf) | CC0 | Chris Pressey | 8/23/111 | Tests how your implementation of Befunge-93 calculates modulus (there is no right way.)
+0
-25
eg/postfix.bf less more
0 =l b93
1 =# postfix.bf
2 =# Dmitry M Litvinov
3 =# 2/1/96
4 =# A command-line calculator with postfix notation.
5 > v ****** Postfix-Calculator ******
6 >v"Enter forth-expressions:"*250< * 10 3+567 89*- <Enter> -50450 *
7 ,: ********************************
8 ^_$ v
9 > v
10 ^+*+91\-"0"<
11 |`!"9":< ~
12 |!`\"0":<
13 v < < \
14 0
15 >:"9"`!|
16 >:"0"\`!|
17 >:25*-| > v
18 >:"/"-| $ $
19 >:"*"-| $ . v"error"*25<
20 >:"-"-| $ / 2 >25*,,,,,,,v
21 >:"+"-| $ * 5
22 >~>:" "-| $ - *
23 $ + ,
24 ^ < < < < < < <
+0
-17
eg/postfix2.bf less more
0 =l b93
1 =# postfix2.bf
2 =# Kimberley Burchette
3 =# 12/1/96
4 =# A version of postfix.bf crammed into a 23x12 block.
5 100p010p v p00+g00 <
6 >~:25*-!#v_v
7 vp3+1g00"@"p3g00"."< #
8 >
9 v <#
10 >:"/"`!#v_ :":"\`#v_v
11 v p010< <
12 > 00g3p 1 ^
13 v_^# p011 g01 <
14 > 00g:::"2"\3p"5"\1+ v
15 v p3+3\"*"p3+2\"*"p3 <
16 > 00g4+3p"+"00g5+3p 6 ^
+0
-6
eg/quine.bf less more
0 =l b93
1 =# quine.bf
2 =# Denis Moskowitz
3 =# 5/8/97
4 =# 14-byte quine.
5 :0g,:93+`#@_1+
+0
-11
eg/quine2.bf less more
0 =l b93
1 =# quine2.bf
2 =# David Johnston
3 =# 5/7/97
4 =# Crammed (14x6) self-listing program.
5 g,10g,200p1 v<
6 vg,gg01g <p0<0
7 >1+:95*-#^ #<|
8 v+1g01p,*25$ <
9 >:6-#v_@>10p^
10 > ^
+0
-9
eg/quine3.bf less more
0 =l b93
1 =# quine3.bf
2 =# Andrew Turley
3 =# 12/1/96
4 =# A self-reproducing Befunge program, 13x4.
5 v>>0>:04gg,1v
6 0p | -*27:+<
7 04|<>04g1+:0v
8 >^@^-4,*25p4<
+0
-20
eg/rdp.bf less more
0 > v ****** Postfix-Calculator ******
1 >v"Enter forth-expressions:"*250< * 10 3+567 89*- <Enter> -50450 *
2 ,: ********************************
3 ^_$ v
4 > v
5 ^+*+91\-"0"<
6 |`!"9":< ~
7 |!`\"0":<
8 v < < \
9 0
10 >:"9"`!|
11 >:"0"\`!|
12 >:25*-| > v
13 >:"/"-| $ $
14 >:"*"-| $ . v"error"*25<
15 >:"-"-| $ / 2 >25*,,,,,,,v
16 >:"+"-| $ * 5
17 >~>:" "-| $ - *
18 $ + ,
19 ^ < < < < < < <
+0
-12
eg/rdp2.bf less more
0 100p010p v p00+g00 <
1 >~:25*-!#v_v
2 vp3+1g00"@"p3g00"."< #
3 >
4 v <#
5 >:"/"`!#v_ :":"\`#v_v
6 v p010< <
7 > 00g3p 1 ^
8 v_^# p011 g01 <
9 > 00g:::"2"\3p"5"\1+ v
10 v p3+3\"*"p3+2\"*"p3 <
11 > 00g4+3p"+"00g5+3p 6 ^
+0
-7
eg/revquine.bf less more
0 =l b93
1 =# revquine.bf
2 =# Chris Pressey
3 =# 12/1/96
4 =# A self-repoducing 80x1 program. This program can also be used to test
5 =# for the @ vs StringMode bug.
6 ">:#,_66*2-,@This prints itself out backwards...... but it has to be 80x1 cells
0 > v ****** Postfix-Calculator ******
1 >v"Enter forth-expressions:"*250< * 10 3+567 89*- <Enter> -50450 *
2 ,: ********************************
3 ^_$ v
4 > v
5 ^+*+91\-"0"<
6 |`!"9":< ~
7 |!`\"0":<
8 v < < \
9 0
10 >:"9"`!|
11 >:"0"\`!|
12 >:25*-| > v
13 >:"/"-| $ $
14 >:"*"-| $ . v"error"*25<
15 >:"-"-| $ / 2 >25*,,,,,,,v
16 >:"+"-| $ * 5
17 >~>:" "-| $ - *
18 $ + ,
19 ^ < < < < < < <
0 100p010p v p00+g00 <
1 >~:25*-!#v_v
2 vp3+1g00"@"p3g00"."< #
3 >
4 v <#
5 >:"/"`!#v_ :":"\`#v_v
6 v p010< <
7 > 00g3p 1 ^
8 v_^# p011 g01 <
9 > 00g:::"2"\3p"5"\1+ v
10 v p3+3\"*"p3+2\"*"p3 <
11 > 00g4+3p"+"00g5+3p 6 ^
0 :0g,:93+`#@_1+
0 :0g,:94+`#@_1+