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

Post History

77%
+5 −0
Challenges Generate Lewis Caroll's Jabberwocky

Japt, 625 615 bytes `'T°s ߍ¦g, „d e sҐy ‘vƒ Did gyœ „d g‹½e ˆ e °¼; A¥ Úßy ØÀ e ޒgovƒ, A˜ e Ú  ÎÈs ŒtgŸ¼. ` +i` "BeØ e {=`Jab¼rwock`}, my s! T” jaws È ßÒ, e claws È ¯t®! BeØ e...

posted 4y ago by Quintec‭  ·  edited 3y ago by Quintec‭

Answer
#3: Post edited by user avatar Quintec‭ · 2021-08-16T20:23:20Z (over 3 years ago)
  • # [Japt](https://github.com/ETHproductions/japt), 625 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • =`'T°s ߍ¦g, „d e sҐy ‘vƒ
  • Did gyœ „d g‹½e ˆ e °¼;
  • A¥ Úßy ØÀ e ޒgovƒ,
  • A˜ e Ú  ÎÈs ŒtgŸ¼.
  • `U+`
  • "BeØ e Jab¼rwock, my s!
  • T” jaws È ßÒ, e claws È ¯t®!
  • BeØ e Jubjub bird, „d д
  • T” è–ムBÂrsn…®!"
  • He ‘ok –s vŽpal sÙ ˆ Ê@:
  • Lg ÈØ e µnxo´ foe ” Ñht-
  • So ΂ ” by e Tumtum ɇ,
  • A˜ ÐOd aؕe ˆ Èght.
  • A˜ † ˆ uff‰h Èght ” ÐOd,
  • T” Jab¼rwock, ØP eyƒ  fla´,
  • Ca´ ²iffҁ È*ugh e tªgey wood,
  • A˜ ¿rÞB † Š ¯´!
  • Oš, two! Oš, two! A˜ È*ugh „d È*ugh
  • T” vŽpal Þue ØË sÍõ€-snack!
  • He ¤ft Š Ü%, „d ØP Šs Ê%
  • He ØË galumpʁ back.
  • "A˜ ÊQ È sÓ° e Jab¼rwock?
  • Co´ ‘ my ‡ms, my ¼aÚÊ ¾y!
  • O fŸbjŒs »y! CÃ
  • oh! CÃy!"
  • He ֚t¤d ˆ –s joy.
  • `+U
  • Dictionary compression, repeating the first paragraph. I can't really find any patterns to do anything else... words such as "Jabberwock" (which aren't in the dictionary) aren't compressed enough to try and save on, I think.
  • [Test it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=PWAnVLBzIN%2bNpmcsIIRkIJBlIHPSkHkgkXaDCkRpZCBneZwghGQgZ4u9ZSCIIJBlILC8OwpBpSDa33kg2MAgkGUg3pJnb3aDLApBmCCQZSDaoCDOyHMgjHRnn7wuCmBVK2AKIkJl2BggkGUgSmFivHJ3b2NrLCBteSBzjSEKVJQgamF3cyDICSDf0iwgkGUgY2xhd3MgyAkgr3SuIQpCZdgYIJBlIEp1Ymp1YiBiaXJkLCCEZCDQtApUlCDoluODIELCcnNuha4hIgoKSGUgkW9rIJZzIHaOcGFsIHPZFyCIIMpAOgpMjWcgyNggkGUgtW54b7QgZm9lIJQg0QVodC0KU28gzhmCIJQgYnkgkGUgVHVtdHVtIMmHLApBmCDQT2QgYdiVZSCIIMgYZ2h0LgoKQZgghiCIIHVmZoloIMgYZ2h0IJQg0E9kLApUlCBKYWK8cndvY2ssINhQIGV5gyCPIGZsYbQsCkNhtCCyaWZm0oEgyCp1Z2ggkGUgdKpnZXkgd29vZCwKQZggv3LeQiCGIIogr7QhCgpPmiwgdHdvISBPmiwgdHdvISBBmCDIKnVnaCCEZCDIKnVnaApUlCB2jnBhbCDedWUg2Msgc831gC1zbmFjayEKSGUgpGZ0IIog3CUsIIRkINhQIIpzIMolCkhlINjLIGdhbHVtcMqBIGJhY2suCgoiQZggylEgyBggc9OwIJBlIEphYrxyd29jaz8KQ2%2b0IJEgbXkgh21zLCBteSC8YdrKIL55IQpPIGafYmqMcyC7eSEgQ8MKb2ghIEPDDnkhIgpIZSDWmnSkZCCIIJZzIGpveS4KCmArVQ)
  • # [Japt](https://github.com/ETHproductions/japt), <strike>625</strike> 615 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • ```
  • `'T°s ߍ¦g, „d e sҐy ‘vƒ
  • Did gyœ „d g‹½e ˆ e °¼;
  • A¥ Úßy ØÀ e ޒgovƒ,
  • A˜ e Ú  ÎÈs ŒtgŸ¼.
  • `
  • +i`
  • "BeØ e {=`Jab¼rwock`}, my s!
  • T” jaws È ßÒ, e claws È ¯t®!
  • BeØ e Jubjub bird, „d д
  • T” è–ムBÂrsn…®!"
  • He ‘ok –s vŽpal sÙ ˆ Ê@:
  • Lg ÈØ e µnxo´ foe ” Ñht-
  • So ΂ ” by e Tumtum ɇ,
  • A˜ ÐOd aؕe ˆ Èght.
  • A˜ † ˆ uff‰h Èght ” ÐOd,
  • T” {U}, ØP eyƒ  fla´,
  • Ca´ ²iffҁ È*ugh e tªgey wood,
  • A˜ ¿rÞB † Š ¯´!
  • Oš, two! Oš, two! A˜ È*ugh „d È*ugh
  • T” vŽpal Þue ØË sÍõ€-snack!
  • He ¤ft Š Ü%, „d ØP Šs Ê%
  • He ØË galumpʁ back.
  • "A˜ ÊQ È sÓ° e {U}?
  • Co´ ‘ my ‡ms, my ¼aÚÊ ¾y!
  • O fŸbjŒs »y! CÃ
  • oh! CÃy!"
  • He ֚t¤d ˆ –s joy.
  • ```
  • _-10 bytes thanks to @Shaggy_
  • Dictionary compression, repeating the first paragraph. I can't really find any patterns to do anything else... words such as "Jabberwock" (which aren't in the dictionary) aren't compressed enough to try and save on, I think.
  • [Test it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=PWAnVLBzIN%2bNpmcsIIRkIJBlIHPSkHkgkXaDCkRpZCBneZwghGQgZ4u9ZSCIIJBlILC8OwpBpSDa33kg2MAgkGUg3pJnb3aDLApBmCCQZSDaoCDOyHMgjHRnn7wuCmBVK2AKIkJl2BggkGUgSmFivHJ3b2NrLCBteSBzjSEKVJQgamF3cyDICSDf0iwgkGUgY2xhd3MgyAkgr3SuIQpCZdgYIJBlIEp1Ymp1YiBiaXJkLCCEZCDQtApUlCDoluODIELCcnNuha4hIgoKSGUgkW9rIJZzIHaOcGFsIHPZFyCIIMpAOgpMjWcgyNggkGUgtW54b7QgZm9lIJQg0QVodC0KU28gzhmCIJQgYnkgkGUgVHVtdHVtIMmHLApBmCDQT2QgYdiVZSCIIMgYZ2h0LgoKQZgghiCIIHVmZoloIMgYZ2h0IJQg0E9kLApUlCBKYWK8cndvY2ssINhQIGV5gyCPIGZsYbQsCkNhtCCyaWZm0oEgyCp1Z2ggkGUgdKpnZXkgd29vZCwKQZggv3LeQiCGIIogr7QhCgpPmiwgdHdvISBPmiwgdHdvISBBmCDIKnVnaCCEZCDIKnVnaApUlCB2jnBhbCDedWUg2Msgc831gC1zbmFjayEKSGUgpGZ0IIog3CUsIIRkINhQIIpzIMolCkhlINjLIGdhbHVtcMqBIGJhY2suCgoiQZggylEgyBggc9OwIJBlIEphYrxyd29jaz8KQ2%2b0IJEgbXkgh21zLCBteSC8YdrKIL55IQpPIGafYmqMcyC7eSEgQ8MKb2ghIEPDDnkhIgpIZSDWmnSkZCCIIJZzIGpveS4KCmArVQ)
