Code Monkey home page Code Monkey logo

Comments (7)

peter-empen avatar peter-empen commented on June 29, 2024 2

FYI I'm working on "2. Drop Scala 2.12 compatibility" now.

from scala-graph.

peter-empen avatar peter-empen commented on June 29, 2024 1

It would be great if you found time to work on the unfinished parts. Some suggestions:

  1. Just care about core first.
  2. Drop Scala 2.12 compatibility by also merging back 2.13-specific folders and dropping compatibility helper types.
  3. Rename State.scala- back to State.scala and make it compile. Refactor the accompanying test. To test State in isolation may require some more sophisticated test setup, though.
  4. Rename GraphTraversal.scala- back to GraphTraversal.scala and make it compile. For the missing pieces try using ??? temporarily.
  5. Continue with GraphTraversalImpl.scala- and TraverserImpl.scala-.
  6. Once traversing sources compile, rename accompanying test sources back to Scala source files and refactor tests.

At this point you are almost done and, having bocome a Graph4Scala expert, you are able to continue on your own. 😄

from scala-graph.

peter-empen avatar peter-empen commented on June 29, 2024

Unfortunately, core is half done. I renamed test source files because they were in way when refactoring step by step: https://github.com/scala-graph/scala-graph/tree/2.x/core/src/test/scala/scalax/collection. Notably the traversing part is still missing.

from scala-graph.

nightscape avatar nightscape commented on June 29, 2024

@peter-empen if I find some time to look into this, are there any pointers you can give on how to proceed with traversing or how you would like the API / implementation to look like?

from scala-graph.

nightscape avatar nightscape commented on June 29, 2024

Hi @peter-empen,

I gave this a shot yesterday. Unfortunately, State can't be made to compile without the other classes because it has a this: GraphTraversalImpl.
I went down the rabit hole and renamed the other required .scala- files to .scala, but now I've got ~570 compile errors, each of which currently takes me ~10 minutes to understand and fix.
It would probably get better with time, but still exceed the time I can invest by far...
Not sure how to proceed here...

from scala-graph.

peter-empen avatar peter-empen commented on June 29, 2024

Hi Martin,
Thank you for looking into this. Yeah, it's a real challenge. Sorry, I should have warned you before 😄. Let me give it a try in the following days...

from scala-graph.

peter-empen avatar peter-empen commented on June 29, 2024

I re-added a bunch of functionality in 53e0a65 but there is still much to do. From the above points, # 6 is missing but that's not all by far...

from scala-graph.

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.