summaryrefslogtreecommitdiff
path: root/trunk/src/examples/greetingInGreek.py
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/examples/greetingInGreek.py')
-rw-r--r--trunk/src/examples/greetingInGreek.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/trunk/src/examples/greetingInGreek.py b/trunk/src/examples/greetingInGreek.py
deleted file mode 100644
index 07a8f0a..0000000
--- a/trunk/src/examples/greetingInGreek.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# vim:fileencoding=utf-8
-#
-# greetingInGreek.py
-#
-# Demonstration of the parsing module, on the prototypical "Hello, World!" example
-#
-from pyparsing import Word
-
-# define grammar
-alphas = ''.join(chr(x) for x in range(0x386, 0x3ce))
-greet = Word(alphas) + ',' + Word(alphas) + '!'
-
-# input string
-hello = "Καλημέρα, κόσμε!".decode('utf-8')
-
-# parse input string
-print(greet.parseString( hello ))
-