<commit_before>libfunctionality
================

A minimal library for dynamically-loaded or statically-linked functionality modules<commit_msg>Add hacking section to readme.<commit_after>libfunctionality
================

A minimal library for dynamically-loaded or statically-linked functionality modules.

License: Apache 2.0

Hacking
-------

Please use `clang-format` to keep the code tidy. The `.clang-format` 
config file is in the root of the repository. We're basically using the 
LLVM style, except with 4-space indentation and C++03 (since turning on 
C++11 in `clang-format` sometimes makes things not work in 
less-compelling compilers) 

If you're using Windows, please install a recent [llvm/clang 
binary][llvmwin], and choose to add the directory to the path. (Makes it 
easier.) If you've got a non-Express version of Visual Studio, you might 
also want the clang-format plugin. In either case, there are a pair of 
scripts in `/devtools/`: 

- `format-project.cmd` runs `clang-format` in place using wildcards to 
    hopefully grab every file. 

- `format-file.cmd` runs `clang-format` in place on whatever file or 
    files you drop on it - useful if you want some other code to also look 
    in the same style. 

[llvmwin]:http://llvm.org/builds/
{'fraction_non_alphanumeric': 0.0991345397324941, 'fraction_numerical': 0.0055074744295830055, 'mean_word_length': 4.088, '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': '547406', 'n_tokens_mistral': 369, 'n_tokens_neox': 348, 'n_words': 162}