<commit_before>Gotgo
=====

This document describes the third iteration of my attempt at a
reasonable implementation of generics for [go](http://golang.org)
based on the idea of template packages.

Quick start
-----------

You can compile `gotgo` by typing

    ./build

and you can run it on an example template file by typing

    ./gotgo/gotgo pkg/gotgo/slice.got int string

A complete example is in the example/ subdirectory.

    cd example
    ./build
    ./example

If you want to see what a template package will look like, check out
[slice.got][1], which is a simple package exporting handy functions for slices,
such as Map, Fold, Filter, Append, Cat (concat).

[1]: http://github.com/droundy/gotgo/blob/master/gotgo/slice.got
<commit_msg>Fix example URL in README<commit_after>Gotgo
=====

This document describes the third iteration of my attempt at a
reasonable implementation of generics for [go](http://golang.org)
based on the idea of template packages.

Quick start
-----------

You can compile `gotgo` by typing

    ./build

and you can run it on an example template file by typing

    ./gotgo/gotgo pkg/gotgo/slice.got int string

A complete example is in the example/ subdirectory.

    cd example
    ./build
    ./example

If you want to see what a template package will look like, check out
[slice.got][1], which is a simple package exporting handy functions for slices,
such as Map, Fold, Filter, Append, Cat (concat).

[1]: https://github.com/droundy/gotgo/blob/master/example/slice.got

{'fraction_non_alphanumeric': 0.09636963696369637, 'fraction_numerical': 0.0026402640264026403, 'mean_word_length': 3.3942028985507244, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '4450844', 'n_tokens_mistral': 445, 'n_tokens_neox': 424, 'n_words': 198}