Skip to content

[Blogware]: optimising Scala config using Genetic Algorithms with Scala 3 and Scala.js

Notifications You must be signed in to change notification settings

indoorvivants/scalafmt-genetic-optimiser

Repository files navigation

Scalafmt config optimiser with Genetic Algorithms

Live demo

This is an accompanying repo to my blog post.

The genetic algorithms implementation is in a separate library called Genovese.

You will need to have NPM and Scala-CLI installed if you want to run it locally.

Run: make run

Docker: docker build . -t scalafmt-genetic-optimiser

Development

  • Terminal 1: cd frontend && npm run dev
  • Terminal 2: cd backend && scala-cli run -w . --restart

Happy coding!