Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

import error,ImportError: cannot import name bisonToPython #2

Closed
arshpreetsingh opened this issue Aug 10, 2015 · 5 comments
Closed

Comments

@arshpreetsingh
Copy link

When I run bison2python from Linux terminal it returns the error:
ImportError: cannot import name bisonToPython

Same error is also produced when I use following command in the Python shell

from bison import bisonToPython

@smvv
Copy link
Owner

smvv commented Aug 10, 2015

That's because bison2python is currently not supported. When we rewrote the implementation of pybison, we did not port the bison2python conversion tool.

We converted the bison grammar to Python code manually and over time (while developing TRS), so there was no need to support that tool. But a pull request is welcome btw!

@arshpreetsingh
Copy link
Author

I saw there are required file present in the /src/python/convert.py, Please Guide me, I would love to Contribute!

@pkociepka
Copy link

Hello. Are you going to support bison2python script? It could be very useful for me. If there is any way to fix it, let me know.

@thisiscam
Copy link
Collaborator

Hi, I know it's kind of late, but I have created a PR for this
#4

@smvv
Copy link
Owner

smvv commented Jun 14, 2016

I've merged the PR. This is resolved, right? Feel free to re-open if it is not.

@smvv smvv closed this as completed Jun 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants