<commit_before>EchoJS - an ahead of time compiler and runtime for EcmaScript
=============================================================

[![Build Status](https://travis-ci.org/toshok/echojs.svg?branch=master)](https://travis-ci.org/toshok/echojs)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/toshok/echojs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

Building EchoJS
---------------

Things only build reliably on OSX.  I have easy access to other platforms, I just haven't had the time/motivation to do it given OSX is what I have in front of me every hour of every day, and ios development is my biggest goal.  Patches welcome!

You'll need a couple of external dependencies to get things running:

1. node.js
2. llvm 3.6
3. coffeescript

The following commands should get you from 0 to echo-js built:

```sh
$ brew tap homebrew/versions  # so we can get the specific version of llvm below
$ brew install node
$ brew install llvm
$ npm install -g coffee-script
$ npm install -g node-gyp
$ export MIN_OSX_VERSION=10.8 # only if you're running 10.8, see below<commit_msg>add llvm path env var<commit_after>EchoJS - an ahead of time compiler and runtime for EcmaScript
=============================================================

[![Build Status](https://travis-ci.org/toshok/echojs.svg?branch=master)](https://travis-ci.org/toshok/echojs)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/toshok/echojs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

Building EchoJS
---------------

Things only build reliably on OSX.  I have easy access to other platforms, I just haven't had the time/motivation to do it given OSX is what I have in front of me every hour of every day, and ios development is my biggest goal.  Patches welcome!

You'll need a couple of external dependencies to get things running:

1. node.js
2. llvm 3.6
3. coffeescript

The following commands should get you from 0 to echo-js built:

```sh
$ brew tap homebrew/versions  # so we can get the specific version of llvm below
$ brew install node
$ brew install llvm
$ export PATH=/usr/local/opt/llvm/bin:$PATH
$ npm install -g coffee-script
$ npm install -g node-gyp
$ export MIN_OSX_VERSION=10.8 # only if you're running 10.8, see below
{'fraction_non_alphanumeric': 0.15500863557858377, 'fraction_numerical': 0.012089810017271158, 'mean_word_length': 4.503562945368171, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '6449543', 'n_tokens_mistral': 752, 'n_tokens_neox': 715, 'n_words': 259}