コード例 #1
0
ファイル: test_nearley.py プロジェクト: pombredanne/lark
 def test_include_utf8(self):
     fn = os.path.join(TEST_PATH, 'grammars/include_unicode.ne')
     nearley_tool_main(fn, 'main', NEARLEY_PATH)
コード例 #2
0
ファイル: test_nearley.py プロジェクト: pombredanne/lark
 def test_utf8_2(self):
     fn = os.path.join(TEST_PATH, 'grammars/unicode.ne')
     nearley_tool_main(fn, 'x', NEARLEY_PATH)