\ProvidesExplPackage{stricttex}{2020/09/08}{0.2beta}{}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%																				%
%		stricttex -- strictly paired brackets and numbers in command names		%
%		https://ctan.org/pkg/semantex											%
%		(C) 2020 Sebastian Ørsted												%
%       sorsted@gmail.com														%
%																				%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\msg_new:nnn { stricttex } { not_luatex } { This~package~only~works~with~LuaTeX;~the~current~TeX~run~has~been~terminated. }

\msg_new:nnn { stricttex } { callback_not_registered } { Found~#2 with~no~preceding~#1 }

\sys_if_engine_luatex:F { \msg_fatal:nn { stricttex } { not_luatex } }

\lua_now:e { require('stricttex.lua') }

\cs_new_protected:Npn\StrictBracketsOn
{
	\lua_now:e { stricttexStrictBracketsOn() }
}

\cs_new_protected:Npn\StrictBracketsOff
{
	\lua_now:e { stricttexStrictBracketsOff() }
}

\cs_new_protected:Npn\NumbersInCommandsOn
{
	\lua_now:e { stricttexNumbersInCommandsOn() }
}

\cs_new_protected:Npn\NumbersInCommandsOff
{
	\lua_now:e { stricttexNumbersInCommandsOff() }
}

\cs_new_protected:Npn\NumbersAndPrimesInCommandsOn
{
	\lua_now:e { stricttexNumbersAndPrimesInCommandsOn() }
}

\cs_new_protected:Npn\NumbersAndPrimesInCommandsOff
{
	\lua_now:e { stricttexNumbersAndPrimesInCommandsOff() }
}