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 Meriv integration. #6

Closed
Sintrastes opened this issue Mar 15, 2022 · 2 comments
Closed

Add Meriv integration. #6

Sintrastes opened this issue Mar 15, 2022 · 2 comments
Labels
Feature Significant new feature to be implemented

Comments

@Sintrastes
Copy link
Owner

In addition to simply being able to parse sentences with regard to a schema, the user should be able to make queries via the parsed logical forms of sentences via meriv-core.

@Sintrastes
Copy link
Owner Author

Currently montague-reflex is building with meriv-core as a dependency, so long as the right ghc version is chosen.

@Sintrastes Sintrastes added the Feature Significant new feature to be implemented label Apr 23, 2022
@Sintrastes
Copy link
Owner Author

Currently it seems like building montague-reflex with a true dependency on meriv-core is problematic unless we use GHC 8.10 (at least if we want to use the query API?).

For now, at least to sketch out how the logic programming functionality will work, I am making use of pure-prolog. However, in the future we might either move to using meriv-core -- or potentially something based off of the original bli-prolog prototype, perhaps adapted with a few of the things I learned form meriv-core.

I think we'll definitely want to borrow at the very least some of the time interval code from bli-prolog.

The status of using data types in bedelibry I think is a bit up in the air at this moment. While the meriv-core approach is nice as it doesn't duplicate a lot of code (we can make use of Haskell's functional features), such an approach is probably harder to embed in the targets we care about (e.x. ghcjs, cross compilation to arm).

And it is un-clear how much work it would take to adapt the approach of bli-prolog (e.x. using polymorphic records/variant), as with the current state of that prototype, a lot of things are broken (e.x. type inference of variables for basic rules!).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Significant new feature to be implemented
Projects
None yet
Development

No branches or pull requests

1 participant