<commit_before>test: VisualFoxpro9Lexer.py VisualFoxpro9Parser.py VisualFoxpro9Visitor.py vfp2py.py vfpfunc.py

%Lexer.py %Parser.py %Visitor.py: %.g4
	${Antlr} -visitor -no-listener -Dlanguage=Python${PyVer} $^
	sed -i'' 's/_tokenStartCharPositionInLine/self._tokenStartColumn/g' $*Lexer.py
	sed -i'' 's/\(\s\)_input\./\1self._input./g' $*Parser.py

clean:
	rm -rf VisualFoxpro9*.py *.tokens *.pyc __pycache__<commit_msg>Update vfp2py/Makefile to remove unneeded sed commands.<commit_after>test: VisualFoxpro9Lexer.py VisualFoxpro9Parser.py VisualFoxpro9Visitor.py vfp2py.py vfpfunc.py

%Lexer.py %Parser.py %Visitor.py: %.g4
	${Antlr} -visitor -no-listener -Dlanguage=Python${PyVer} $^

clean:
	rm -rf VisualFoxpro9*.py *.tokens *.pyc __pycache__
{'fraction_non_alphanumeric': 0.15106951871657753, 'fraction_numerical': 0.01871657754010695, 'mean_word_length': 5.139344262295082, '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': '3776911', 'n_tokens_mistral': 313, 'n_tokens_neox': 291, 'n_words': 55}