<commit_before># task.js

* *What?*  Cooperative concurrency for JS + [generators](https://developer.mozilla.org/en/New_in_JavaScript_1.7).
* *Why?*   Who says JavaScript I/O has to be ugly?
* *Where?* [http://dherman.github.com/taskjs](http://dherman.github.com/taskjs)
* *When?*  As soon as your JS engine supports [generators](http://wiki.ecmascript.org/doku.php?id=harmony:generators)!
* *How?*   [http://dherman.github.com/taskjs/doc/api.html](http://dherman.github.com/taskjs/doc/api.html)

task.js provides an **automatic task scheduler** along with a library of first-class, synchronizable
events, making it easy to do **I/O without callbacks**.

With task.js you can write non-blocking I/O in a synchronous style, even with error handling:

``` javascript<commit_msg>update link in README<commit_after># task.js

* *What?*  Cooperative concurrency for JS + [generators](https://developer.mozilla.org/en/New_in_JavaScript_1.7).
* *Why?*   Who says JavaScript I/O has to be ugly?
* *Where?* [http://dherman.github.com/taskjs](http://dherman.github.com/taskjs)
* *When?*  As soon as your JS engine supports [generators](http://wiki.ecmascript.org/doku.php?id=harmony:generators)!
* *How?*   [http://dherman.github.com/taskjs](http://dherman.github.com/taskjs)

task.js provides an **automatic task scheduler** along with a library of first-class, synchronizable
events, making it easy to do **I/O without callbacks**.

With task.js you can write non-blocking I/O in a synchronous style, even with error handling:

``` javascript
{'fraction_non_alphanumeric': 0.14732724902216426, 'fraction_numerical': 0.002607561929595828, 'mean_word_length': 4.8143939393939394, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1607652', 'n_tokens_mistral': 529, 'n_tokens_neox': 508, 'n_words': 138}