Open Krysztal112233 opened 8 months ago
Hello! I would very much like to help out here, but I am a complete noob when it comes to both modding and loom. Although I would say I am decent at scala, and I would very much like to use it for the same reason as you: the type system. Have you come up with a fix for this?
Hello! I would very much like to help out here, but I am a complete noob when it comes to both modding and loom. Although I would say I am decent at scala, and I would very much like to use it for the same reason as you: the type system. Have you come up with a fix for this?
I have managed to run a mod made with scala now. The mod can be found here: https://github.com/lego-eden/fabricmod-scala-template
Hello! I would very much like to help out here, but I am a complete noob when it comes to both modding and loom. Although I would say I am decent at scala, and I would very much like to use it for the same reason as you: the type system. Have you come up with a fix for this?
I think it's probably insoluble.
As you can see, I created a fabric-language-scala
fork called krysztal-language-scala
and rewrote the loading part of the code to make it possible to properly use Scala3 as the language for writing mods.
Many thanks to the main maintainers of fabricmc, they have worked very hard. So I've decided that I'm going to ease their burden by maintaining a krysztal-language-scala
myself. So if you have any problems with kls
please go to the kls
repository and I will try to solve them for you!
Context
I was trying to fix
fabric-language-scala
when I didn't manage to run up my code at the last stage, it prompted me that I couldn't find my main entry, which I found strange. As I was adding breakpoints to the entry point I noticed that it seems that fabric is not adding the results of my scala build to the loader? But this seems to be a loom issue?Off-topic, I want to fix
fabric-language-scala
because I need to use the high-level mathematical abstractions provided by Scala's powerful type system, so I have to fix it, and I'd even like to help maintainfabric-language-scala
if I can.Also linked to fabric-language-scala's 24/23 The
fabric-language-scala
fork Krysztal112233/fabric-language-scalaBuild Script
Here's my
build.gradle
.