<commit_before>#ifndef             __VALUES_H__
# define            __VALUES_H__

#include "mpc.h"

typedef struct {
    int             type;
    long            num;

    /* Error and Symbol types have some string data */
    char*           err;
    char*           sym;

    /* Count and Pointer to a list of "lval*" */
    int             count;
    struct lval**   cell;
} lval;

/* Create Enumeration of Possible lval Types */
enum {
    LVAL_ERR,
    LVAL_NUM,
    LVAL_SYM,
    LVAL_SEXPR
};

/* Create Enumeration of Possible Error Types */
enum {
    LERR_DIV_ZERO,
    LERR_BAD_OP,
    LERR_BAD_NUM
};

lval*           lval_num(long);
lval*           lval_err(char*);
lval*           lval_sym(char*);
lval*           lval_sexpr(void);
lval*           lval_add(lval*, struct lval*);
void            lval_del(lval*);
lval*           lval_read_num(mpc_ast_t*);
lval*           lval_read(mpc_ast_t*);
void            lval_expr_print(lval*, char, char);
void            lval_print(lval*);
void            lval_println(lval*);

#endif
<commit_msg>Fix forward lval struct declaration<commit_after>#ifndef             __VALUES_H__
# define            __VALUES_H__

#include "mpc.h"

typedef struct      s_lval {
    int             type;
    long            num;

    /* Error and Symbol types have some string data */
    char*           err;
    char*           sym;

    /* Count and Pointer to a list of "lval*" */
    int             count;
    struct s_lval** cell;
}                   lval;

/* Create Enumeration of Possible lval Types */
enum {
    LVAL_ERR,
    LVAL_NUM,
    LVAL_SYM,
    LVAL_SEXPR
};

/* Create Enumeration of Possible Error Types */
enum {
    LERR_DIV_ZERO,
    LERR_BAD_OP,
    LERR_BAD_NUM
};

lval*           lval_num(long);
lval*           lval_err(char*);
lval*           lval_sym(char*);
lval*           lval_sexpr(void);
lval*           lval_add(lval*, struct lval*);
void            lval_del(lval*);
lval*           lval_read_num(mpc_ast_t*);
lval*           lval_read(mpc_ast_t*);
void            lval_expr_print(lval*, char, char);
void            lval_print(lval*);
void            lval_println(lval*);

#endif

{'fraction_non_alphanumeric': 0.09823911028730306, 'fraction_numerical': 0.0, 'mean_word_length': 1.8002594033722439, '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': '1256226', 'n_tokens_mistral': 772, 'n_tokens_neox': 754, 'n_words': 177}