Ask coding questions

← Back to all posts
chaos3quals (0)

Is Scala on the roadmap? If so, approximately when?

theangryepicbanana (835)

You can already use Scala using a language called polygott. Just add your scala file and it should work

chaos3quals (0)

@theangryepicbanana First, tysvm for taking the time to answer my question. I do really appreciate it, and how quickly you got to it.

As I have never used this site before, it would be far more helpful if you either sent me instructions with screenshots, or pointed me at a (Youtube preferably) video. Otherwise, my imagination has me thinking I'm about to go on a whole bunch of technical tangents, loop back here multiple times trying to find my way, and then finally achieving my desired effect. And that has me basically stop and move on as my curiosity motivation level (which is measured in 90-180 seconds) isn't high enough to overcome my imagined future technical tangents frustration (which is apprehensively projected to be measured in 1-2 hours).

And that is compounded by my seeing many other languages far less popular than Scala listed with explicit support. So, is there a plan to explicitly support Scala on a roadmap somewhere?

Again, tysvm for your very rapid response. I do really appreciate it.

chaos3quals (0)

@theangryepicbanana Okay. I just clicked on Polygott, created a new file called "PositiveInt.scala", wrote "case class PositiveInt(value: Int)" in the file, and pressed "Run". That gave me an error "Unknown Language:".

So, I'm on exactly the technical tangents which caused me to be apprehensive about even starting to try out this platform. Please see prior comment for more elaboration.

theangryepicbanana (835)

@chaos3quals ok so in the Makefile, replace run project with scalac PositiveInt.scala -d PositiveInt.jar followed by scala -jar PositiveInt.jar. I think that should work