GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pitr/aoc: Advent of Code in APL

BranchesTags
Open more actions menu

Latest commit

 

History

250 Commits
250 Commits

Folders and files

NameName
Last commit message
Last commit date
2015
2015
 
 
2016
2016
 
 
2017
2017
 
 
2018
2018
 
 
2019
2019
 
 
2020
2020
 
 
2021
2021
 
 
2022
2022
 
 
2023
2023
 
 
2024
2024
 
 
2025
2025
 
 
everybody.codes/2024
everybody.codes/2024
 
 
icfp
icfp
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
tree.apl
tree.apl
 
 

Repository files navigation

Advent of Code

My solutions to Advent of Code. Some solutions were either livestreamed or explained on YouTube.

  • 2015 - APL complete (missing 4 as it requires MD5)
  • 2016 - APL complete (missing 5, 14, 17 as they require MD5)
  • 2017 - APL complete
  • 2018 - APL complete
  • 2019 - Ruby complete, APL ongoing
  • 2020 - Mix of J/Ruby/APL, complete
  • 2021 - APL complete
  • 2022 - APL complete, some K
  • 2023 - APL complete
  • 2024 - APL complete
  • 2025 - APL complete

Also, https://everybody.codes is under the corresponding folder.

  • 2024 - APL in progress

APL setup

⎕IO is always assumed to be 0. Solutions developed iteratively in Sublime Text, using the Build system (see demo here).

Requirements:

  • Dyalog APL
  • Sublime Text
  • APL package for Sublime Text

~/.dyalog/dyalog.dcfg

{ settings: {
	Default_IO: 0,
	Default_PP: 15,
	Default_PW: 32767,
	Dyalog_LineEditor_Mode: 1,
	MAXWS: "4G",
	Log_Size: "2M",
}}

APL.sublime-build

Custom build system that relies on dyalogscript.

Note: replace with your own /PATH/HOME, ~/ for home directory doesn't work.

{
    "cancel": { "kill": true },
	"cmd": [
		"/usr/local/bin/dyalogscript",
		"ConfigFile=/PATH/HOME/.dyalog/dyalog.dcfg",
		"$file"
	],
	"selector": "source.apl"
}

APL.sublime-settings

{
	"auto_complete": false,
	"caret_style": "solid",
	"draw_indent_guides": false,
	"ensure_newline_at_eof_on_save": true,
	"fold_buttons": false,
	"font_face": "APL386 Unicode",
	"font_size": 22,
	"line_numbers": false,
	"translate_tabs_to_spaces": true
}

About

Advent of Code in APL

Topics

advent-of-codeadvent-of-code-2015advent-of-code-2016advent-of-code-2017advent-of-code-2018advent-of-code-2019advent-of-code-2020advent-of-code-2021advent-of-code-2022advent-of-code-2023advent-of-code-2024adventofcodeaocapl

Resources

Readme
Activity

Stars

20 stars

Watchers

3 watching

Forks

0 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.