This repository contains golfed solutions to Advent of Code 2018 in my personal golfing programming language, Paradoc.
(These are not the solutions I compete on the leaderboard with; I think there are enough repos with such solutions and my solutions wouldn't be that different. I have also not been careful about preserving my code for level 1 before doing level 2 of each day.)
I could obviously cheat at golf by adding built-ins to Paradoc tailored to each challenge after seeing it, so my programs here are all meant to run on Paradoc version v0.2.15, which was pushed (way) before this year's Advent of Code. I will be using the results here to guide improving Paradoc in the future, though. The programs also may not run on future versions.
Note on byte count: Like a lot of the other golfing languages seen on the Programming Puzzles & Code Golf StackExchange, the byte counts here assume programs were encoded in the Paradoc code page. These programs will almost always take up more than the stated byte count as UTF-8 strings, and for the sake of easy viewability, they are UTF-8 encoded below and in the programs in this repository.
Day-Level | Bytes | Code |
---|---|---|
1-1 | 3 | v]Š |
1-2 | 14 | v¬1k*+s:U]zÛg‹ |
2-1 | 18 | l]μ$GLmE4B#ßÂm}ÁrÞ |
2-2 | 16 | l]²¨Ûfμ™Îf‹m}L_Æ |
3-1 | 29 | l¬μ"\d+"El¨Im»~\u+ßd*¨}¨$G«_# |
3-2 | 42 | l¬μ"\d+"El¨Im~\u+ßd*¨\+bm}¨$«_G½f¨›mU$JÛg‹ |
4-1 | 50 | l]$ε"\d+"El¨Im4>:LÎ+x}]μ2/(›\μ~¨}¨‡ß}¨$‹_{GL_Æ}×‹Þ |
4-2 | 45 | l]$ε"\d+"El¨Im4>:LÎ+x}]μ2/(›\μ~¨}¨‡ß}¨$GL_Æ‹Þ |
5-1 | 17 | l0\εXc=k¸;_X?}]L( |
5-2 | 31 | lUa{{Ucu-}bf0\εXc=k¸;_X?}]L(}ߌ |
6-1 | 88 | l]μ',-WIm}.E™εŒqÆ}{…d*¨}q‡d¦\{~…*¨}dÐ+{μ;9k:EεZ±zŠ<k;_{>kX&p¸u¸u\}?};} f$G}d+$‹_G«_-¨LmÆ |