<commit_before>IDL-EREP
===
Useful interactive environment for IDL (Interactive Data Language).

* idl\_erep.rb

### idl\_erep.rb
This is the *IDL Enhanced REPl*
which gives an enhanced interactive environment.


Installation
---

`idl_erep.rb` requires to install `rb-readline` gem.

    $ bundle install

or just execute

    $ gem install rb-readline

Then, you can execute `idl_erep.rb`.


Usage
---

Just execute `idl_erep.rb` like following:

    $ ruby idl_erep.rb

or

    $ ./idl_erep.rb

It is recommended to make symbolic link to this ruby script in your PATH.


Key mappings
---


Configurations
---

`~/.idl_profile`

<commit_msg>Add Configuration manual<commit_after>IDL-EREP
===
Useful interactive environment for IDL (Interactive Data Language).

* idl\_erep.rb

### idl\_erep.rb
This is the *IDL Enhanced REPl*
which gives an enhanced interactive environment.


Installation
---

`idl_erep.rb` requires to install `rb-readline` gem.

    $ bundle install

or just execute

    $ gem install rb-readline

Then, you can execute `idl_erep.rb`.


Usage
---

Just execute `idl_erep.rb` like following:

    $ ruby idl_erep.rb

or

    $ ./idl_erep.rb

It is recommended to make symbolic link to this ruby script in your PATH.


Key mappings
---


Configurations
---

In `~/.idl_profile`, you can set some configurations of this environment.

| variable   | default                   | description                                          |
|:----------:|:-------------------------:|:----------------------------------------------------:|
| `idlbin`   | 'idl'                     | PATH of IDL executable file                          |
| `prompt`   | 'IDL-EREP> '              | prompt string of this environment                    |
| `idlhist`  | '~/.idl/idl/rbuf/history' | PATH of default IDL history file (used only reading) |
| `homehist` | '~/.idl\_history'         | PATH of IDL-EREP history file in home directory      |
| `currhist` | './.idl\_history'         | PATH of IDL-EREP history file in current directory   |
| `histlim`  | 10000                     | limit number of IDL-EREP history file elements       |


{'fraction_non_alphanumeric': 0.13931743805516597, 'fraction_numerical': 0.0023375409069658717, 'mean_word_length': 2.0440967283072546, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1706852', 'n_tokens_mistral': 686, 'n_tokens_neox': 642, 'n_words': 210}