Prolog.NET
Prolog.NET copied to clipboard
Support for Modules in Prolog Grammar
I would like to request support for modules in the Prolog grammar, as per module:functor(x, y, z)
.
This is a really tough one, as this whole compiler/interpreter was done by Richard G. Todd.
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.
Can I get you branch somewhere?
Sure. If you would like, I can email you the source code.
What's your email address?