Git Product home page Git Product logo

Comments (5)

hannobraun avatar hannobraun commented on July 23, 2024

edit: Incorporated this comment into the issue description above.


In case anyone wants to look into this:

  • The argument is specified in args.rs.
  • The argument is then used in model.rs.

I think it would make sense to add the logic I described here in model.rs.

from fornjot.

hannobraun avatar hannobraun commented on July 23, 2024

The issue description specifies "falling back to the current behavior", if all else fails. #123 is relevant here, as it would make said current behavior more sane.

from fornjot.

hannobraun avatar hannobraun commented on July 23, 2024

Updated the issue description to make it more clear what can be done to address this issue.

from fornjot.

hannobraun avatar hannobraun commented on July 23, 2024

I'm working on this.

from fornjot.

hannobraun avatar hannobraun commented on July 23, 2024

I've looked into this, and it has turned out to be surprisingly difficult. The problem is, a model looks like any other Cargo package, so determining whether there is a model in the current directory isn't straight-forward. This could be solved by adding a special file to model directories, or special metadata to the Cargo.toml of models, but that's more complication for the user. I don't think that's worth it right now.

How models look is an area that is going to change a lot in the future, with the planned move to WASM (#71) and support for more modeling languages. Once that has settled down somewhat, I think it's worth revisiting this issue. For now, I've added it to the feature wishlist.

from fornjot.

Related Issues (20)

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.