ricardo-valero / advent-of-code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

runme
id version
01HKZFPQ79WRRDQ1AF0CRPJ106
v2.2

Advent of code

This is my first ever AOC

Nix has made my life so much easier, I just don't have to worry about my environment I love it ❤️

Just a bit weird from time to time

Right now I'm also using direnv with flakes which is still "experimental" 🙄

I still don't know why I don't use devenv. ¯\_(ツ)_/¯

I know how to move my way around TypeScript

I am hoping I can use Effect... or at least refactor my current code

My current setup is corepack with pnpm as a package manager and tsx to execute scripts without generating JavaScript files

pnpm tsx hello.ts < data.txt

I like Bun ❤️

bun run hello.ts < data.txt

OCaml

I am also trying out OCaml. Obviously with Nix.

Example

print_string "Hello, World!\n";;
ocaml < hello.ml

This was useful for my vscode setup

Python

I also want to try Python but with nix

do i need poetry? https://www.youtube.com/watch?v=oqXWrkvZ59g

python hello.py < data.txt

Go

I tried Go but removed it

go run Hello.go

Roc rocks, but still can't get it through my thick skull

roc run Hello.roc

About


Languages

Language:TypeScript 91.2%Language:JavaScript 5.7%Language:Nix 3.1%