Code Monkey home page Code Monkey logo

Comments (2)

oddlama avatar oddlama commented on June 21, 2024 2

Expressions can now be evaluated if they contain < <= > or >= with integer compatible symbols. The satisfier cannot automatically resolve these, but usually they are static assertions for e.g. compiler versions that shouldn't need to be changed anyway. Your original expression should work without changes now. :)

from autokernel.

oddlama avatar oddlama commented on June 21, 2024 1

True, that's not helpful. I've added a little more information for these cases, and I'm working on adding readable names (done). In this particular case you seem to be running into a less-than expression somewhere in the dependency tree. Comparisons are rare and unfortunately kind of impossible to solve automatically compared to boolean algebra, which is why they are currently unsupported. Due to the nature of these symbols there just is no heuristic that I could use to determine a good value since they often include hidden implications (imagine SOME_ALIGNMENT > 0) that we cannot gain information about in code.

It probably would be a good idea to parse them anyhow and just refuse solving them if they are unmet. That way it would at least be possible to set them manually before calling satisfy. I'll look into it tomorrow.

from autokernel.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.