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

Support for Modules in Prolog Grammar #19

Open
AdamSobieski opened this issue Apr 15, 2019 · 5 comments
Open

Support for Modules in Prolog Grammar #19

AdamSobieski opened this issue Apr 15, 2019 · 5 comments

Comments

@AdamSobieski
Copy link

I would like to request support for modules in the Prolog grammar, as per module:functor(x, y, z).

@Slesa
Copy link
Owner

Slesa commented Apr 15, 2019

This is a really tough one, as this whole compiler/interpreter was done by Richard G. Todd.

@AdamSobieski
Copy link
Author

I modified the grammar and some of the Prolog.Code.* classes (e.g. adding a Module property to CodeFunctor). So far so good. The parser appears to be working for the indicated scenarios. Without unit tests for the grammar and parser, however, I have to continue to explore whether the changes impacted any other grammar or parser functionality.

@Slesa
Copy link
Owner

Slesa commented Apr 18, 2019

Can I get you branch somewhere?

@AdamSobieski
Copy link
Author

Sure. If you would like, I can email you the source code.

@AdamSobieski
Copy link
Author

What's your email address?

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

2 participants