Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Unified Diff: pkg/barback/example/lazy_transformer/README.md

Issue 552843003: Adding a lazy transformer example. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adding the lazy transformer example to barback Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/barback/example/lazy_transformer/lib/message.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/barback/example/lazy_transformer/README.md
diff --git a/pkg/barback/example/lazy_transformer/README.md b/pkg/barback/example/lazy_transformer/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..35c72cc235104f105a8b7fe62d49b17adf9ef14d
--- /dev/null
+++ b/pkg/barback/example/lazy_transformer/README.md
@@ -0,0 +1,14 @@
+This example shows how to write a lazy transformer.
+
+This lazy tranformer implements a ROT13 converter. ROT13 (ROTate 13)
+is a classic substitution cipher which replaces each letter in the source
+file with the corresponding letter 13 places later in the alphabet.
+The source file should have a ".txt" extension and the converted file
+is created with a ".shhhh" extension.
+
+Generally, only transformers that take a long time to run should be made lazy.
+This transformer is not particularly slow, but imagine that it might be used
+to convert the entire library of congress–laziness would then be a virtue.
+
+For more information, see Writing a Lazy Transformer at:
+https://www.dartlang.org/tools/pub/transformers/lazy-transformer.html
« no previous file with comments | « no previous file | pkg/barback/example/lazy_transformer/lib/message.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698