%%%==============================================================================
%% Copyright 2026-present by Alceu Frigeri
%%
%% This work may be distributed and/or modified under the conditions of
%%
%% * The [LaTeX Project Public License](http://www.latex-project.org/lppl.txt),
%%   version 1.3c (or later), and/or
%% * The [GNU Affero General Public License](https://www.gnu.org/licenses/agpl-3.0.html),
%%   version 3 (or later)
%%
%% This work has the LPPL maintenance status *maintained*.
%%
%% The Current Maintainer of this work is Alceu Frigeri
%%
%% This is version {1.0} {2026/11/27}
%%
%% The list of files that compose this work can be found in the README.md file at
%% https://ctan.org/pkg/codehighlight
%%
%%%==============================================================================
%%
%% Nota Bene:
%% Some languages 'got' an specific identifier
%%                  like ==> identifier = { pragma } { \# } { }
%%                    or ==> identifier = { texcs }  { \\ } { }
%%      this is a flexible way to declare keywords/pragmas instead
%%      of changing the catcode of some chars to letter
%%          main implication: some keyword/pragma's lists got split.
%%%==============================================================================

%%%%%%%
%%%  This save the current 'expl syntax' state
%%%%%%%
\hlExplFileTest
%%%%%%%
%%%
%%% Just an attempt at having my package's info in a regular way
%%%   \pkginfograb_set:nn {<pkg-name>} { props} sets package info
%%%
%%%   \pkginfograbProvidesExplPackage {<pkg-name>} { props} sets package info
%%%     and calls \ProvidesExplPackage
%%%
%%%%%%%
\RequirePackage{pkginfograb}
\pkginfograbProvidesExplFile {codehighlight-28}
  {
     name        = {codehighlight-28} ,
     prefix      = {codehl} ,
     date        = {2026/11/27} ,
     version     = {1.0} ,
     description = {codehighlight ~language ~definitions ~28}
  }
%%%%%%%
%%% End of cut-n-paste
%%%%%%%


\codehl_keyset_def:nn { TeX.babel }
  {
    %%%
    info / note  =
     {
       Adapted ~ from ~ package ~ codedescribe. ~
       Original ~ command: ~ lstdefinelanguage[babel]{TeX}[LaTeX]{TeX} ~
       (original ~ file: ~ codelstlang.sty)
     }  ,
    %%%

    texcs                    =      {1}
      {
AfterBabelCommands , AfterBabelLanguage , BDefFile , BabelBeforeIni , BabelCJKGlue , BabelCJKSpace , BabelContentsFiles ,
BabelDateDot , BabelDateM , BabelDateMM , BabelDateMMMM , BabelDateSpace , BabelDateU , BabelDated , BabelDatedd ,
BabelDatey , BabelDateyy , BabelDateyyyy , BabelDefinitionFile , BabelEnsureInfo , BabelFootnote , BabelFrenchColonSpace ,
BabelFrenchGuillemetSpace , BabelFrenchHighSpace , BabelGreekNumeralMarker , BabelGreekNumeralMarkerEnd ,
BabelGreekNumeralMyriads , BabelHebrewNumeralMarkerFinal , BabelHebrewNumeralMarkerSingle , BabelIniTag , BabelLanguages ,
BabelLower , BabelLowerMM , BabelLowerMO , BabelLowercaseMapping , BabelModifiers , BabelNonASCII , BabelNonText ,
BabelOptions , BabelPatchSection , BabelString , BabelStrings , BabelStringsDefault , BabelText , BabelTitlecaseMapping ,
BabelUppercaseMapping , BabelWrapText , DigitsDotDashInterCharToks , DisableBabelHook , EnableBabelHook ,

EndBabelCommands , GetDocumentProperties , IfBabelIntercharT , IfBabelLayout , IfBabelSelectorTF , LR , LdfInit ,
LocaleForEach , PassOptionsToLocale , ProvidesLanguage , RL , RTLfootnotetext , Reported , SS , SetCase , SetHyphenMap ,
SetString , SetStringLoop , ShowLocaleProperties , StartBabelCommands , UTFencname , adddialect , addlanguage , aliasshorthand
, asciiencoding , atcatcode , babeladjust , babelcalendar , babelcharclass , babelcharproperty , babelensure , babelfont ,
babelhyphen , babelhyphenation , babelhyphenmins , babelinterchar , babelnullhyphen , babelpatterns , babelposthyphenation ,
babelprehyphenation , babelprovide , babelsublr , babeltags , babeltempa , babeltempb , babeltempc , bblstyerror ,
defineshorthand , endhyphenrules , endotherlanguage , endselectlanguage , ensureascii , eqcatcode , fontspec , foreign ,
foreignlanguage , germanchaptername , getlocaleproperty , glossaryname , glq , glqq , greeknumeral , grq , grqq , guillemetleft ,
guillemetright , guillemotleft , guillemotright , guilsinglleft , guilsinglright , hyphenrules , ifbabelshorthand , iflanguage , ij ,
khmerdigits , langXname , langcounter , langdigits , languageattribute , languageshorthands , languagetext , latinencoding ,
latintext , loadlocalcfg , locale , localecounter , localedate , localeid , localeinfo , localename , localenumeral , localfootnote ,
mainfootnote , mainlocalename , originalTeX , otherlanguage , prefacename , providehyphenmins , quotedblbase , quotesinglbase ,
selectlocale , setLR , setRL , setlocale , setlocalecaption , shorthandoff , shorthandon , substitutefontfamily , texorpdfstring ,
textlanguage , textlatin , textlocale , textormath , tmpe , tmpf , tmpx , tmpy , tmpz , umlautelow , umlauthigh , umlautlow ,
uselanguage , uselocale , useshorthands , vrefpagenum , xstring
      }
  }  %% end of babel  

  

%%%%%%%
%%%  This restore the 'expl syntax' state saved (hopefully) at the beginning
%%%%%%%
\hlExplFileOut


