<commit_before>
package require turbine 0.1


turbine::program {

    function touch { d } {
        # Like Swift @ syntax
        shell touch [@ d]
    }

    main {
        declare file f1 "test/data/A.txt"
        declare file f2 "test/data/B.txt"
        declare file f3 "test/data/C.txt"
        declare file f4 "test/data/D.txt"

        when ready {    }    { touch f1 } creates { f1 }
        when ready { f1 }    { touch f2 } creates { f2 }
        when ready { f1 }    { touch f3 } creates { f3 }
        when ready { f2 f3 } { touch f4 } creates { f4 }
    }
}
<commit_msg>Note<commit_after>
package require turbine 0.1

# Use turbine lang functionality

turbine::program {

    function touch { d } {
        # Like Swift @ syntax
        shell touch [@ d]
    }

    main {
        declare file f1 "test/data/A.txt"
        declare file f2 "test/data/B.txt"
        declare file f3 "test/data/C.txt"
        declare file f4 "test/data/D.txt"

        when ready {    }    { touch f1 } creates { f1 }
        when ready { f1 }    { touch f2 } creates { f2 }
        when ready { f1 }    { touch f3 } creates { f3 }
        when ready { f2 f3 } { touch f4 } creates { f4 }
    }
}

{'fraction_non_alphanumeric': 0.10654362416107382, 'fraction_numerical': 0.030201342281879196, 'mean_word_length': 1.6629464285714286, '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': '6053745', 'n_tokens_mistral': 412, 'n_tokens_neox': 395, 'n_words': 124}