From 600fa18324c21a162c50c40ae5f00c899a41dd24 Mon Sep 17 00:00:00 2001 From: dhuth <derickhuth@gmail.com> Date: Wed, 17 Sep 2014 18:09:29 -0600 Subject: removed submodule, added test-chill --- test-chill/makeparser.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test-chill/makeparser.py (limited to 'test-chill/makeparser.py') diff --git a/test-chill/makeparser.py b/test-chill/makeparser.py new file mode 100644 index 0000000..5e41489 --- /dev/null +++ b/test-chill/makeparser.py @@ -0,0 +1,9 @@ +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) -- cgit v1.2.3-70-g09d2