<commit_before>IDRIS ?= idris
OPTS  ?= -p contrib -p lightyear -i src

.PHONY: shell

all: output/day01.txt output/day02.txt

bin/day%: src/Data/Advent/Day%.idr input/day%.txt
	@mkdir -p bin
	$(IDRIS) $(OPTS) -o $@ $<

output/day%.txt: bin/day%
	@mkdir -p output
	$< >$@

clean:
	find . -name '*.ibc' -delete
	rm -fr bin/ output/

shell:
	nix-shell -p haskellPackages.idris gcc gmp<commit_msg>Add libffi to shell target<commit_after>IDRIS ?= idris
OPTS  ?= -p contrib -p lightyear -i src

.PHONY: shell

all: output/day01.txt output/day02.txt

bin/day%: src/Data/Advent/Day%.idr input/day%.txt
	@mkdir -p bin
	$(IDRIS) $(OPTS) -o $@ $<

output/day%.txt: bin/day%
	@mkdir -p output
	$< >$@

clean:
	find . -name '*.ibc' -delete
	rm -fr bin/ output/

shell:
	nix-shell -p haskellPackages.idris gcc gmp libffi
{'fraction_non_alphanumeric': 0.17121588089330025, 'fraction_numerical': 0.009925558312655087, 'mean_word_length': 3.1597938144329896, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3324285', 'n_tokens_mistral': 376, 'n_tokens_neox': 357, 'n_words': 90}