Code Monkey home page Code Monkey logo

Comments (8)

DavidGregory084 avatar DavidGregory084 commented on August 14, 2024

This is really interesting @nafg as it presents the possibility of supporting all kinds of patch versions of Scala and prevents us from being able to pass incorrect options!

I will look into how this might fit into the plugin.

from sbt-tpolecat.

nafg avatar nafg commented on August 14, 2024

Hi, any update?

from sbt-tpolecat.

DavidGregory084 avatar DavidGregory084 commented on August 14, 2024

Sorry @nafg I have been swamped on UK transit projects for ~18 months and I am just starting to emerge from the wreckage 😆

I've started a more detailed discussion about this in #49

from sbt-tpolecat.

DavidGregory084 avatar DavidGregory084 commented on August 14, 2024

Thanks for this ticket @nafg but in the end I went for something a bit coarser-grained in 0.2.0 in ScalacOptions.
The reason is that the way that sbt-tpolecat works is slightly different to the API offered by scalac-options - the user selects all of the options that they want to enable without having to think about which Scala version they are using, and sbt-tpolecat does its best to filter out the ones that will work for their Scala compiler version, whereas scalac-options kind of requires the user to understand which options are available in each version. Hopefully that makes sense!

from sbt-tpolecat.

nafg avatar nafg commented on August 14, 2024

But don't you think there would be any benefit to combining forces somehow?

from sbt-tpolecat.

DavidGregory084 avatar DavidGregory084 commented on August 14, 2024

Hi @nafg sorry for the long delay but this has just popped into my head again!

@satorg, @armanbilge and I have been investigating extracting sbt-tpolecat's logic into a library, and this reminded me of your efforts to generate a DSL for scalac-options.

@satorg has been working on some ideas in typelevel/scalac-options#18 and I wondered if you have some thoughts too?

from sbt-tpolecat.

nafg avatar nafg commented on August 14, 2024

My thoughts are that the high level API can sit on top of the auto-generated low-level code

from sbt-tpolecat.

nafg avatar nafg commented on August 14, 2024

Would you (or anyone) like to have a voice or video chat?

from sbt-tpolecat.

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.