You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Variable A and atom 'A' indistinguishable in JSON results. #3
You can see that numbers are working correctly (it returns atom 2 as "2" but number 2 as 2). But with variables I do not see here any way to distinguish them, and I'm not sure what is happening to the _A, it looks like it may be becoming simply "_". I would expect this to read something like:
My solution was that I wrote a wrapper that gives me the information needed on the Prolog side to piece the answer (including variables) together on the other side. It works for basic queries haven't tested on much advanced. But I do processing on the other side in Perl which is accessing JavaPengine using the Inline::Java module, so pretty soon I should have a much quicker Perl -> Prolog interface working thanks to this work, which is a big help with my projects. Thank you! If you are interested I can upload the wrapper.
Activity
aindilis commentedon Aug 9, 2020
My solution was that I wrote a wrapper that gives me the information needed on the Prolog side to piece the answer (including variables) together on the other side. It works for basic queries haven't tested on much advanced. But I do processing on the other side in Perl which is accessing JavaPengine using the Inline::Java module, so pretty soon I should have a much quicker Perl -> Prolog interface working thanks to this work, which is a big help with my projects. Thank you! If you are interested I can upload the wrapper.
Anniepoo commentedon Aug 9, 2020
if you publish the wrapper I'm sure it'd be useful for somebody. Let me know, I'll announce it.