Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
badw-it
DHParser
Commits
497da41a
Commit
497da41a
authored
Mar 03, 2019
by
eckhart
Browse files
- setup procedure corrected
parent
528bd42d
Changes
30
Expand all
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
497da41a
...
...
@@ -47,3 +47,4 @@ OLDSTUFF
.pytest_cache
*.c
*.pyd
docs/*
DevScripts/Readme-DevScripts.md
deleted
100644 → 0
View file @
528bd42d
Folder "DevScripts"
===================
This folder contains helper scripts for the development of DHParser.
**These scripts are experimental and horribly outdated!**
*
collect_symbols.py - Lists all exported symbols from DHParser modules
*
create_standalone.py - merges the DHParser modules into a standalone
DHParser.py module for easier deployment.
MANIFEST.in
View file @
497da41a
...
...
@@ -2,18 +2,33 @@ include *.py
include *.txt
include *.md
include LICENSE.*
include MANIFEST.*
include *.sh
include *.cfg
include test/run.py
recursive-exclude docs *
recursive-exclude DHParser *.c
recursive-exclude DHParser *.so
include examples/EBNF/EBNF.ebnf
include examples/Tutorial/Lyrik.ebnf
include examples/Tutorial/recompile_grammar.py
include examples/Tutorial/Lyrisches_Intermezzo_IV.xml
include examples/Tutorial/Lyrisches_Intermezzo_IV.txt
recursive-exclude examples/LaTeX *
recursive-exclude examples/CommonMark *
recursive-exclude examples/MLW *
recursive-exclude examples/Arithmetic *
recursive-exclude examples/ArithmeticRightRecursive *
recursive-exclude examples/BibTeX *
recursive-exclude examples/XMLSnippet *
recursive-exclude build *
recursive-exclude DevScripts *
recursive-exclude dist *
recursive-exclude experimental *
recursive-exclude OLDSTUFF *
recursive-exclude external_resources *
exclude .noseids
exclude buildpackages.bat
exclude buildpackages.sh
exclude upload.sh
exclude upload_test.sh
SCRATCH/parse_alt.py
deleted
100644 → 0
View file @
528bd42d
This diff is collapsed.
Click to expand it.
buildpackages.sh
View file @
497da41a
#!/bin/sh
cd
documentation_src
make html
cd
..
python3 setup.py sdist
#
bdist_wheel
python3 setup.py sdist bdist_wheel
documentation/Makefile
→
documentation
_src
/Makefile
View file @
497da41a
...
...
@@ -6,7 +6,8 @@ SPHINXOPTS =
SPHINXBUILD
=
sphinx-build
SPHINXPROJ
=
DHParser
SOURCEDIR
=
.
BUILDDIR
=
_build
BUILDDIR
=
../docs
PYTHONPATH
=
%PYTHONPATH:../
# Put it first so that "make" without argument is like "make help".
help
:
...
...
documentation/ModuleReference.rst
→
documentation
_src
/ModuleReference.rst
View file @
497da41a
File moved
documentation/Presentations/deRSE2019/cuts.txt
→
documentation
_src
/Presentations/deRSE2019/cuts.txt
View file @
497da41a
File moved
documentation/Presentations/deRSE2019/deRSE2019_proposal_EA.md
→
documentation
_src
/Presentations/deRSE2019/deRSE2019_proposal_EA.md
View file @
497da41a
File moved
documentation/ReferenceManual.rst
→
documentation
_src
/ReferenceManual.rst
View file @
497da41a
File moved
documentation/StepByStepGuide.rst
→
documentation
_src
/StepByStepGuide.rst
View file @
497da41a
File moved
documentation/UserGuide.rst
→
documentation
_src
/UserGuide.rst
View file @
497da41a
File moved
documentation/conf.py
→
documentation
_src
/conf.py
View file @
497da41a
File moved
documentation/index.rst
→
documentation
_src
/index.rst
View file @
497da41a
File moved
documentation/make.bat
→
documentation
_src
/make.bat
View file @
497da41a
File moved
documentation/parsing_history.png
→
documentation
_src
/parsing_history.png
View file @
497da41a
File moved
examples/Arithmetic/ArithmeticCompiler.py
View file @
497da41a
...
...
@@ -59,7 +59,7 @@ class ArithmeticGrammar(Grammar):
r
"""Parser for an Arithmetic source file.
"""
expression
=
Forward
()
source_hash__
=
"
a8a1011bf1a9e1204d87031054b831f4
"
source_hash__
=
"
6faf44b68f841558886fbdec4e0e13f7
"
static_analysis_pending__
=
[
True
]
parser_initialization__
=
[
"upon instantiation"
]
resume_rules__
=
{}
...
...
examples/ArithmeticRightRecursive/ArithmeticRightRecursiveCompiler.py
View file @
497da41a
...
...
@@ -63,7 +63,7 @@ class ArithmeticRightRecursiveGrammar(Grammar):
sign
=
Forward
()
tail
=
Forward
()
term
=
Forward
()
source_hash__
=
"5
7a303f28ffb50a84b86e98c71ea2e32
"
source_hash__
=
"5
9dabcef8ed22bb237a3d16649cfd49b
"
static_analysis_pending__
=
[
True
]
parser_initialization__
=
[
"upon instantiation"
]
resume_rules__
=
{}
...
...
examples/ArithmeticSimple/ArithmeticRightRecursiveCompiler.py
View file @
497da41a
...
...
@@ -60,7 +60,7 @@ class ArithmeticRightRecursiveGrammar(Grammar):
"""
expression
=
Forward
()
term
=
Forward
()
source_hash__
=
"
de949295be0b4c5b67cee8aa9cd1a73e
"
source_hash__
=
"
a4c454a8ffa4576989f457a1377636ff
"
static_analysis_pending__
=
[
True
]
parser_initialization__
=
[
"upon instantiation"
]
resume_rules__
=
{}
...
...
examples/ArithmeticSimple/ArithmeticSimpleCompiler.py
View file @
497da41a
...
...
@@ -59,7 +59,7 @@ class ArithmeticSimpleGrammar(Grammar):
r
"""Parser for an ArithmeticSimple source file.
"""
expression
=
Forward
()
source_hash__
=
"
f38b228d19529d9527400ded8f94c63b
"
source_hash__
=
"
1c40730b32be73985d09f105e76bb4c4
"
static_analysis_pending__
=
[
True
]
parser_initialization__
=
[
"upon instantiation"
]
resume_rules__
=
{}
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment