Skip to content

Issue with datalog under advanced compilation #30

@robert-stuttaford

Description

@robert-stuttaford

I built Radiant, a Datascript sandbox, recently. In it, I have found an issue with Datalog under advanced compilation.

This page hosts the :optimizations :none version of Radiant:

http://www.stuttaford.me/radiant/

As you can see, the datalog query runs and produces a result table.

This page hosts the :optimizations :advanced version of Radiant:

http://www.stuttaford.me/radiant-advanced/

You can see that I have printed out the parsed query, the full database, and the raw result from the datalog query above the result table.

The results do not match that of the first link. Looking at the results, for some reason, all the e and v values are missing.

You can visit the "Datoms" section to see that the datoms function is working as expected.

How do I go about debugging this?

I have already ruled out the possibility of externs not being used. They are.

Thank you for your time :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions