r/adventofcode • • Dec 05 '17

SOLUTION MEGATHREAD -๐ŸŽ„- 2017 Day 5 Solutions -๐ŸŽ„-

--- Day 5: A Maze of Twisty Trampolines, All Alike ---


Post your solution as a comment or, for longer solutions, consider linking to your repo (e.g. GitHub/gists/Pastebin/blag or whatever).

Note: The Solution Megathreads are for solutions only. If you have questions, please post your own thread and make sure to flair it with Help.


Need a hint from the Hugely* Handyโ€  Haversackโ€ก of Helpfulยง Hints^ยค?

Spoiler


This thread will be unlocked when there are a significant number of people on the leaderboard with gold stars for today's puzzle.

edit: Leaderboard capped, thread unlocked!

22 Upvotes

403 comments sorted by

View all comments

1

u/thomastc Dec 06 '17

1

u/wzkx Dec 11 '17

further back, to 1958, and write this jump table thing in ALGOL. ALGOL 68, to be precise

I'm sorry, but ALGOL and ALGOL 68 are totally different languages. Like Java and Javascript. Names sound alike and some keywords and constructions are the same, but they are very different and not dialects of each other. So you have one more attempt - to make a day in pure ALGOL of 1958.

1

u/thomastc Dec 11 '17

OK, thanks! For now I'll just update the README... Do you know of a good ALGOL (58 or maybe 60) compiler/interpreter for Linux?

1

u/wzkx Dec 11 '17

Hi, sorry, no. Can only google it. Maybe this http://linux.softpedia.com/get/Programming/Interpreters/Algol-60-interpreter-51155.shtml I never tried Algol 58/60, studied a bit, but not used -- remember only that it's not fun from perspective of modern langs.

1

u/thomastc Dec 11 '17

Also perhaps https://www.gnu.org/software/marst/marst.html (found via http://www.catb.org/retro/).

I might have to disappoint you though: I've had enough of arcane languages for a while. And there are enough somewhat nice ones on the list to get me through the year.

1

u/wzkx Dec 13 '17

Sure I can't insist in any way! Keep up your escapade :) It's interesting to watch.