<commit_before>/*
Language: Monkey
Author: <NAME> <<EMAIL>>
*/

function(hljs) {
  var NUMBER = {
    variants: [
      {
        className: 'number',
        begin: '[$][a-fA-F0-9]+'
      },
      hljs.NUMBER_MODE
    ]
  }

  var IDENT_TYPE_MODE =  {
    className: 'built_in',
    begin: ':', end: '=|' + hljs.UNDERSCORE_IDENT_RE + '\\b',
    excludeBegin: true,
    relevance: 0
  }

  return {
    aliases: ['monkey'],
    case_insensitive: true,
    keywords: {
      keyword: 'public private property continue exit extern new try catch ' +
        'eachin|5 not abstract final select|2 case default const local|3 global field|3 ' +
        'end if then else elseif endif while wend repeat until forever|2 for to step next return module inline throw',

      built_in: 'DebugLog|2 DebugStop|2 Error Print ACos ACosr ASin ASinr ATan ATan2 ATan2r ATanr Abs Abs Ceil ' +
        'Clamp Clamp Cos Cosr Exp Floor Log Max Max Min Min Pow Sgn Sgn Sin Sinr Sqrt Tan Tanr Seed PI HALFPI TWOPI',

      literal: 'true false null and or shl shr mod'
    },
    contains: [
      {
        className: 'comment',
        begin: '#rem', end: '#end'
      },
      {
        className: 'comment',
        begin: "'", end: '$',
        relevance: 0
      },
      {
        className: 'function',
        beginKeywords: 'function method', end: '[(=]|$',
        contains: [
          hljs.UNDERSCORE_TITLE_MODE,
          IDENT_TYPE_MODE
        ]
      },
      {
        className: 'function',
        beginKeywords: 'new', end: '[();]|$',<commit_msg>Resetting even more custom relevances in monkey.js keywords.<commit_after>/*
Language: Monkey
Author: <NAME> <<EMAIL>>
*/

function(hljs) {
  var NUMBER = {
    variants: [
      {
        className: 'number',
        begin: '[$][a-fA-F0-9]+'
      },
      hljs.NUMBER_MODE
    ]
  }

  var IDENT_TYPE_MODE =  {
    className: 'built_in',
    begin: ':', end: '=|' + hljs.UNDERSCORE_IDENT_RE + '\\b',
    excludeBegin: true,
    relevance: 0
  }

  return {
    aliases: ['monkey'],
    case_insensitive: true,
    keywords: {
      keyword: 'public private property continue exit extern new try catch ' +
        'eachin not abstract final select case default const local global field ' +
        'end if then else elseif endif while wend repeat until forever for to step next return module inline throw',

      built_in: 'DebugLog DebugStop Error Print ACos ACosr ASin ASinr ATan ATan2 ATan2r ATanr Abs Abs Ceil ' +
        'Clamp Clamp Cos Cosr Exp Floor Log Max Max Min Min Pow Sgn Sgn Sin Sinr Sqrt Tan Tanr Seed PI HALFPI TWOPI',

      literal: 'true false null and or shl shr mod'
    },
    contains: [
      {
        className: 'comment',
        begin: '#rem', end: '#end'
      },
      {
        className: 'comment',
        begin: "'", end: '$',
        relevance: 0
      },
      {
        className: 'function',
        beginKeywords: 'function method', end: '[(=]|$',
        contains: [
          hljs.UNDERSCORE_TITLE_MODE,
          IDENT_TYPE_MODE
        ]
      },
      {
        className: 'function',
        beginKeywords: 'new', end: '[();]|$',
{'fraction_non_alphanumeric': 0.12271707785966036, 'fraction_numerical': 0.006087792374239026, 'mean_word_length': 2.2053388090349078, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4476976', 'n_tokens_mistral': 1033, 'n_tokens_neox': 996, 'n_words': 303}