<commit_before>USING: compiler.tree effects help.markup help.syntax quotations sequences
stack-checker.values stack-checker.visitor ;
IN: stack-checker.state

HELP: terminated?
{ $var-description "Did the current control-flow path throw an error?" } ;

HELP: current-effect
{ $values { "effect" effect } }
{ $description "Returns what the current analysis states stack effect is." }
{ $examples
  { $example
    "USING: namespaces prettyprint stack-checker.state ;"
    "{ { input-count 2 } { terminated? t } { (meta-d) { 1 2 } } }"
    "[ current-effect ] with-variables ."
    "( x x -- x x * )"<commit_msg>stack-checker.state: Fix error in docs. Tweak doc grammar.<commit_after>USING: compiler.tree effects help.markup help.syntax quotations sequences
stack-checker.values stack-checker.visitor ;
IN: stack-checker.state

HELP: terminated?
{ $var-description "Did the current control-flow path throw an error?" } ;

HELP: current-effect
{ $values { "effect" effect } }
{ $description "Returns the current analysis states stack effect." }
{ $examples
  { $example
    "USING: namespaces prettyprint stack-checker.state ;"
    "{ { input-count 2 } { terminated? t } { (meta-d) { 1 2 } } { literals V{ } } }"
    "[ current-effect ] with-variables ."
    "( x x -- x x * )"
{'fraction_non_alphanumeric': 0.1358994501178319, 'fraction_numerical': 0.004713275726630008, 'mean_word_length': 3.7360594795539033, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7380816', 'n_tokens_mistral': 411, 'n_tokens_neox': 392, 'n_words': 119}