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

Add parse_data method #9

Closed
rockdoc opened this issue Nov 23, 2012 · 0 comments
Closed

Add parse_data method #9

rockdoc opened this issue Nov 23, 2012 · 0 comments
Assignees

Comments

@rockdoc
Copy link
Owner

rockdoc commented Nov 23, 2012

Add a parse_data() method to the CDLParser base class so that client code can pass in CDL input text as a plain string. The existing parse_file() method can then simply call the proposed new method having read in the text from the CDL file.

It would be nice to support general-purpose stream input, but I don't think the underlying PLY parser supports that approach - need to check this.

@ghost ghost assigned rockdoc Nov 23, 2012
rockdoc pushed a commit that referenced this issue Nov 25, 2012
@rockdoc rockdoc closed this as completed Nov 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant