summaryrefslogtreecommitdiff
path: root/test-chill/makeparser.py
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-09-18 21:39:45 +0000
committerTuowen Zhao <ztuowen@gmail.com>2016-09-18 21:39:45 +0000
commitf255f2498da1fd985ad1ed79362580bbf4675723 (patch)
tree3cd02e9d3147054820c58aacd1e5d3d336eea0d7 /test-chill/makeparser.py
parent7233faacb7990a6c3a40d2435ede88d7725dfc6e (diff)
downloadchill-f255f2498da1fd985ad1ed79362580bbf4675723.tar.gz
chill-f255f2498da1fd985ad1ed79362580bbf4675723.tar.bz2
chill-f255f2498da1fd985ad1ed79362580bbf4675723.zip
rm test-chill, create doc subdir
Diffstat (limited to 'test-chill/makeparser.py')
-rw-r--r--test-chill/makeparser.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/test-chill/makeparser.py b/test-chill/makeparser.py
deleted file mode 100644
index 5e41489..0000000
--- a/test-chill/makeparser.py
+++ /dev/null
@@ -1,9 +0,0 @@
-import pylang.parser
-import pickle
-
-if __name__ == '__main__':
- gstream = open('testchill/cpp_validate/grammar.txt', 'r')
- env = dict()
- exec('from testchill._cpp_validate_env import *', None, env)
- parser = pylang.parser.generate(gstream, env)
- pickle.dump(parser, open('testchill/cpp_validate/parser.pickle', 'wb'), 2)