<commit_before>%YAML 1.2
---
# http://www.sublimetext.com/docs/3/syntax.html
name: LiveCode
file_extensions:
  - livecodescript
first_line_match: '^script\s+"[^"]+"'
scope: source.livecode
variables:
  identifier: '[_A-Za-z][A-Za-z0-9._]*'
  constants: '(arrow|backslash|busy|colon|comma|crlf|cross|done|down|eight|empty|eof|false|five|formfeed|four|hand|help|ibeam|left|nine|null|one|pi|plus|quote|return|right|scrollbarfactor|seven|six|slash|space|tab|ten|three|true|two|up|watch|zero)'
  eol_or_comment: '(?=$|--|/\*|#)'
  operators: '[&=></-]|\b(?:is|not|and|contains)\b'
  reserved_variables: '\b(?:me|(?:the )?(?:number of elements of|target|result|short name of|number of items of|last char of|number of chars of))\b'

contexts:
  main:
    - match: '(script)\s+'
      captures:
        1: keyword.script.name.livecode
      push: [root, pop_after_string]
    - include: comment
    - match: '(?=\S)'
      push: root<commit_msg>Completed list of operators<commit_after>%YAML 1.2
---
# http://www.sublimetext.com/docs/3/syntax.html
name: LiveCode
file_extensions:
  - livecodescript
first_line_match: '^script\s+"[^"]+"'
scope: source.livecode
variables:
  identifier: '[_A-Za-z][A-Za-z0-9._]*'
  constants: '(arrow|backslash|busy|colon|comma|crlf|cross|done|down|eight|empty|eof|false|five|formfeed|four|hand|help|ibeam|left|nine|null|one|pi|plus|quote|return|right|scrollbarfactor|seven|six|slash|space|tab|ten|three|true|two|up|watch|zero)'
  eol_or_comment: '(?=$|--|/\*|#)'
  operators: '[\+&=></-^*]|\b(?:is not among the keys of|is among the keys of|is not among|is not in|is not strictly|is not within|is a|is among|is in|is not a|is strictly|is within|begins with|ends with|there is a|there is no|contains|bitand|bitnot|bitor|bitxor|div|wrap|is|not|and|or|mod)\b'
  reserved_variables: '\b(?:me|(?:the )?(?:number of elements of|target|result|short name of|number of items of|last char of|number of chars of))\b'

contexts:
  main:
    - match: '(script)\s+'
      captures:
        1: keyword.script.name.livecode
      push: [root, pop_after_string]
    - include: comment
    - match: '(?=\S)'
      push: root
{'fraction_non_alphanumeric': 0.19154929577464788, 'fraction_numerical': 0.005633802816901409, 'mean_word_length': 5.3993993993994, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3478461', 'n_tokens_mistral': 828, 'n_tokens_neox': 807, 'n_words': 134}