<commit_before>CC=g++
CFLAGS=-Wall -Wextra -std=c++11 -g -O0

all:	test bench

.PHONY: googletest

googletest:
	rm -Rf googletest
	git clone https://github.com/google/googletest.git
	cd googletest/googletest && $(CC) -isystem ./include/ -I. -pthread -c ./src/gtest-all.cc
	cd googletest/googletest && ar -rv libgtest.a gtest-all.o

fpconv.o: Makefile fpconv.h
	$(CC) $(CFLAGS) fpconv.cpp -c -o fpconv.o

Jason.o: Makefile JasonType.h Jason.h
	$(CC) $(CFLAGS) Jason.cpp -c -o Jason.o

JasonParser.o: Makefile JasonParser.h JasonParser.cpp Jason.h JasonType.h
	$(CC) $(CFLAGS) JasonParser.cpp -c -o JasonParser.o

JasonUtils.o: Makefile JasonUtils.h JasonUtils.cpp Jason.h JasonType.h
	$(CC) $(CFLAGS) JasonUtils.cpp -c -o JasonUtils.o

JasonSlice.o: Makefile JasonSlice.cpp JasonSlice.h Jason.h JasonType.h
	$(CC) $(CFLAGS) JasonSlice.cpp -c -o JasonSlice.o

JasonDumper.o: Makefile JasonDumper.cpp JasonDumper.h Jason.h JasonType.h
	$(CC) $(CFLAGS) JasonDumper.cpp -c -o JasonDumper.o
<commit_msg>rebuild Parser when Builder changes<commit_after>CC=g++
CFLAGS=-Wall -Wextra -std=c++11 -g -O0

all:	test bench

.PHONY: googletest

googletest:
	rm -Rf googletest
	git clone https://github.com/google/googletest.git
	cd googletest/googletest && $(CC) -isystem ./include/ -I. -pthread -c ./src/gtest-all.cc
	cd googletest/googletest && ar -rv libgtest.a gtest-all.o

fpconv.o: Makefile fpconv.h
	$(CC) $(CFLAGS) fpconv.cpp -c -o fpconv.o

Jason.o: Makefile JasonType.h Jason.h
	$(CC) $(CFLAGS) Jason.cpp -c -o Jason.o

JasonParser.o: Makefile JasonBuilder.h JasonParser.h JasonParser.cpp Jason.h JasonType.h
	$(CC) $(CFLAGS) JasonParser.cpp -c -o JasonParser.o

JasonUtils.o: Makefile JasonUtils.h JasonUtils.cpp Jason.h JasonType.h
	$(CC) $(CFLAGS) JasonUtils.cpp -c -o JasonUtils.o

JasonSlice.o: Makefile JasonSlice.cpp JasonSlice.h Jason.h JasonType.h
	$(CC) $(CFLAGS) JasonSlice.cpp -c -o JasonSlice.o

JasonDumper.o: Makefile JasonDumper.cpp JasonDumper.h Jason.h JasonType.h
	$(CC) $(CFLAGS) JasonDumper.cpp -c -o JasonDumper.o

{'fraction_non_alphanumeric': 0.14229443623830626, 'fraction_numerical': 0.0029542097488921715, 'mean_word_length': 3.9440389294403895, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4562767', 'n_tokens_mistral': 823, 'n_tokens_neox': 804, 'n_words': 205}