<commit_before>Futhark
==========

Futhark is a purely functional data-parallel programming language.
Its optimising compiler is able to compile it to typically very
performant GPU code.  The language and compiler is developed as part
of the [HIPERFIT](http://hiperfit.dk) project at
[DIKU](http://diku.dk).  The project is still research-quality, and
the focus has mostly been on ensuring high runtime-performance, so the
source language still lacks many niceties for manual programming - it
is fairly usable as a target for high-level code generation, however.

For more information, see [the website](http://futhark-lang.org).

The [incomplete documentation is
here](http://futhark.readthedocs.io).

Statistics
==========

[![Issue Stats](http://issuestats.com/github/HIPERFIT/futhark/badge/pr)](http://issuestats.com/github/HIPERFIT/futhark) [![Issue Stats](http://issuestats.com/github/HIPERFIT/futhark/badge/issue)](http://issuestats.com/github/HIPERFIT/futhark) [![Build Status](https://travis-ci.org/HIPERFIT/futhark.svg?branch=master)](https://travis-ci.org/HIPERFIT/futhark)[![Project Stats](https://www.openhub.net/p/futharkcompiler/widgets/project_thin_badge.gif)](https://www.openhub.net/p/futharkcompiler)

Installation
============

Please see our [installation instructions](https://futhark.readthedocs.io/en/latest/installation.html).

Usage
=====

To compile a Futhark program to sequential C:

    futhark-c prog.fut -o prog

Or maybe OpenCL:

    futhark-opencl prog.fut -o prog

And then run it:

    ./prog < prog.input

To interpret a Futhark program:

    futharki prog.fut < prog.input

Hacking
=======<commit_msg>Fix GitHub cruft of readme.<commit_after>Futhark
==========

Futhark is a purely functional data-parallel programming language.
Its optimising compiler is able to compile it to typically very
performant GPU code.  The language and compiler is developed as part
of the [HIPERFIT](http://hiperfit.dk) project at
[DIKU](http://diku.dk).  The project is still research-quality, and
the focus has mostly been on ensuring high runtime-performance, so the
source language still lacks many niceties for manual programming - it
is fairly usable as a target for high-level code generation, however.

For more information, see [the website](http://futhark-lang.org).

The [incomplete documentation is
here](http://futhark.readthedocs.io).

Statistics
==========

[![Issue Stats](http://issuestats.com/github/HIPERFIT/futhark/badge/pr)](http://issuestats.com/github/HIPERFIT/futhark) [![Issue Stats](http://issuestats.com/github/HIPERFIT/futhark/badge/issue)](http://issuestats.com/github/HIPERFIT/futhark) [![Build Status](https://travis-ci.org/HIPERFIT/futhark.svg?branch=master)](https://travis-ci.org/HIPERFIT/futhark) [![Project Stats](https://www.openhub.net/p/futharkcompiler/widgets/project_thin_badge.gif)](https://www.openhub.net/p/futharkcompiler)

Installation
============

Please see our [installation instructions](https://futhark.readthedocs.io/en/latest/installation.html).

Usage
=====

To compile a Futhark program to sequential C:

    futhark-c prog.fut -o prog

Or maybe OpenCL:

    futhark-opencl prog.fut -o prog

And then run it:

    ./prog < prog.input

To interpret a Futhark program:

    futharki prog.fut < prog.input

Hacking
=======
{'fraction_non_alphanumeric': 0.13938657758882478, 'fraction_numerical': 0.0, 'mean_word_length': 4.850799289520427, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 4, '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': '842627', 'n_tokens_mistral': 1135, 'n_tokens_neox': 1067, 'n_words': 275}