<commit_before># ANTLR v4

**ANTLR** (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files. It's widely used to build languages, tools, and frameworks. From a grammar, ANTLR generates a parser that can build and walk parse trees.

* [Wikipedia](https://en.wikipedia.org/wiki/ANTLR)
* [Official site](http://www.antlr.org/)
* [ANTLR v3](http://www.antlr3.org/)
* [v3 to v4 Migration guide, differences](https://theantlrguy.atlassian.net/wiki/pages/viewpage.action?pageId=1900596)

## INTRODUCTION

Hi and welcome to the Honey Badger 4.2 release (February 3, 2014) of ANTLR!

## INSTALLATION

### UNIX

0. [Install Java](http://www.oracle.com/technetwork/java/javase/downloads/index.html) (version 1.6 or higher)

1. Download
   ```sh
   $ cd /usr/local/lib
   $ curl -O http://www.antlr4.org/download/antlr-4.2-complete.jar
   ```
   Or just [download in browser](http://www.antlr4.org/download/antlr-4.2-complete.jar) and put it somewhere rational like `/usr/local/lib`.

2. Add `antlr-4.2-complete.jar` to your `CLASSPATH`:
   ```sh
   $ export CLASSPATH=".:/usr/local/lib/antlr-4.2-complete.jar:$CLASSPATH"
   ```
   Is also a good idea to put this in your .bash_profile or whatever your
   startup script is.

3. Create aliases for the ANTLR Tool, and TestRig.
   ```sh
   $ alias antlr4='java -jar /usr/local/lib/antlr-4.2-complete.jar'
   $ alias grun='java org.antlr.v4.runtime.misc.TestRig'
   ```<commit_msg>fix broken download link<commit_after># ANTLR v4

**ANTLR** (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files. It's widely used to build languages, tools, and frameworks. From a grammar, ANTLR generates a parser that can build and walk parse trees.

* [Wikipedia](https://en.wikipedia.org/wiki/ANTLR)
* [Official site](http://www.antlr.org/)
* [ANTLR v3](http://www.antlr3.org/)
* [v3 to v4 Migration guide, differences](https://theantlrguy.atlassian.net/wiki/pages/viewpage.action?pageId=1900596)

## INTRODUCTION

Hi and welcome to the Honey Badger 4.2 release (February 3, 2014) of ANTLR!

## INSTALLATION

### UNIX

0. [Install Java](http://www.oracle.com/technetwork/java/javase/downloads/index.html) (version 1.6 or higher)

1. Download
   ```sh
   $ cd /usr/local/lib
   $ curl -O http://www.antlr4.org/download/antlr-4.2-complete.jar
   ```
   Or just [download in browser](http://www.antlr.org/download/antlr-4.2-complete.jar) and put it somewhere rational like `/usr/local/lib`.

2. Add `antlr-4.2-complete.jar` to your `CLASSPATH`:
   ```sh
   $ export CLASSPATH=".:/usr/local/lib/antlr-4.2-complete.jar:$CLASSPATH"
   ```
   Is also a good idea to put this in your .bash_profile or whatever your
   startup script is.

3. Create aliases for the ANTLR Tool, and TestRig.
   ```sh
   $ alias antlr4='java -jar /usr/local/lib/antlr-4.2-complete.jar'
   $ alias grun='java org.antlr.v4.runtime.misc.TestRig'
   ```
{'fraction_non_alphanumeric': 0.1393819855358317, 'fraction_numerical': 0.025312294543063774, 'mean_word_length': 3.8301587301587303, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 10, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 11, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6085249', 'n_tokens_mistral': 1103, 'n_tokens_neox': 1042, 'n_words': 295}