<commit_before>#...............................................................................
#
#  This file is part of the AXL library.
#
#  AXL is distributed under the MIT license.
#  For details see accompanying license.txt file,
#  the public copy of which is also available at:
#  http://tibbo.com/downloads/archive/axl/license.txt
#
#...............................................................................

set (
	_LUA_NAME_LIST
	lua
	lua5
	lua53
	lua5.3
	lua52
	lua5.2
	lua51
	lua5.1
	)

if (NOT LUA_INC_DIR)
	axl_find_inc_dir (
		LUA_INC_DIR
		lua.h
		PATH_SUFFIXES . ${_LUA_NAME_LIST}
		)
endif ()

if (NOT LUA_LIB_DIR)
	if (NOT_LUA_LIB_NAME)
		axl_find_lib_dir_ex (
			RESULT_LIB_DIR LUA_LIB_DIR
			RESULT_LIB_NAME LUA_LIB_NAME
			LIB_NAME ${_LUA_NAME_LIST}
			)
	else ()
		axl_find_lib_dir_ex (
			RESULT_LIB_DIR LUA_LIB_DIR
			LIB_NAME ${LUA_LIB_NAME}
			)
	endif ()
elseif (NOT LUA_LIB_NAME)
	axl_find_lib_dir_ex (
		RESULT_LIB_NAME LUA_LIB_NAME
		LIB_DIR ${LUA_LIB_DIR}
		LIB_NAME ${_LUA_NAME_LIST}
		)
endif ()

if (EXISTS ${LUA_INC_DIR}/lua.h AND LUA_LIB_DIR AND LUA_LIB_NAME)
	axl_message ("Lua paths:")
	axl_message ("    Includes:"  "${LUA_INC_DIR}")
	axl_message ("    Library dir:" "${LUA_LIB_DIR}")
	axl_message ("    Library name:" "${LUA_LIB_NAME}")

	set (LUA_FOUND TRUE)
else ()
	set (LUA_FOUND FALSE)
endif ()

#...............................................................................
<commit_msg>[axl_cmake] typo fix in import_lua.cmake<commit_after>#...............................................................................
#
#  This file is part of the AXL library.
#
#  AXL is distributed under the MIT license.
#  For details see accompanying license.txt file,
#  the public copy of which is also available at:
#  http://tibbo.com/downloads/archive/axl/license.txt
#
#...............................................................................

set (
	_LUA_NAME_LIST
	lua
	lua5
	lua53
	lua5.3
	lua52
	lua5.2
	lua51
	lua5.1
	)

if (NOT LUA_INC_DIR)
	axl_find_inc_dir (
		LUA_INC_DIR
		lua.h
		PATH_SUFFIXES . ${_LUA_NAME_LIST}
		)
endif ()

if (NOT LUA_LIB_DIR)
	if (NOT LUA_LIB_NAME)
		axl_find_lib_dir_ex (
			RESULT_LIB_DIR LUA_LIB_DIR
			RESULT_LIB_NAME LUA_LIB_NAME
			LIB_NAME ${_LUA_NAME_LIST}
			)
	else ()
		axl_find_lib_dir_ex (
			RESULT_LIB_DIR LUA_LIB_DIR
			LIB_NAME ${LUA_LIB_NAME}
			)
	endif ()
elseif (NOT LUA_LIB_NAME)
	axl_find_lib_dir_ex (
		RESULT_LIB_NAME LUA_LIB_NAME
		LIB_DIR ${LUA_LIB_DIR}
		LIB_NAME ${_LUA_NAME_LIST}
		)
endif ()

if (EXISTS ${LUA_INC_DIR}/lua.h AND LUA_LIB_DIR AND LUA_LIB_NAME)
	axl_message ("Lua paths:")
	axl_message ("    Includes:"  "${LUA_INC_DIR}")
	axl_message ("    Library dir:" "${LUA_LIB_DIR}")
	axl_message ("    Library name:" "${LUA_LIB_NAME}")

	set (LUA_FOUND TRUE)
else ()
	set (LUA_FOUND FALSE)
endif ()

#...............................................................................

{'fraction_non_alphanumeric': 0.24905530745448298, 'fraction_numerical': 0.008931638612160769, 'mean_word_length': 2.023883696780893, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4701399', 'n_tokens_mistral': 1166, 'n_tokens_neox': 1096, 'n_words': 225}