<commit_before>calab-compiler
==============

The (o)Ca(mal) Lab(ouseur) Compiler to compile Alan's custom language to alan6502 Op Codes

Dependencies
------------
To install our dependencies, you need only:


$ opam install bolt

Bolt is our Logger utility.  You can see its configuration examples here: http://bolt.x9c.fr/manual.html


A sample log config is provided, that  will print all messages above (and including) the bolt level TRACE (the lowest level)


If it becomes too verbose, instead use WARN

Building
--------
After installing dependencies, you need only run our compile script


$ ./compile #  to build the ocaml project

Running
-------
The log config file is optional; if one is not provided, no logging will take place.


The default log provided will print to stdout


$ BOLT_FILE=log_config ./compiler <file><commit_msg>Fixed markdown hiding our filename in the example<commit_after>calab-compiler
==============

The (o)Ca(mal) Lab(ouseur) Compiler to compile Alan's custom language to alan6502 Op Codes

Dependencies
------------
To install our dependencies, you need only:


$ opam install bolt

Bolt is our Logger utility.  You can see its configuration examples here: http://bolt.x9c.fr/manual.html


A sample log config is provided, that  will print all messages above (and including) the bolt level TRACE (the lowest level)


If it becomes too verbose, instead use WARN

Building
--------
After installing dependencies, you need only run our compile script


$ ./compile #  to build the ocaml project

Running
-------
The log config file is optional; if one is not provided, no logging will take place.


The default log provided will print to stdout


$ BOLT_FILE=log_config ./compiler filename
{'fraction_non_alphanumeric': 0.09617612977983778, 'fraction_numerical': 0.005793742757821553, 'mean_word_length': 3.7185792349726774, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '1932022', 'n_tokens_mistral': 488, 'n_tokens_neox': 451, 'n_words': 230}