<commit_before>#include <iostream>
#include "ast.h"

extern NBlock *rootBlock;
extern int yyparse();

int main(int argc, char **argv)
{
    yyparse();
    std::cout << rootBlock << std::endl;
    return 0;
}<commit_msg>Now pretty-prints AST rather than printing pointer address<commit_after>#include <iostream>
#include "ast.h"

extern NBlock *rootBlock;
extern int yyparse();

int main(int argc, char **argv)
{
    yyparse();
    std::cout << *rootBlock << std::endl;
    return 0;
}
{'fraction_non_alphanumeric': 0.1487603305785124, 'fraction_numerical': 0.004132231404958678, 'mean_word_length': 4.574712643678161, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 5, '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': '4174331', 'n_tokens_mistral': 170, 'n_tokens_neox': 163, 'n_words': 49}