<commit_before>#ifndef MARPAESLIFLUA_H
#define MARPAESLIFLUA_H

#include "lua.h"         /* And not <lua.h> because it is not standardized as per CMake recommandation */

#ifndef MARPAESLIFLUA_EMBEDDED
#include <marpaESLIFLua/export.h>

#ifdef __cplusplus
extern "C" {
#endif
  marpaESLIFLua_EXPORT int luaopen_marpaESLIFLua(lua_State *L);
#ifdef __cplusplus
}
#endif
#else
/* ------------------------------------------------------------------------------ */
/* When MARPAESLIFLUA_EMBEDDED is on, the source file marpaESLIFLua.c should be   */
/* included as-is, no symbol is exported. The file that includes marpaESLIFLua.c  */
/* is expected to:                                                                */
/*                                                                                */
/* - Register marpaESLIFLua programmatically:                                     */
/*   ----------------------------------------                                     */
/*   luaopen_marpaESLIFLua(L)... OR:                                              */
/*   luaL_requiref(L, "marpaESLIFLua", marpaESLIFLua_installi, 1);                */
/*   lua_pop(1);                                                                  */
/*                                                                                */
/* - marpaESLIF, marpaESLIFGrammar, marpaESLIFRecognizer marpaESLIFValue          */
/*   all have explicit methods to inject unmanaged values (from L point of view): */
/*   ---------------------------------------------------------------------------- */
/*                                                                                */
/*   marpaESLIFLua_marpaESLIF_new_unmanagedi(L, marpaESLIFp);                     */
/*   marpaESLIFLua_marpaESLIFGrammar_new_unmanagedi(L, marpaESLIFGrammarp);       */
/*   marpaESLIFLua_marpaESLIFRecognizer_new_unmanagedi(L, marpaESLIFRecognizerp); */
/*   marpaESLIFLua_marpaESLIFValue_new_unmanagedi(L, marpaESLIFValuep);           */
/* ------------------------------------------------------------------------------ */
#endif /* MARPAESLIFLUA_EMBEDDED */

#endif /* MARPAESLIFLUA_H*/<commit_msg>lua integration in marpaESLIF dev+ [ci skip]<commit_after>#ifndef MARPAESLIFLUA_H
#define MARPAESLIFLUA_H

#include "lua.h"         /* And not <lua.h> because it is not standardized as per CMake recommandation */

#ifndef MARPAESLIFLUA_EMBEDDED
#include <marpaESLIFLua/export.h>

#ifdef __cplusplus
extern "C" {
#endif
  marpaESLIFLua_EXPORT int luaopen_marpaESLIFLua(lua_State *L);
#ifdef __cplusplus
}
#endif
#else
/* ------------------------------------------------------------------------------ */
/* When MARPAESLIFLUA_EMBEDDED is on, the source file marpaESLIFLua.c should be   */
/* included as-is, no symbol is exported. The file that includes marpaESLIFLua.c  */
/* is expected to:                                                                */
/*                                                                                */
/* - Register marpaESLIFLua programmatically:                                     */
/*   ----------------------------------------                                     */
/*   luaopen_marpaESLIFLua(L)... OR:                                              */
/*   luaL_requiref(L, "marpaESLIFLua", marpaESLIFLua_installi, 1);                */
/*   lua_pop(1);                                                                  */
/*                                                                                */
/* - marpaESLIF, marpaESLIFGrammar, marpaESLIFRecognizer marpaESLIFValue          */
/*   all have explicit methods to inject unmanaged values (from L point of view): */
/*   ---------------------------------------------------------------------------- */
/*                                                                                */
/*   marpaESLIFLua_marpaESLIF_createi(L, marpaESLIFp);                            */
/*   marpaESLIFLua_marpaESLIFGrammar_createi(L, marpaESLIFGrammarp);              */
/*   marpaESLIFLua_marpaESLIFRecognizer_createi(L, marpaESLIFRecognizerp);        */
/*   marpaESLIFLua_marpaESLIFValue_createi(L, marpaESLIFValuep);                  */
/*                                                                                */
/* All those methods will return a value != 0 in case of failure. If the          */
/* argument is not NULL, then it will be injected in lua interpreter as           */
/* an unmanaged pointer, expecting no argument on the lua stack. If the           */
/* argument is NULL, the "createi" methods behave like the "new" methods.         */
/*                                                                                */
/* In case of success, they leave the created lua object on the stack.            */
/* ------------------------------------------------------------------------------ */
#endif /* MARPAESLIFLUA_EMBEDDED */

#endif /* MARPAESLIFLUA_H*/
{'fraction_non_alphanumeric': 0.18980917580186765, 'fraction_numerical': 0.0010150223304912708, 'mean_word_length': 1.0052910052910053, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 40, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5437823', 'n_tokens_mistral': 1253, 'n_tokens_neox': 1242, 'n_words': 264}