Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

no grammar #4

Open
rwst opened this issue Dec 19, 2020 · 2 comments
Open

no grammar #4

rwst opened this issue Dec 19, 2020 · 2 comments

Comments

@rwst
Copy link

rwst commented Dec 19, 2020

ralf@ark:~/wikidata/grammar-python-antlr/scripts> . genpython.sh
cp: cannot stat '../../grammar/ShExDoc.g4': No such file or directory
error(7):  cannot find or open file: ShExDoc.g4
rm: cannot remove 'ShExDoc.g4': No such file or directory

Why is this script reaching outside the repo directory? Where do I get ShExDoc.g4 ?

@rwst
Copy link
Author

rwst commented Dec 19, 2020

I see. I suggest to add a remark to the README and to make the g4 file path a parameter of genpython.sh. I'll do a pull request for each.

@ericprud
Copy link
Collaborator

Our grand plan is/was to make grammar-python-antlr a sub-repo of shexSpec/grammar. In the cases where it was checked out automagically by git clone --recursive, ../ShExDoc.g4 might be a good default.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants