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

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

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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
Index: packages/barback/example/lazy_transformer/README.md
diff --git a/packages/barback/example/lazy_transformer/README.md b/packages/barback/example/lazy_transformer/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..35c72cc235104f105a8b7fe62d49b17adf9ef14d
--- /dev/null
+++ b/packages/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 | « packages/barback/example/aggregate_transformer/pubspec.yaml ('k') | packages/barback/example/lazy_transformer/lib/message.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698