<commit_before>IL=Il/Analyzer.hs Il/Typechecker.hs Il/AST.hs
C=C/Analyzer.hs C/Functions.hs
SRC=Advice.hs AllStructures.hs Recommend.hs Analyzer.hs Defs/*.hs ${C}
LEXPAR=Il/Lexer.hs Il/Parser.hs
CDOPTS=-package-conf cabal-dev/packages-7.2.2.conf

dsinf: ${LEXPAR} ${SRC} Main.hs
	ghc --make ${CDOPTS} -o dsinf -O Main.hs

tests: ${LEXPAR} ${SRC} Tests.hs
	ghci ${CDOPTS} -O Tests.hs

Il/Lexer.hs: Il/Lexer.x
	alex -g Il/Lexer.x

Il/Parser.hs: Il/Parser.y
	happy -g Il/Parser.y

clean:
	rm -f Il/Lexer.hs Il/Parser.hs Il/grammar.log
	rm -f thesis.log thesis.aux thesis.toc
	rm -f *.hi *.o Il/*.hi Il/*.o Defs/*.hi Defs/*.o

cleanbin: clean
	rm -f dsinf
	rm -f thesis.pdf

doc:	${LEXPAR} ${SRC} Main.hs
	haddock --ignore-all-exports -t "Data Structure Inferrer" -o doc -h Main.hs
	git checkout gh-pages
	cp -r doc/* .
	git add .
	git commit -a -m "Automated doc push"
	git push origin gh-pages
	git checkout master
<commit_msg>make fix<commit_after>IL=Il/Analyzer.hs Il/Typechecker.hs Il/AST.hs
C=C/Analyzer.hs C/Functions.hs
SRC=Advice.hs AllStructures.hs Recommend.hs Analyzer.hs Defs/*.hs ${C}
LEXPAR=Il/Lexer.hs Il/Parser.hs
CDOPTS=-package-conf cabal-dev/packages-7.2.2.conf

dsinf: ${LEXPAR} ${SRC} Main.hs
	ghc --make ${CDOPTS} -o dsinf -O Main.hs

tests: ${LEXPAR} ${SRC} Tests.hs
	ghci ${CDOPTS} -O Tests.hs

Il/Lexer.hs: Il/Lexer.x
	alex -g Il/Lexer.x

Il/Parser.hs: Il/Parser.y
	happy -g Il/Parser.y

clean:
	cabal-dev clean
	rm -f Il/Lexer.hs Il/Parser.hs
	rm -f thesis.log thesis.aux thesis.toc

cleanbin: clean
	rm -f dsinf
	rm -f thesis.pdf

doc:	${LEXPAR} ${SRC} Main.hs
	haddock --ignore-all-exports -t "Data Structure Inferrer" -o doc -h Main.hs
	git checkout gh-pages
	cp -r doc/* .
	git add .
	git commit -a -m "Automated doc push"
	git push origin gh-pages
	git checkout master

{'fraction_non_alphanumeric': 0.15358931552587646, 'fraction_numerical': 0.00333889816360601, 'mean_word_length': 3.1524249422632793, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1703131', 'n_tokens_mistral': 817, 'n_tokens_neox': 772, 'n_words': 208}