Skip to content

cideM/aoc2024-janet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2024 🎅 🎄

Quickstart

If you just want to run a day against the example or real input, save the input to a .txt file and pipe it to the main program.

$ janet d1/main.janet < path/to/input.txt

With a LISP-y language like Janet, the recommended approach is to connect your editor a REPL and interactively run the code. Here's how to start the REPL.

$ jpm -l janet -e "(import spork/netrepl) (netrepl/server)"

Progress (11/25)

Janet Solution Comment
1 🔔 Link
2 🔔 Link
3 🔔 Link
4 🔔 Link
5 🔔 Link
6 🔔 Link
7 🔔 Link
8 🔔 Link
9 🔔 Link
10 🔔 Link
11 🔔 Link
12 💤
13 💤
14 💤
15 💤
16 💤
17 💤
18 💤
19 💤
20 💤
21 💤
22 💤
23 💤
24 💤
25 💤

Make Reddit Code Snippet

For longer code snippets, use https://topaz.github.io/paste/. If it's short enough, do this:

$ cat code | sed 's/^/    /' | xsel -b
$ cat code | sed 's/^/    /' | pbcopy

Reddit Comment Template

[LANGUAGE: Janet]

26 lines with `wc -l`.

- [GitHub Repository](https://github.com/cideM/aoc2024-janet)
- [Topaz Paste]()

Disable Copilot

Add set exrc to your Neovim configuration, then echo 'let g:copilot_enabled=v:false' > .nvimrc, open the file and :trust it.