#2: Post edited by user avatar Quintec‭ · 2020-12-10T13:43:49Z (almost 4 years ago)
  • # [Japt](https://github.com/ETHproductions/japt), 626 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • U=`'T°s ߍ¦g, „d e sҐy ‘vƒ
  • Did gyœ „d g‹½e ˆ e °¼;
  • A¥ Úßy ØÀ e ޒgovƒ,
  • A˜ e Ú  ÎÈs ŒtgŸ¼.
  • `U+`
  • "BeØ e Jab¼rwock, my s!
  • T” jaws È ßÒ, e claws È ¯t®!
  • BeØ e Jubjub bird, „d д
  • T” è–ムBÂrsn…®!"
  • He ‘ok –s vŽpal sÙ ˆ Ê@:
  • Lg ÈØ e µnxo´ foe ” Ñht-
  • So ΂ ” by e Tumtum ɇ,
  • A˜ ÐOd aؕe ˆ Èght.
  • A˜ † ˆ uff‰h Èght ” ÐOd,
  • T” Jab¼rwock, ØP eyƒ  fla´,
  • Ca´ ²iffҁ È*ugh e tªgey wood,
  • A˜ ¿rÞB † Š ¯´!
  • Oš, two! Oš, two! A˜ È*ugh „d È*ugh
  • T” vŽpal Þue ØË sÍõ€-snack!
  • He ¤ft Š Ü%, „d ØP Šs Ê%
  • He ØË galumpʁ back.
  • "A˜ ÊQ È sÓ° e Jab¼rwock?
  • Co´ ‘ my ‡ms, my ¼aÚÊ ¾y!
  • O fŸbjŒs »y! CÃ
  • oh! CÃy!"
  • He ֚t¤d ˆ –s joy.
  • `+U
  • Dictionary compression, repeating the first paragraph. I can't really find any patterns to do anything else... words such as "Jabberwock" don't compress enough to try and save on them.
  • [Test it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=VT1gJ1SwcyDfjaZnLCCEZCCQZSBz0pB5IJF2gwpEaWQgZ3mcIIRkIGeLvWUgiCCQZSCwvDsKQaUg2t95INjAIJBlIN6SZ292gywKQZggkGUg2qAgzshzIIx0Z5%2b8LgpgVStgCiJCZdgYIJBlIEphYrxyd29jaywgbXkgc40hClSUIGphd3MgyAkg39IsIJBlIGNsYXdzIMgJIK90riEKQmXYGCCQZSBKdWJqdWIgYmlyZCwghGQg0LQKVJQg6JbjgyBCwnJzboWuISIKCkhlIJFvayCWcyB2jnBhbCBz2RcgiCDKQDoKTI1nIMjYIJBlILVueG%2b0IGZvZSCUINEFaHQtClNvIM4ZgiCUIGJ5IJBlIFR1bXR1bSDJhywKQZgg0E9kIGHYlWUgiCDIGGdodC4KCkGYIIYgiCB1ZmaJaCDIGGdodCCUINBPZCwKVJQgSmFivHJ3b2NrLCDYUCBleYMgjyBmbGG0LApDYbQgsmlmZtKBIMgqdWdoIJBlIHSqZ2V5IHdvb2QsCkGYIL9y3kIghiCKIK%2b0IQoKT5osIHR3byEgT5osIHR3byEgQZggyCp1Z2gghGQgyCp1Z2gKVJQgdo5wYWwg3nVlINjLIHPN9YAtc25hY2shCkhlIKRmdCCKINwlLCCEZCDYUCCKcyDKJQpIZSDYyyBnYWx1bXDKgSBiYWNrLgoKIkGYIMpRIMgYIHPTsCCQZSBKYWK8cndvY2s/CkNvtCCRIG15IIdtcywgbXkgvGHayiC%2beSEKTyBmn2JqjHMgu3khIEPDCm9oISBDww55ISIKSGUg1pp0pGQgiCCWcyBqb3kuCgpgK1U)
  • # [Japt](https://github.com/ETHproductions/japt), 625 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
  • =`'T°s ߍ¦g, „d e sҐy ‘vƒ
  • Did gyœ „d g‹½e ˆ e °¼;
  • A¥ Úßy ØÀ e ޒgovƒ,
  • A˜ e Ú  ÎÈs ŒtgŸ¼.
  • `U+`
  • "BeØ e Jab¼rwock, my s!
  • T” jaws È ßÒ, e claws È ¯t®!
  • BeØ e Jubjub bird, „d д
  • T” è–ムBÂrsn…®!"
  • He ‘ok –s vŽpal sÙ ˆ Ê@:
  • Lg ÈØ e µnxo´ foe ” Ñht-
  • So ΂ ” by e Tumtum ɇ,
  • A˜ ÐOd aؕe ˆ Èght.
  • A˜ † ˆ uff‰h Èght ” ÐOd,
  • T” Jab¼rwock, ØP eyƒ  fla´,
  • Ca´ ²iffҁ È*ugh e tªgey wood,
  • A˜ ¿rÞB † Š ¯´!
  • Oš, two! Oš, two! A˜ È*ugh „d È*ugh
  • T” vŽpal Þue ØË sÍõ€-snack!
  • He ¤ft Š Ü%, „d ØP Šs Ê%
  • He ØË galumpʁ back.
  • "A˜ ÊQ È sÓ° e Jab¼rwock?
  • Co´ ‘ my ‡ms, my ¼aÚÊ ¾y!
  • O fŸbjŒs »y! CÃ
  • oh! CÃy!"
  • He ֚t¤d ˆ –s joy.
  • `+U
  • Dictionary compression, repeating the first paragraph. I can't really find any patterns to do anything else... words such as "Jabberwock" (which aren't in the dictionary) aren't compressed enough to try and save on, I think.
  • [Test it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=PWAnVLBzIN%2bNpmcsIIRkIJBlIHPSkHkgkXaDCkRpZCBneZwghGQgZ4u9ZSCIIJBlILC8OwpBpSDa33kg2MAgkGUg3pJnb3aDLApBmCCQZSDaoCDOyHMgjHRnn7wuCmBVK2AKIkJl2BggkGUgSmFivHJ3b2NrLCBteSBzjSEKVJQgamF3cyDICSDf0iwgkGUgY2xhd3MgyAkgr3SuIQpCZdgYIJBlIEp1Ymp1YiBiaXJkLCCEZCDQtApUlCDoluODIELCcnNuha4hIgoKSGUgkW9rIJZzIHaOcGFsIHPZFyCIIMpAOgpMjWcgyNggkGUgtW54b7QgZm9lIJQg0QVodC0KU28gzhmCIJQgYnkgkGUgVHVtdHVtIMmHLApBmCDQT2QgYdiVZSCIIMgYZ2h0LgoKQZgghiCIIHVmZoloIMgYZ2h0IJQg0E9kLApUlCBKYWK8cndvY2ssINhQIGV5gyCPIGZsYbQsCkNhtCCyaWZm0oEgyCp1Z2ggkGUgdKpnZXkgd29vZCwKQZggv3LeQiCGIIogr7QhCgpPmiwgdHdvISBPmiwgdHdvISBBmCDIKnVnaCCEZCDIKnVnaApUlCB2jnBhbCDedWUg2Msgc831gC1zbmFjayEKSGUgpGZ0IIog3CUsIIRkINhQIIpzIMolCkhlINjLIGdhbHVtcMqBIGJhY2suCgoiQZggylEgyBggc9OwIJBlIEphYrxyd29jaz8KQ2%2b0IJEgbXkgh21zLCBteSC8YdrKIL55IQpPIGafYmqMcyC7eSEgQ8MKb2ghIEPDDnkhIgpIZSDWmnSkZCCIIJZzIGpveS4KCmArVQ)
#1: Initial revision by user avatar Quintec‭ · 2020-12-10T13:42:29Z (almost 4 years ago)
# [Japt](https://github.com/ETHproductions/japt), 626 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)

    U=`'T°s ߍ¦g, „d e sҐy ‘vƒ
    Did gyœ „d g‹½e ˆ e °¼;
    A¥ Úßy ØÀ e ޒgovƒ,
    A˜ e Ú  ÎÈs ŒtgŸ¼.
    `U+`
    "BeØ e Jab¼rwock, my s!
    T” jaws È	 ßÒ, e claws È	 ¯t®!
    BeØ e Jubjub bird, „d д
    T” è–ムBÂrsn…®!"
    
    He ‘ok –s vŽpal sÙ ˆ Ê@:
    Lg ÈØ e µnxo´ foe ” Ñht-
    So ΂ ” by e Tumtum ɇ,
    A˜ ÐOd aؕe ˆ Èght.
    
    A˜ † ˆ uff‰h Èght ” ÐOd,
    T” Jab¼rwock, ØP eyƒ  fla´,
    Ca´ ²iffҁ È*ugh e tªgey wood,
    A˜ ¿rÞB † Š ¯´!
    
    Oš, two! Oš, two! A˜ È*ugh „d È*ugh
    T” vŽpal Þue ØË sÍõ€-snack!
    He ¤ft Š Ü%, „d ØP Šs Ê%
    He ØË galumpʁ back.
    
    "A˜ ÊQ È sÓ° e Jab¼rwock?
    Co´ ‘ my ‡ms, my ¼aÚÊ ¾y!
    O fŸbjŒs »y! CÃ
    oh! CÃy!"
    He ֚t¤d ˆ –s joy.
    
    `+U

Dictionary compression, repeating the first paragraph. I can't really find any patterns to do anything else... words such as "Jabberwock" don't compress enough to try and save on them.

[Test it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=VT1gJ1SwcyDfjaZnLCCEZCCQZSBz0pB5IJF2gwpEaWQgZ3mcIIRkIGeLvWUgiCCQZSCwvDsKQaUg2t95INjAIJBlIN6SZ292gywKQZggkGUg2qAgzshzIIx0Z5%2b8LgpgVStgCiJCZdgYIJBlIEphYrxyd29jaywgbXkgc40hClSUIGphd3MgyAkg39IsIJBlIGNsYXdzIMgJIK90riEKQmXYGCCQZSBKdWJqdWIgYmlyZCwghGQg0LQKVJQg6JbjgyBCwnJzboWuISIKCkhlIJFvayCWcyB2jnBhbCBz2RcgiCDKQDoKTI1nIMjYIJBlILVueG%2b0IGZvZSCUINEFaHQtClNvIM4ZgiCUIGJ5IJBlIFR1bXR1bSDJhywKQZgg0E9kIGHYlWUgiCDIGGdodC4KCkGYIIYgiCB1ZmaJaCDIGGdodCCUINBPZCwKVJQgSmFivHJ3b2NrLCDYUCBleYMgjyBmbGG0LApDYbQgsmlmZtKBIMgqdWdoIJBlIHSqZ2V5IHdvb2QsCkGYIL9y3kIghiCKIK%2b0IQoKT5osIHR3byEgT5osIHR3byEgQZggyCp1Z2gghGQgyCp1Z2gKVJQgdo5wYWwg3nVlINjLIHPN9YAtc25hY2shCkhlIKRmdCCKINwlLCCEZCDYUCCKcyDKJQpIZSDYyyBnYWx1bXDKgSBiYWNrLgoKIkGYIMpRIMgYIHPTsCCQZSBKYWK8cndvY2s/CkNvtCCRIG15IIdtcywgbXkgvGHayiC%2beSEKTyBmn2JqjHMgu3khIEPDCm9oISBDww55ISIKSGUg1pp0pGQgiCCWcyBqb3kuCgpgK1U)