Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Challenges

Comments on Generate Lewis Caroll's Jabberwocky

Parent

Generate Lewis Caroll's Jabberwocky

+4
−0

The task is to generate the text of Lewis Caroll's Jabberwocky.

The text, quoted from Wikipedia, is as follows (I've replaced a non-ASCII character with ASCII, otherwise it's direct copy&paste from the linked Wikipedia article):

'Twas brillig, and the slithy toves
Did gyre and gimble in the wabe;
All mimsy were the borogoves,
And the mome raths outgrabe.

"Beware the Jabberwock, my son!
The jaws that bite, the claws that catch!
Beware the Jubjub bird, and shun
The frumious Bandersnatch!"

He took his vorpal sword in hand:
Long time the manxome foe he sought-
So rested he by the Tumtum tree,
And stood awhile in thought.

And as in uffish thought he stood,
The Jabberwock, with eyes of flame,
Came whiffling through the tulgey wood,
And burbled as it came!

One, two! One, two! And through and through
The vorpal blade went snicker-snack!
He left it dead, and with its head
He went galumphing back.

"And hast thou slain the Jabberwock?
Come to my arms, my beamish boy!
O frabjous day! Callooh! Callay!"
He chortled in his joy.

'Twas brillig, and the slithy toves
Did gyre and gimble in the wabe;
All mimsy were the borogoves,
And the mome raths outgrabe.

The text above has to be produced verbatim, including newlines (you can use any of the common newline characters or character sequences, provided you stay consistent). Note that there is a newline character at the end of the last line.

This is code-golf, so the shortest entry per language wins.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

Post
+2
−0

Bubblegum, 769 bytes

074cd1dc7fb6baed2f568915ffeb6aa5c775264a9a6f77eb418f0793da59b234599dadb6804269dbb5a213a05c807b0723f79512c284f46e8dbb6b0274f1b36606988b67ea58cf68beabe10f158702fcbf4c2b30d7b4f26190901aa713e125aee132d76940aff74588831a1908d8541c09f042556a7c7e24e80370734855cd398797d016c22627e54bec7c76034f141610fcbb8edb9ab6194c5914680b4c735f7a0e804b213dda7380469109d3a1296f04212cc5106e1282560971c3d4d357f330585209d924545a0e5180ccc1a01c8c65df7f29bb9fe3a5aeba8bf97781d60194f34bdfdbfc9aecfc49e8bd6896dc202d92830dd0ff31a115567bcec156ce21f705909b873eff8795764f24a6823f95b6c9548d2398cc1befecbf9298e3ec1211fea9615a9654746eb5defaafd70bd96ea6bff3d587ee01d7d631c5a613883afc25c7f9da67a7f185f19f3378d8790b173393344c2e66af508d63798be175f56178e5402ab07c8b97bc0c2c582010154a71c59acf175c4f2974b68cf319cace4de83e37d6d6f93b58f000033ed0accc7a742292780c5eb2fa87daa61a2e7794911787de40abed55f872483fa776e5d6158229577ec58b9a7b2e1f7c71930d8655491025808ceed9f960a4ecfcc69787bc965fc29852e77d6b6713b3e6d3b5e992d710a775464c9e3c7cc82d6bf7866f2b985e549a8b81dd5803f0746cd41dbe5f016d65f40f1efc4aa7ea204e73f9c47a9c2f9ce9b5d46b018c0bc2d68ae15635fa967be70cd7cc9d47a62da62e0546ae68a912cae2408e4c9b5dbeddb218cc3c70c69f11175cdc61c8a7422d50bb8038fcbd7d9dff05bdd821931c0e083a9f4f509b776106219099f616a8a439d12491bff97f31222881cbafe273680ae34d59ca5536f25c308e6402b31191d235bbfdcfa4bb681410c0d84c0f1f4d008b591ddc7d3d2c32c9da15554d51a6355686eb9afe64c45f96a5f83dbae78545b9daf1118e600878eadec76d3a26cee9ed3e817b4be1d7e95380ab13c6d2a32cea2370208925c736e41288a04658380d6e86cb07ed7b08e2c8efa76234fb18e3b25e00                                            .

Try it online!

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

General comments (3 comments)
General comments
celtschk‭ wrote almost 4 years ago

An explanation would be nice.

Razetime‭ wrote almost 4 years ago

@celtschk Bubblegum is used to provide constant output, generally from SHA-256, LZMA or TAR compressed files. This answer is probably a valid SHA256 hash. Read here

Razetime‭ wrote almost 4 years ago

Basically, it is the most boring(and oftentimes most efficient) kolmogorov complexity language.