updated api plan
Robin Edwards [Mon, 7 Dec 2009 13:59:11 +0000 (13:59 +0000)]
README

diff --git a/README b/README
index ecafc13..811e7a3 100644 (file)
--- a/README
+++ b/README
@@ -1,15 +1,15 @@
 TODO
 * create rule and actions keyword
 * write builtin rules
-* decide on injection api
 
 SYNTAX
+# just an idea.
 
 keyword method (identifier, prototype?) {
-       inject($identifer->begin_code);
-       inject($prototype->begin_code);
-       inject_end($identifer->end_code);
-       inject_end($prototype->end_code);
+       $block->end($prototype);
+       $block->begin($prototype);
+       $block->name($identifier);
+       $block->write;
 }
 
 rule prototype {