<commit_before># Maps Atom Grammar names to the interpreter used by that language
# As well as any special setup for arguments.
module.exports =
  CoffeeScript:
    interpreter: "coffee"
    makeargs: (code) -> ['-e', code]
  JavaScript:
    interpreter: "node"
    makeargs: (code) -> ['-e', code]
  Ruby:
    interpreter: "ruby"
    makeargs: (code) -> ['-e', code]
  Perl:
    interpreter: "perl"
    makeargs: (code) -> ['-e', code]
  PHP:
    interpreter: "php"
    makeargs: (code) -> ['-r', code]
  Python:
    interpreter: "python"
    makeargs: (code) -> ['-c', code]
  'Shell Script (Bash)':
    interpreter: "bash"
    makeargs: (code) -> ['-c', code]<commit_msg>Set up selection vs. file args.<commit_after># Maps Atom Grammar names to the command used by that language
# As well as any special setup for arguments.

defaultFileArgs = (filename) -> [filename]

module.exports =
  CoffeeScript:
    command: "coffee"
    bySelectionArgs: (code) -> ['-e', code]
    byFileArgs: defaultFileArgs
  JavaScript:
    command: "node"
    selectionArgs: (code) -> ['-e', code]
    byFileArgs: defaultFileArgs
  Ruby:
    command: "ruby"
    selectionArgs: (code) -> ['-e', code]
    byFileArgs: defaultFileArgs
  Perl:
    command: "perl"
    selectionArgs: (code) -> ['-e', code]
    byFileArgs: defaultFileArgs
  PHP:
    command: "php"
    selectionArgs: (code) -> ['-r', code]
    byFileArgs: defaultFileArgs
  Python:
    command: "python"
    selectionArgs: (code) -> ['-c', code]
    byFileArgs: defaultFileArgs
  'Shell Script (Bash)':
    command: "bash"
    selectionArgs: (code) -> ['-c', code]
    byFileArgs: defaultFileArgs
{'fraction_non_alphanumeric': 0.1524390243902439, 'fraction_numerical': 0.0, 'mean_word_length': 3.207692307692308, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 18, 'https://': 0, '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': '4850353', 'n_tokens_mistral': 560, 'n_tokens_neox': 557, 'n_words': 165}