Permalink
Browse files

Update TAME.md

  • Loading branch information...
1 parent 2e6abf7 commit 5a1ababb47360ca4d50a9618fa529d0250902599 @maxtaco committed Dec 8, 2011
Showing with 23 additions and 2 deletions.
  1. +23 −2 TAME.md
View
25 TAME.md
@@ -2,7 +2,28 @@ What Is Tame?
============
Tame is a system for handling callback in event-based code. There
-are two current implementations, one in [C++](https://github.com/maxtaco/sfslite),
-and another in [JavaScript](https://github.com/maxtaco/tamejs).
+were two existing implementations, one in [C++](https://github.com/maxtaco/sfslite),
+and another in [JavaScript](https://github.com/maxtaco/tamejs), and this
+fork of CoffeeScript attempts a third implementation. The code and translation
+techniques are derived from experience with JS, but with some new Coffee-style
+flavoring. Also, some of the features in tamejs are not yet available here.
+
+Examples
+----------
+
+Here are some basic examples.
+
+A basic loop
+-------
+
+
+```coffeescript
+doloop : (n,cb) ->
+ for i in [0..10]
+ await setTimeout(defer(), 100)
+ console.log "doing #{i}"
+ cb()
+
+```

0 comments on commit 5a1abab

Please sign in to comment.