2018 icon indicating copy to clipboard operation
2018 copied to clipboard

ETERLAN SEPTEBMER

Open cpressey opened this issue 5 years ago • 1 comments

ETERLAN SEPTEBMER

Code

5 52** 52** 52** 52**             1- 0v0                                     <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>v>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>v  -
^                                                                         v  1
^    "   "   "   "   "   "   "   "   "   "   "   "   "   "   "   "   "    v  |
^    X   Y   X   Y   X   Y   X   Y   I   X   Y   X   Y   X   Y   X   Y    v  @
^    "   "   "   "   "   "   "   "   "#  "   "   "   "   "   "   "   "    v  #
^ "N"?"S"?"E"?"W"?"U"?"D"?"L"?"R"?"P"?"G"?"C"?"C"?"F"?"O"?"U"?"R"?"A"?"M" v  :
^    "   "   "   "   "   "   "   "   "   "   "   "   "   "   "   "   "    v  $
^    J   U   B   I   L   A   N   T   B   E   F   U   N   G   I   N   G    v >^
^    "   "   "   "   "   "   "   "   "#  "   "   "   "   "   "   "   "    v ,,
^ "H"?"E"?"Y"?"M"?"Y"?"A"?"R"?"C"?"H"?"I"?"V"?"E"?"M"?"U"?"S"?"T"?"B"?"E" v ,*
^    "   "   "   "   "   "   "   "   v   "   "   "   "   "   "   "   "    v :4
^    W   I   N   N   I   P   E   G  >v<  M   A   N   I   T   O   B   A    v *8
^    "   "   "   "   "   "   "   "   v   "   "   "   "   "   "   "   "    v 2 
^ "C"?"O"?"R"?"R"?"U"?"P"?"T"?"X"?"T"?"H"?"E"?"S"?"E"?"F"?"I"?"L"?"E"?"S" v 5 
^    "   "   "   "   "   "   "   "   "   "   "   "   "   "   "   "   "    v   
^    S   E   P   T   E   M   B   E   R   M   C   M   X   C   I   I   I    v>?^
^    "   "   "   "   "   "   "   "   "   "   "   "   "   "   "   "   "    v ^ 
^ "A"?"L"?"L"?"L"?"O"?"O"?"K"?"L"?"I"?"K"?"E"?"G"?"A"?"R"?"B"?"A"?"G"?"E" v v<
^    "   "   "   "   "   "   "   "   "   "   "   "   "   "   "   "   "    v #|
^    X   Y   X   Y   X   Y   X   Y   O   X   Y   X   Y   X   Y   X   Y    v ^<  
^    "   "   "   "   "   "   "   "   "   "   "   "   "   "   "   "   "    v ,#  
^                                                                         v  :  
^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>^

Novel

ETERLAN SEPTEBMER.md, exactly 50,000 words

Notes

In Usenet jargon, Eternal September refers to September 1993, the month that AOL started heavily promoting Usenet access to the general public. The Internet would never be the same again.

September 1993 is also when the Befunge programming language was invented.

(These two events are generally considered to be coincidental.)

Anyway, 2018 marks the 25th anniversary of both of these events, and this novel generator, written in Befunge-93, celebrates this 25th anniversary -- mainly the latter event rather than the former, though, you understand.

(Okay, two months have now passed since September, it's true, but it also remains true that 2018 - 1993 = 25, and there is a certain time of year when it is best to write these novel generator things. So, here it is.)

The novel itself was generated with bef, the Befunge-93 reference interpreter (using the -q option to suppress extraneous output).

Being a two-dimensional language, program flow in Befunge can proceed in any of the four cardinal directions: up, down, left, or right. Befitting of this, the Befunge programming language does not have a facility for generating random numbers. Instead, it generates random directions -- the ? instruction randomly selects up, down, left, or right.

This generator exploits that by presenting a grid of literal characters, with ? instructions at the intersections. Characters are accumulated as the program wanders this grid, back-and-forth, until it gets to the edge, at which point a word is output, and the process repeats until we get 50,000 words.

Due to this method, the random strings of characters produced by this generator have a certain quality that is not evident when using most other methods of random generation. (The strings also tend to be very long, and thus the generated novel is kind of huge, about 1.5M.)

Preview

XKR XMEEHOROIEGGXECGGGTXDLNCGEETTTRRHH

YAMSEHXRPPRLLRPPTHIVEEFFASSEHHMKR YFAEHTEET YCAVMMEEMMVVMHYIR XKIETTTRRORHHYOEPTXTRIIRXBXTHH

XGEMECGMMAAAAGEKRRIIRXLOEEOMTXXTPREBBEEXTXLETHHRRHHRR YEKRORTT XKRYIRRROIEEIKKKMHTEET

YXIIENEVVENNEVVVIIIIMHXLEXXTTEIKMHTTIMHRKKRTGTTCEXT XUEVMH XCCCFVVACEKRHHHHYARRREBBTTXTRRYINUEOOOKBBBXTRRHHYTGTTTYMMMPAAAIUUEOMTXXXEETRRXRRNCGXBBEEBBXT YUGUUGOFCFFFASSEHXNEXT

YEKR YCFOURRRNBBTOIFESEMIIEEECFAEH

(You can think of it as a kind of fireworks...)

cpressey avatar Nov 29 '18 16:11 cpressey