<commit_before>
ifeq ($(BOOT),1)
	NODE_MAKE = node make.js _boot
else
	NODE_MAKE = node make.js
endif

all: compiler

parser.js: parser.ol
	$(NODE_MAKE) _current_runtime parser.ol > parser2.js && mv parser2.js parser.js

grammar.js: grammar.ol
	$(NODE_MAKE) _current_runtime grammar.ol > grammar2.js && mv grammar2.js grammar.js

compiler.js: compiler.ol
	$(NODE_MAKE) _current_runtime compiler.ol > compiler2.js && mv compiler2.js compiler.js

backends/js.js: backends/js.ol
	$(NODE_MAKE) _current_runtime backends/js.ol > backends/js2.js && mv backends/js2.js backends/js.js

test.js: test.ol
	$(NODE_MAKE) _current_runtime _with_eval test.ol > test2.js && mv test2.js test.js

runtime.js: runtime.ol
	$(NODE_MAKE) _no_runtime runtime.ol > runtime2.js && mv runtime2.js runtime.js

compiler: compiler.js parser.js grammar.js backends/js.js test.js

test: compiler
	node test basic.ol
	node test compile.ol
	node test runtime.ol<commit_msg>update makefile<commit_after>
ifeq ($(BOOT),1)
	NODE_MAKE = node make.js _boot
else
	NODE_MAKE = node make.js
endif

all: compiler

parser.js: parser.ol
	$(NODE_MAKE) parser.ol > parser2.js && mv parser2.js parser.js

grammar.js: grammar.ol
	$(NODE_MAKE) grammar.ol > grammar2.js && mv grammar2.js grammar.js

compiler.js: compiler.ol
	$(NODE_MAKE) compiler.ol > compiler2.js && mv compiler2.js compiler.js

backends/js.js: backends/js.ol
	$(NODE_MAKE) backends/js.ol > backends/js2.js && mv backends/js2.js backends/js.js

test.js: test.ol
	$(NODE_MAKE) _with_eval test.ol > test2.js && mv test2.js test.js

runtime.js: runtime.ol
	$(NODE_MAKE) _no_runtime runtime.ol > runtime2.js && mv runtime2.js runtime.js

compiler: runtime.js compiler.js parser.js grammar.js backends/js.js test.js

test: compiler
	node test basic.ol
	node test compile.ol
	node test runtime.ol
{'fraction_non_alphanumeric': 0.12099447513812155, 'fraction_numerical': 0.014364640883977901, 'mean_word_length': 4.279883381924198, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '6447694', 'n_tokens_mistral': 710, 'n_tokens_neox': 679, 'n_words': 168}