summary refs log tree commit diff stats
path: root/examples/transff.nim
diff options
context:
space:
mode:
Diffstat (limited to 'examples/transff.nim')
-rwxr-xr-xexamples/transff.nim8
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/transff.nim b/examples/transff.nim
deleted file mode 100755
index 32d17e52c..000000000
--- a/examples/transff.nim
+++ /dev/null
@@ -1,8 +0,0 @@
-# Shows how to transform a file
-
-import pegs
-
-transformFile("infile.txt", "outfile.txt",
-  [(peg"""S <- {typedesc} \s* {\ident} \s* ','
-         typedesc <- \ident '*'* """, r"$2: $1")])
-