diff options
author | Paul McGuire <ptmcg@users.noreply.github.com> | 2018-01-06 23:38:53 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-06 23:38:53 -0600 |
commit | 430c5ad767cc946e9da7cd5f4673a4e3bd135a3c (patch) | |
tree | 5a7df11e0fd52ab320b0ef3e670e260f315ca9ae | |
parent | f1d12567a8da4d254e6d62bb0d650c87c7d0bb89 (diff) | |
parent | d953150a6db3ac247a64b047edc2df7156f3e56b (diff) | |
download | pyparsing-git-430c5ad767cc946e9da7cd5f4673a4e3bd135a3c.tar.gz |
Merge pull request #1 from cngkaygusuz/master
Add Scrutinizer-CI configuration and other niceties
-rw-r--r-- | .coveragerc | 3 | ||||
-rw-r--r-- | .gitignore | 171 | ||||
-rw-r--r-- | .idea/misc.xml | 4 | ||||
-rw-r--r-- | .idea/modules.xml | 8 | ||||
-rw-r--r-- | .idea/pyparsing.iml | 11 | ||||
-rw-r--r-- | .idea/vcs.xml | 6 | ||||
-rw-r--r-- | .scrutinizer.yml | 23 | ||||
-rw-r--r-- | CHANGES (renamed from src/CHANGES) | 0 | ||||
-rw-r--r-- | HowToUsePyparsing.html (renamed from src/HowToUsePyparsing.html) | 0 | ||||
-rw-r--r-- | HowToUsePyparsing.txt (renamed from src/HowToUsePyparsing.txt) | 0 | ||||
-rw-r--r-- | LICENSE (renamed from src/LICENSE) | 0 | ||||
-rw-r--r-- | MANIFEST.in_bdist (renamed from src/MANIFEST.in_bdist) | 0 | ||||
-rw-r--r-- | MANIFEST.in_src (renamed from src/MANIFEST.in_src) | 0 | ||||
-rw-r--r-- | README (renamed from src/README) | 0 | ||||
-rw-r--r-- | examples/0README.html (renamed from src/examples/0README.html) | 0 | ||||
-rw-r--r-- | examples/AcManForm.dfm (renamed from src/examples/AcManForm.dfm) | 0 | ||||
-rw-r--r-- | examples/LAparser.py (renamed from src/examples/LAparser.py) | 0 | ||||
-rw-r--r-- | examples/Setup.ini (renamed from src/examples/Setup.ini) | 0 | ||||
-rw-r--r-- | examples/SimpleCalc.py (renamed from src/examples/SimpleCalc.py) | 0 | ||||
-rw-r--r-- | examples/SingleForm.dfm (renamed from src/examples/SingleForm.dfm) | 0 | ||||
-rw-r--r-- | examples/TAP.py (renamed from src/examples/TAP.py) | 0 | ||||
-rw-r--r-- | examples/__init__.py (renamed from src/examples/__init__.py) | 0 | ||||
-rw-r--r-- | examples/adventureEngine.py (renamed from src/examples/adventureEngine.py) | 0 | ||||
-rw-r--r-- | examples/antlr_grammar.py (renamed from src/examples/antlr_grammar.py) | 0 | ||||
-rw-r--r-- | examples/antlr_grammar_tests.py (renamed from src/examples/antlr_grammar_tests.py) | 0 | ||||
-rw-r--r-- | examples/apicheck.py (renamed from src/examples/apicheck.py) | 0 | ||||
-rw-r--r-- | examples/btpyparse.py (renamed from src/examples/btpyparse.py) | 0 | ||||
-rw-r--r-- | examples/builtin_parse_action_demo.py (renamed from src/examples/builtin_parse_action_demo.py) | 0 | ||||
-rw-r--r-- | examples/cLibHeader.py (renamed from src/examples/cLibHeader.py) | 0 | ||||
-rw-r--r-- | examples/chemicalFormulas.py (renamed from src/examples/chemicalFormulas.py) | 0 | ||||
-rw-r--r-- | examples/commasep.py (renamed from src/examples/commasep.py) | 0 | ||||
-rw-r--r-- | examples/configParse.py (renamed from src/examples/configParse.py) | 0 | ||||
-rw-r--r-- | examples/cpp_enum_parser.py (renamed from src/examples/cpp_enum_parser.py) | 0 | ||||
-rw-r--r-- | examples/datetimeParseActions.py (renamed from src/examples/datetimeParseActions.py) | 0 | ||||
-rw-r--r-- | examples/deltaTime.py (renamed from src/examples/deltaTime.py) | 0 | ||||
-rw-r--r-- | examples/dfmparse.py (renamed from src/examples/dfmparse.py) | 0 | ||||
-rw-r--r-- | examples/dhcpd_leases_parser.py (renamed from src/examples/dhcpd_leases_parser.py) | 0 | ||||
-rw-r--r-- | examples/dictExample.py (renamed from src/examples/dictExample.py) | 0 | ||||
-rw-r--r-- | examples/dictExample2.py (renamed from src/examples/dictExample2.py) | 0 | ||||
-rw-r--r-- | examples/ebnf.py (renamed from src/examples/ebnf.py) | 0 | ||||
-rw-r--r-- | examples/ebnftest.py (renamed from src/examples/ebnftest.py) | 0 | ||||
-rw-r--r-- | examples/eval_arith.py (renamed from src/examples/eval_arith.py) | 0 | ||||
-rw-r--r-- | examples/excelExpr.py (renamed from src/examples/excelExpr.py) | 0 | ||||
-rw-r--r-- | examples/fourFn.py (renamed from src/examples/fourFn.py) | 0 | ||||
-rw-r--r-- | examples/gen_ctypes.py (renamed from src/examples/gen_ctypes.py) | 0 | ||||
-rw-r--r-- | examples/getNTPservers.py (renamed from src/examples/getNTPservers.py) | 0 | ||||
-rw-r--r-- | examples/getNTPserversNew.py (renamed from src/examples/getNTPserversNew.py) | 0 | ||||
-rw-r--r-- | examples/greeting.py (renamed from src/examples/greeting.py) | 0 | ||||
-rw-r--r-- | examples/greetingInGreek.py (renamed from src/examples/greetingInGreek.py) | 0 | ||||
-rw-r--r-- | examples/greetingInKorean.py (renamed from src/examples/greetingInKorean.py) | 0 | ||||
-rw-r--r-- | examples/groupUsingListAllMatches.py (renamed from src/examples/groupUsingListAllMatches.py) | 0 | ||||
-rw-r--r-- | examples/holaMundo.py (renamed from src/examples/holaMundo.py) | 0 | ||||
-rw-r--r-- | examples/htmlStripper.py (renamed from src/examples/htmlStripper.py) | 0 | ||||
-rw-r--r-- | examples/httpServerLogParser.py (renamed from src/examples/httpServerLogParser.py) | 0 | ||||
-rw-r--r-- | examples/idlParse.py (renamed from src/examples/idlParse.py) | 0 | ||||
-rw-r--r-- | examples/indentedGrammarExample.py (renamed from src/examples/indentedGrammarExample.py) | 0 | ||||
-rw-r--r-- | examples/invRegex.py (renamed from src/examples/invRegex.py) | 0 | ||||
-rw-r--r-- | examples/javascript_grammar.g (renamed from src/examples/javascript_grammar.g) | 0 | ||||
-rw-r--r-- | examples/jsonParser.py (renamed from src/examples/jsonParser.py) | 0 | ||||
-rw-r--r-- | examples/linenoExample.py (renamed from src/examples/linenoExample.py) | 0 | ||||
-rw-r--r-- | examples/list1.py (renamed from src/examples/list1.py) | 0 | ||||
-rw-r--r-- | examples/listAllMatches.py (renamed from src/examples/listAllMatches.py) | 0 | ||||
-rw-r--r-- | examples/lucene_grammar.py (renamed from src/examples/lucene_grammar.py) | 0 | ||||
-rw-r--r-- | examples/macroExpander.py (renamed from src/examples/macroExpander.py) | 0 | ||||
-rw-r--r-- | examples/makeHTMLTagExample.py (renamed from src/examples/makeHTMLTagExample.py) | 0 | ||||
-rw-r--r-- | examples/matchPreviousDemo.py (renamed from src/examples/matchPreviousDemo.py) | 0 | ||||
-rw-r--r-- | examples/mozilla.ics (renamed from src/examples/mozilla.ics) | 0 | ||||
-rw-r--r-- | examples/mozillaCalendarParser.py (renamed from src/examples/mozillaCalendarParser.py) | 0 | ||||
-rw-r--r-- | examples/nested.py (renamed from src/examples/nested.py) | 0 | ||||
-rw-r--r-- | examples/numerics.py (renamed from src/examples/numerics.py) | 0 | ||||
-rw-r--r-- | examples/oc.py (renamed from src/examples/oc.py) | 0 | ||||
-rw-r--r-- | examples/parseListString.py (renamed from src/examples/parseListString.py) | 0 | ||||
-rw-r--r-- | examples/parsePythonValue.py (renamed from src/examples/parsePythonValue.py) | 0 | ||||
-rw-r--r-- | examples/parseResultsSumExample.py (renamed from src/examples/parseResultsSumExample.py) | 0 | ||||
-rw-r--r-- | examples/parseTabularData.py (renamed from src/examples/parseTabularData.py) | 0 | ||||
-rw-r--r-- | examples/partial_gene_match.py (renamed from src/examples/partial_gene_match.py) | 0 | ||||
-rw-r--r-- | examples/pgn.py (renamed from src/examples/pgn.py) | 0 | ||||
-rw-r--r-- | examples/position.py (renamed from src/examples/position.py) | 0 | ||||
-rw-r--r-- | examples/protobuf_parser.py (renamed from src/examples/protobuf_parser.py) | 0 | ||||
-rw-r--r-- | examples/pymicko.py (renamed from src/examples/pymicko.py) | 0 | ||||
-rw-r--r-- | examples/pythonGrammarParser.py (renamed from src/examples/pythonGrammarParser.py) | 0 | ||||
-rw-r--r-- | examples/rangeCheck.py (renamed from src/examples/rangeCheck.py) | 0 | ||||
-rw-r--r-- | examples/readJson.py (renamed from src/examples/readJson.py) | 0 | ||||
-rw-r--r-- | examples/removeLineBreaks.py (renamed from src/examples/removeLineBreaks.py) | 0 | ||||
-rw-r--r-- | examples/romanNumerals.py (renamed from src/examples/romanNumerals.py) | 0 | ||||
-rw-r--r-- | examples/scanExamples.py (renamed from src/examples/scanExamples.py) | 0 | ||||
-rw-r--r-- | examples/scanYahoo.py (renamed from src/examples/scanYahoo.py) | 0 | ||||
-rw-r--r-- | examples/searchParserAppDemo.py (renamed from src/examples/searchParserAppDemo.py) | 0 | ||||
-rw-r--r-- | examples/searchparser.py (renamed from src/examples/searchparser.py) | 0 | ||||
-rw-r--r-- | examples/select_parser.py (renamed from src/examples/select_parser.py) | 0 | ||||
-rw-r--r-- | examples/sexpParser.py (renamed from src/examples/sexpParser.py) | 0 | ||||
-rw-r--r-- | examples/shapes.py (renamed from src/examples/shapes.py) | 0 | ||||
-rw-r--r-- | examples/simpleArith.py (renamed from src/examples/simpleArith.py) | 0 | ||||
-rw-r--r-- | examples/simpleBool.py (renamed from src/examples/simpleBool.py) | 0 | ||||
-rw-r--r-- | examples/simpleSQL.py (renamed from src/examples/simpleSQL.py) | 0 | ||||
-rw-r--r-- | examples/simpleWiki.py (renamed from src/examples/simpleWiki.py) | 0 | ||||
-rw-r--r-- | examples/snmp_api.h (renamed from src/examples/snmp_api.h) | 0 | ||||
-rw-r--r-- | examples/sparser.py (renamed from src/examples/sparser.py) | 0 | ||||
-rw-r--r-- | examples/sql2dot.py (renamed from src/examples/sql2dot.py) | 0 | ||||
-rw-r--r-- | examples/stackish.py (renamed from src/examples/stackish.py) | 0 | ||||
-rw-r--r-- | examples/stateMachine2.py (renamed from src/examples/stateMachine2.py) | 0 | ||||
-rw-r--r-- | examples/test_bibparse.py (renamed from src/examples/test_bibparse.py) | 0 | ||||
-rw-r--r-- | examples/urlExtractor.py (renamed from src/examples/urlExtractor.py) | 0 | ||||
-rw-r--r-- | examples/urlExtractorNew.py (renamed from src/examples/urlExtractorNew.py) | 0 | ||||
-rw-r--r-- | examples/verilogParse.py (renamed from src/examples/verilogParse.py) | 0 | ||||
-rw-r--r-- | examples/withAttribute.py (renamed from src/examples/withAttribute.py) | 0 | ||||
-rw-r--r-- | examples/wordsToNum.py (renamed from src/examples/wordsToNum.py) | 0 | ||||
-rw-r--r-- | genEpydoc.bat (renamed from src/genEpydoc.bat) | 0 | ||||
-rw-r--r-- | makeRelease.bat (renamed from src/makeRelease.bat) | 0 | ||||
-rw-r--r-- | pyparsing.py (renamed from src/pyparsing.py) | 0 | ||||
-rw-r--r-- | pyparsingClassDiagram.JPG (renamed from src/pyparsingClassDiagram.JPG) | bin | 236402 -> 236402 bytes | |||
-rw-r--r-- | pyparsingClassDiagram.PNG (renamed from src/pyparsingClassDiagram.PNG) | bin | 141354 -> 141354 bytes | |||
-rw-r--r-- | requirements-dev.txt | 1 | ||||
-rw-r--r-- | setup.cfg (renamed from src/setup.cfg) | 0 | ||||
-rw-r--r-- | setup.py (renamed from src/setup.py) | 0 | ||||
-rw-r--r-- | test/__init__.py (renamed from src/test/__init__.py) | 0 | ||||
-rw-r--r-- | test/jsonParserTests.py (renamed from src/test/jsonParserTests.py) | 0 | ||||
-rw-r--r-- | test/karthik.ini (renamed from src/test/karthik.ini) | 0 | ||||
-rw-r--r-- | test/parsefiletest_input_file.txt (renamed from src/test/parsefiletest_input_file.txt) | 0 | ||||
-rw-r--r-- | unitTests.py (renamed from src/unitTests.py) | 0 | ||||
-rw-r--r-- | update_pyparsing_timestamp.py (renamed from src/update_pyparsing_timestamp.py) | 0 |
121 files changed, 227 insertions, 0 deletions
diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..6cbf474 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,3 @@ +[run] +# This line instructs only the code contained in the "pyparsing.py" to be measured for coverage. +source=pyparsing diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1d22b5a --- /dev/null +++ b/.gitignore @@ -0,0 +1,171 @@ +# Created by https://www.gitignore.io/api/python,pycharm + +### PyCharm ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff: +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/dictionaries + +# Sensitive or high-churn files: +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.xml +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml + +# Gradle: +.idea/**/gradle.xml +.idea/**/libraries + +# CMake +cmake-build-debug/ + +# Mongo Explorer plugin: +.idea/**/mongoSettings.xml + +## File-based project format: +*.iws + +## Plugin-specific files: + +# IntelliJ +/out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# Ruby plugin and RubyMine +/.rakeTasks + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +### PyCharm Patch ### +# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721 + +# *.iml +# modules.xml +# .idea/misc.xml +# *.ipr + +# Sonarlint plugin +.idea/sonarlint + +### Python ### +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.egg-info/ +.installed.cfg +*.egg + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +.hypothesis/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# pyenv +.python-version + +# celery beat schedule file +celerybeat-schedule + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ + +# End of https://www.gitignore.io/api/python,pycharm diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..18f88b2 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.6.2 (/usr/bin/python3.6)" project-jdk-type="Python SDK" /> +</project>
\ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..076a4eb --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectModuleManager"> + <modules> + <module fileurl="file://$PROJECT_DIR$/.idea/pyparsing.iml" filepath="$PROJECT_DIR$/.idea/pyparsing.iml" /> + </modules> + </component> +</project>
\ No newline at end of file diff --git a/.idea/pyparsing.iml b/.idea/pyparsing.iml new file mode 100644 index 0000000..6711606 --- /dev/null +++ b/.idea/pyparsing.iml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module type="PYTHON_MODULE" version="4"> + <component name="NewModuleRootManager"> + <content url="file://$MODULE_DIR$" /> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + </component> + <component name="TestRunnerService"> + <option name="PROJECT_TEST_RUNNER" value="Unittests" /> + </component> +</module>
\ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="VcsDirectoryMappings"> + <mapping directory="$PROJECT_DIR$" vcs="Git" /> + </component> +</project>
\ No newline at end of file diff --git a/.scrutinizer.yml b/.scrutinizer.yml new file mode 100644 index 0000000..1ea545f --- /dev/null +++ b/.scrutinizer.yml @@ -0,0 +1,23 @@ +# This file contains the configuration for Scrutinizer-CI, a tool we use for software quality. + +build: + # We will be running our tests in Python 2.7.7 + environment: + python: 2.7.7 + + # Install development dependencies. + dependencies: + override: + - 'pip install -r requirements-dev.txt' + - true # to have scrutinizer-ci not infer any commands. + + tests: + override: + # Following command generates .coverage file, the output of the "coverage" tool. + - + command: coverage run unitTests.py + coverage: # This section instructs Scrutinizer-CI this command produces test coverage output. + file: '.coverage' + format: 'py-cc' + + - true # to have scrutinizer-ci not infer any commands. diff --git a/src/HowToUsePyparsing.html b/HowToUsePyparsing.html index 1bd180b..1bd180b 100644 --- a/src/HowToUsePyparsing.html +++ b/HowToUsePyparsing.html diff --git a/src/HowToUsePyparsing.txt b/HowToUsePyparsing.txt index 71d5313..71d5313 100644 --- a/src/HowToUsePyparsing.txt +++ b/HowToUsePyparsing.txt diff --git a/src/MANIFEST.in_bdist b/MANIFEST.in_bdist index 5f2b98b..5f2b98b 100644 --- a/src/MANIFEST.in_bdist +++ b/MANIFEST.in_bdist diff --git a/src/MANIFEST.in_src b/MANIFEST.in_src index 5f2b98b..5f2b98b 100644 --- a/src/MANIFEST.in_src +++ b/MANIFEST.in_src diff --git a/src/examples/0README.html b/examples/0README.html index 303d44d..303d44d 100644 --- a/src/examples/0README.html +++ b/examples/0README.html diff --git a/src/examples/AcManForm.dfm b/examples/AcManForm.dfm index db80f6a..db80f6a 100644 --- a/src/examples/AcManForm.dfm +++ b/examples/AcManForm.dfm diff --git a/src/examples/LAparser.py b/examples/LAparser.py index ec75d6c..ec75d6c 100644 --- a/src/examples/LAparser.py +++ b/examples/LAparser.py diff --git a/src/examples/Setup.ini b/examples/Setup.ini index 4574b1c..4574b1c 100644 --- a/src/examples/Setup.ini +++ b/examples/Setup.ini diff --git a/src/examples/SimpleCalc.py b/examples/SimpleCalc.py index 46a5dff..46a5dff 100644 --- a/src/examples/SimpleCalc.py +++ b/examples/SimpleCalc.py diff --git a/src/examples/SingleForm.dfm b/examples/SingleForm.dfm index 7a52734..7a52734 100644 --- a/src/examples/SingleForm.dfm +++ b/examples/SingleForm.dfm diff --git a/src/examples/TAP.py b/examples/TAP.py index 139e47c..139e47c 100644 --- a/src/examples/TAP.py +++ b/examples/TAP.py diff --git a/src/examples/__init__.py b/examples/__init__.py index e69de29..e69de29 100644 --- a/src/examples/__init__.py +++ b/examples/__init__.py diff --git a/src/examples/adventureEngine.py b/examples/adventureEngine.py index be09770..be09770 100644 --- a/src/examples/adventureEngine.py +++ b/examples/adventureEngine.py diff --git a/src/examples/antlr_grammar.py b/examples/antlr_grammar.py index 76c681c..76c681c 100644 --- a/src/examples/antlr_grammar.py +++ b/examples/antlr_grammar.py diff --git a/src/examples/antlr_grammar_tests.py b/examples/antlr_grammar_tests.py index c2c3d8d..c2c3d8d 100644 --- a/src/examples/antlr_grammar_tests.py +++ b/examples/antlr_grammar_tests.py diff --git a/src/examples/apicheck.py b/examples/apicheck.py index 7bca41a..7bca41a 100644 --- a/src/examples/apicheck.py +++ b/examples/apicheck.py diff --git a/src/examples/btpyparse.py b/examples/btpyparse.py index 4fbbac8..4fbbac8 100644 --- a/src/examples/btpyparse.py +++ b/examples/btpyparse.py diff --git a/src/examples/builtin_parse_action_demo.py b/examples/builtin_parse_action_demo.py index 3ec6af8..3ec6af8 100644 --- a/src/examples/builtin_parse_action_demo.py +++ b/examples/builtin_parse_action_demo.py diff --git a/src/examples/cLibHeader.py b/examples/cLibHeader.py index bb98521..bb98521 100644 --- a/src/examples/cLibHeader.py +++ b/examples/cLibHeader.py diff --git a/src/examples/chemicalFormulas.py b/examples/chemicalFormulas.py index ce66afd..ce66afd 100644 --- a/src/examples/chemicalFormulas.py +++ b/examples/chemicalFormulas.py diff --git a/src/examples/commasep.py b/examples/commasep.py index 3ce8546..3ce8546 100644 --- a/src/examples/commasep.py +++ b/examples/commasep.py diff --git a/src/examples/configParse.py b/examples/configParse.py index 769249c..769249c 100644 --- a/src/examples/configParse.py +++ b/examples/configParse.py diff --git a/src/examples/cpp_enum_parser.py b/examples/cpp_enum_parser.py index cd8f525..cd8f525 100644 --- a/src/examples/cpp_enum_parser.py +++ b/examples/cpp_enum_parser.py diff --git a/src/examples/datetimeParseActions.py b/examples/datetimeParseActions.py index e42d2c6..e42d2c6 100644 --- a/src/examples/datetimeParseActions.py +++ b/examples/datetimeParseActions.py diff --git a/src/examples/deltaTime.py b/examples/deltaTime.py index e38da00..e38da00 100644 --- a/src/examples/deltaTime.py +++ b/examples/deltaTime.py diff --git a/src/examples/dfmparse.py b/examples/dfmparse.py index cf83814..cf83814 100644 --- a/src/examples/dfmparse.py +++ b/examples/dfmparse.py diff --git a/src/examples/dhcpd_leases_parser.py b/examples/dhcpd_leases_parser.py index 145e6ea..145e6ea 100644 --- a/src/examples/dhcpd_leases_parser.py +++ b/examples/dhcpd_leases_parser.py diff --git a/src/examples/dictExample.py b/examples/dictExample.py index 5085aed..5085aed 100644 --- a/src/examples/dictExample.py +++ b/examples/dictExample.py diff --git a/src/examples/dictExample2.py b/examples/dictExample2.py index cae463b..cae463b 100644 --- a/src/examples/dictExample2.py +++ b/examples/dictExample2.py diff --git a/src/examples/ebnf.py b/examples/ebnf.py index 242aed4..242aed4 100644 --- a/src/examples/ebnf.py +++ b/examples/ebnf.py diff --git a/src/examples/ebnftest.py b/examples/ebnftest.py index 253404f..253404f 100644 --- a/src/examples/ebnftest.py +++ b/examples/ebnftest.py diff --git a/src/examples/eval_arith.py b/examples/eval_arith.py index 9562253..9562253 100644 --- a/src/examples/eval_arith.py +++ b/examples/eval_arith.py diff --git a/src/examples/excelExpr.py b/examples/excelExpr.py index 7ce8db2..7ce8db2 100644 --- a/src/examples/excelExpr.py +++ b/examples/excelExpr.py diff --git a/src/examples/fourFn.py b/examples/fourFn.py index 75f3909..75f3909 100644 --- a/src/examples/fourFn.py +++ b/examples/fourFn.py diff --git a/src/examples/gen_ctypes.py b/examples/gen_ctypes.py index 9e74819..9e74819 100644 --- a/src/examples/gen_ctypes.py +++ b/examples/gen_ctypes.py diff --git a/src/examples/getNTPservers.py b/examples/getNTPservers.py index bbf1d60..bbf1d60 100644 --- a/src/examples/getNTPservers.py +++ b/examples/getNTPservers.py diff --git a/src/examples/getNTPserversNew.py b/examples/getNTPserversNew.py index 14e710c..14e710c 100644 --- a/src/examples/getNTPserversNew.py +++ b/examples/getNTPserversNew.py diff --git a/src/examples/greeting.py b/examples/greeting.py index 2e6b241..2e6b241 100644 --- a/src/examples/greeting.py +++ b/examples/greeting.py diff --git a/src/examples/greetingInGreek.py b/examples/greetingInGreek.py index c4d002f..c4d002f 100644 --- a/src/examples/greetingInGreek.py +++ b/examples/greetingInGreek.py diff --git a/src/examples/greetingInKorean.py b/examples/greetingInKorean.py index e48cc8b..e48cc8b 100644 --- a/src/examples/greetingInKorean.py +++ b/examples/greetingInKorean.py diff --git a/src/examples/groupUsingListAllMatches.py b/examples/groupUsingListAllMatches.py index 28cdfd6..28cdfd6 100644 --- a/src/examples/groupUsingListAllMatches.py +++ b/examples/groupUsingListAllMatches.py diff --git a/src/examples/holaMundo.py b/examples/holaMundo.py index 6ae2cc5..6ae2cc5 100644 --- a/src/examples/holaMundo.py +++ b/examples/holaMundo.py diff --git a/src/examples/htmlStripper.py b/examples/htmlStripper.py index 1d7a0f0..1d7a0f0 100644 --- a/src/examples/htmlStripper.py +++ b/examples/htmlStripper.py diff --git a/src/examples/httpServerLogParser.py b/examples/httpServerLogParser.py index a147a05..a147a05 100644 --- a/src/examples/httpServerLogParser.py +++ b/examples/httpServerLogParser.py diff --git a/src/examples/idlParse.py b/examples/idlParse.py index b94bac4..b94bac4 100644 --- a/src/examples/idlParse.py +++ b/examples/idlParse.py diff --git a/src/examples/indentedGrammarExample.py b/examples/indentedGrammarExample.py index 442e6a4..442e6a4 100644 --- a/src/examples/indentedGrammarExample.py +++ b/examples/indentedGrammarExample.py diff --git a/src/examples/invRegex.py b/examples/invRegex.py index aea3b55..aea3b55 100644 --- a/src/examples/invRegex.py +++ b/examples/invRegex.py diff --git a/src/examples/javascript_grammar.g b/examples/javascript_grammar.g index c30eac2..c30eac2 100644 --- a/src/examples/javascript_grammar.g +++ b/examples/javascript_grammar.g diff --git a/src/examples/jsonParser.py b/examples/jsonParser.py index f080c6c..f080c6c 100644 --- a/src/examples/jsonParser.py +++ b/examples/jsonParser.py diff --git a/src/examples/linenoExample.py b/examples/linenoExample.py index 1186f48..1186f48 100644 --- a/src/examples/linenoExample.py +++ b/examples/linenoExample.py diff --git a/src/examples/list1.py b/examples/list1.py index 49a0bff..49a0bff 100644 --- a/src/examples/list1.py +++ b/examples/list1.py diff --git a/src/examples/listAllMatches.py b/examples/listAllMatches.py index 1b1bdd4..1b1bdd4 100644 --- a/src/examples/listAllMatches.py +++ b/examples/listAllMatches.py diff --git a/src/examples/lucene_grammar.py b/examples/lucene_grammar.py index 6e404d8..6e404d8 100644 --- a/src/examples/lucene_grammar.py +++ b/examples/lucene_grammar.py diff --git a/src/examples/macroExpander.py b/examples/macroExpander.py index 327976c..327976c 100644 --- a/src/examples/macroExpander.py +++ b/examples/macroExpander.py diff --git a/src/examples/makeHTMLTagExample.py b/examples/makeHTMLTagExample.py index 3b771c7..3b771c7 100644 --- a/src/examples/makeHTMLTagExample.py +++ b/examples/makeHTMLTagExample.py diff --git a/src/examples/matchPreviousDemo.py b/examples/matchPreviousDemo.py index f0812e9..f0812e9 100644 --- a/src/examples/matchPreviousDemo.py +++ b/examples/matchPreviousDemo.py diff --git a/src/examples/mozilla.ics b/examples/mozilla.ics index e6dd3dc..e6dd3dc 100644 --- a/src/examples/mozilla.ics +++ b/examples/mozilla.ics diff --git a/src/examples/mozillaCalendarParser.py b/examples/mozillaCalendarParser.py index 210f284..210f284 100644 --- a/src/examples/mozillaCalendarParser.py +++ b/examples/mozillaCalendarParser.py diff --git a/src/examples/nested.py b/examples/nested.py index 24cf2f4..24cf2f4 100644 --- a/src/examples/nested.py +++ b/examples/nested.py diff --git a/src/examples/numerics.py b/examples/numerics.py index 5ab99dd..5ab99dd 100644 --- a/src/examples/numerics.py +++ b/examples/numerics.py diff --git a/src/examples/oc.py b/examples/oc.py index cf656ec..cf656ec 100644 --- a/src/examples/oc.py +++ b/examples/oc.py diff --git a/src/examples/parseListString.py b/examples/parseListString.py index d74f3af..d74f3af 100644 --- a/src/examples/parseListString.py +++ b/examples/parseListString.py diff --git a/src/examples/parsePythonValue.py b/examples/parsePythonValue.py index 53c61fc..53c61fc 100644 --- a/src/examples/parsePythonValue.py +++ b/examples/parsePythonValue.py diff --git a/src/examples/parseResultsSumExample.py b/examples/parseResultsSumExample.py index 1fb694a..1fb694a 100644 --- a/src/examples/parseResultsSumExample.py +++ b/examples/parseResultsSumExample.py diff --git a/src/examples/parseTabularData.py b/examples/parseTabularData.py index 3846310..3846310 100644 --- a/src/examples/parseTabularData.py +++ b/examples/parseTabularData.py diff --git a/src/examples/partial_gene_match.py b/examples/partial_gene_match.py index 8bf5f7c..8bf5f7c 100644 --- a/src/examples/partial_gene_match.py +++ b/examples/partial_gene_match.py diff --git a/src/examples/pgn.py b/examples/pgn.py index d13f83e..d13f83e 100644 --- a/src/examples/pgn.py +++ b/examples/pgn.py diff --git a/src/examples/position.py b/examples/position.py index 984c018..984c018 100644 --- a/src/examples/position.py +++ b/examples/position.py diff --git a/src/examples/protobuf_parser.py b/examples/protobuf_parser.py index 04ce0d8..04ce0d8 100644 --- a/src/examples/protobuf_parser.py +++ b/examples/protobuf_parser.py diff --git a/src/examples/pymicko.py b/examples/pymicko.py index b136689..b136689 100644 --- a/src/examples/pymicko.py +++ b/examples/pymicko.py diff --git a/src/examples/pythonGrammarParser.py b/examples/pythonGrammarParser.py index f199917..f199917 100644 --- a/src/examples/pythonGrammarParser.py +++ b/examples/pythonGrammarParser.py diff --git a/src/examples/rangeCheck.py b/examples/rangeCheck.py index 67cf267..67cf267 100644 --- a/src/examples/rangeCheck.py +++ b/examples/rangeCheck.py diff --git a/src/examples/readJson.py b/examples/readJson.py index deca53b..deca53b 100644 --- a/src/examples/readJson.py +++ b/examples/readJson.py diff --git a/src/examples/removeLineBreaks.py b/examples/removeLineBreaks.py index ba4b498..ba4b498 100644 --- a/src/examples/removeLineBreaks.py +++ b/examples/removeLineBreaks.py diff --git a/src/examples/romanNumerals.py b/examples/romanNumerals.py index 27361f0..27361f0 100644 --- a/src/examples/romanNumerals.py +++ b/examples/romanNumerals.py diff --git a/src/examples/scanExamples.py b/examples/scanExamples.py index 24ae0e7..24ae0e7 100644 --- a/src/examples/scanExamples.py +++ b/examples/scanExamples.py diff --git a/src/examples/scanYahoo.py b/examples/scanYahoo.py index 825c169..825c169 100644 --- a/src/examples/scanYahoo.py +++ b/examples/scanYahoo.py diff --git a/src/examples/searchParserAppDemo.py b/examples/searchParserAppDemo.py index 259e0e3..259e0e3 100644 --- a/src/examples/searchParserAppDemo.py +++ b/examples/searchParserAppDemo.py diff --git a/src/examples/searchparser.py b/examples/searchparser.py index e5b40a7..e5b40a7 100644 --- a/src/examples/searchparser.py +++ b/examples/searchparser.py diff --git a/src/examples/select_parser.py b/examples/select_parser.py index f969f02..f969f02 100644 --- a/src/examples/select_parser.py +++ b/examples/select_parser.py diff --git a/src/examples/sexpParser.py b/examples/sexpParser.py index 963d153..963d153 100644 --- a/src/examples/sexpParser.py +++ b/examples/sexpParser.py diff --git a/src/examples/shapes.py b/examples/shapes.py index b5a0ebd..b5a0ebd 100644 --- a/src/examples/shapes.py +++ b/examples/shapes.py diff --git a/src/examples/simpleArith.py b/examples/simpleArith.py index 825956b..825956b 100644 --- a/src/examples/simpleArith.py +++ b/examples/simpleArith.py diff --git a/src/examples/simpleBool.py b/examples/simpleBool.py index 5f355b7..5f355b7 100644 --- a/src/examples/simpleBool.py +++ b/examples/simpleBool.py diff --git a/src/examples/simpleSQL.py b/examples/simpleSQL.py index 6cde6ce..6cde6ce 100644 --- a/src/examples/simpleSQL.py +++ b/examples/simpleSQL.py diff --git a/src/examples/simpleWiki.py b/examples/simpleWiki.py index 7a2a0ce..7a2a0ce 100644 --- a/src/examples/simpleWiki.py +++ b/examples/simpleWiki.py diff --git a/src/examples/snmp_api.h b/examples/snmp_api.h index d75cb12..d75cb12 100644 --- a/src/examples/snmp_api.h +++ b/examples/snmp_api.h diff --git a/src/examples/sparser.py b/examples/sparser.py index 7c416da..7c416da 100644 --- a/src/examples/sparser.py +++ b/examples/sparser.py diff --git a/src/examples/sql2dot.py b/examples/sql2dot.py index 1156207..1156207 100644 --- a/src/examples/sql2dot.py +++ b/examples/sql2dot.py diff --git a/src/examples/stackish.py b/examples/stackish.py index f80b4d6..f80b4d6 100644 --- a/src/examples/stackish.py +++ b/examples/stackish.py diff --git a/src/examples/stateMachine2.py b/examples/stateMachine2.py index eb6633d..eb6633d 100644 --- a/src/examples/stateMachine2.py +++ b/examples/stateMachine2.py diff --git a/src/examples/test_bibparse.py b/examples/test_bibparse.py index 7440a66..7440a66 100644 --- a/src/examples/test_bibparse.py +++ b/examples/test_bibparse.py diff --git a/src/examples/urlExtractor.py b/examples/urlExtractor.py index 2c66d78..2c66d78 100644 --- a/src/examples/urlExtractor.py +++ b/examples/urlExtractor.py diff --git a/src/examples/urlExtractorNew.py b/examples/urlExtractorNew.py index 0aac875..0aac875 100644 --- a/src/examples/urlExtractorNew.py +++ b/examples/urlExtractorNew.py diff --git a/src/examples/verilogParse.py b/examples/verilogParse.py index 05650df..05650df 100644 --- a/src/examples/verilogParse.py +++ b/examples/verilogParse.py diff --git a/src/examples/withAttribute.py b/examples/withAttribute.py index 062c9ae..062c9ae 100644 --- a/src/examples/withAttribute.py +++ b/examples/withAttribute.py diff --git a/src/examples/wordsToNum.py b/examples/wordsToNum.py index 7cebbff..7cebbff 100644 --- a/src/examples/wordsToNum.py +++ b/examples/wordsToNum.py diff --git a/src/genEpydoc.bat b/genEpydoc.bat index 988954b..988954b 100644 --- a/src/genEpydoc.bat +++ b/genEpydoc.bat diff --git a/src/makeRelease.bat b/makeRelease.bat index 692e572..692e572 100644 --- a/src/makeRelease.bat +++ b/makeRelease.bat diff --git a/src/pyparsing.py b/pyparsing.py index e8aefc8..e8aefc8 100644 --- a/src/pyparsing.py +++ b/pyparsing.py diff --git a/src/pyparsingClassDiagram.JPG b/pyparsingClassDiagram.JPG Binary files differindex ef10424..ef10424 100644 --- a/src/pyparsingClassDiagram.JPG +++ b/pyparsingClassDiagram.JPG diff --git a/src/pyparsingClassDiagram.PNG b/pyparsingClassDiagram.PNG Binary files differindex f59baaf..f59baaf 100644 --- a/src/pyparsingClassDiagram.PNG +++ b/pyparsingClassDiagram.PNG diff --git a/requirements-dev.txt b/requirements-dev.txt new file mode 100644 index 0000000..8f039d1 --- /dev/null +++ b/requirements-dev.txt @@ -0,0 +1 @@ +coverage==4.4.2 diff --git a/src/setup.cfg b/setup.cfg index 981e089..981e089 100644 --- a/src/setup.cfg +++ b/setup.cfg diff --git a/src/test/__init__.py b/test/__init__.py index e69de29..e69de29 100644 --- a/src/test/__init__.py +++ b/test/__init__.py diff --git a/src/test/jsonParserTests.py b/test/jsonParserTests.py index c8a42bb..c8a42bb 100644 --- a/src/test/jsonParserTests.py +++ b/test/jsonParserTests.py diff --git a/src/test/karthik.ini b/test/karthik.ini index 0a7f594..0a7f594 100644 --- a/src/test/karthik.ini +++ b/test/karthik.ini diff --git a/src/test/parsefiletest_input_file.txt b/test/parsefiletest_input_file.txt index 022837a..022837a 100644 --- a/src/test/parsefiletest_input_file.txt +++ b/test/parsefiletest_input_file.txt diff --git a/src/unitTests.py b/unitTests.py index 2bc7da7..2bc7da7 100644 --- a/src/unitTests.py +++ b/unitTests.py diff --git a/src/update_pyparsing_timestamp.py b/update_pyparsing_timestamp.py index 80ea3d4..80ea3d4 100644 --- a/src/update_pyparsing_timestamp.py +++ b/update_pyparsing_timestamp.py |