aboutsummaryrefslogtreecommitdiff
path: root/lllars/llltranspiler
diff options
context:
space:
mode:
authoranyunderstanding2024-12-29 16:13:28 +0100
committeranyunderstanding2024-12-29 16:13:28 +0100
commit19ba9b16c3bc3cb16caff7025b4bfa79dbd2fe17 (patch)
treeb52a0c0c59d209efd5b0c59ebcca51931ababa41 /lllars/llltranspiler
parent047038adf7bdbe1c365f730d4e95c07b7b5b8da8 (diff)
Wow so much doing
Co-authored-by: Marvin Borner <git@marvinborner.de>
Diffstat (limited to 'lllars/llltranspiler')
-rw-r--r--lllars/llltranspiler/build.gradle.kts7
-rw-r--r--lllars/llltranspiler/src/main/kotlin/Input.kt12
2 files changed, 7 insertions, 12 deletions
diff --git a/lllars/llltranspiler/build.gradle.kts b/lllars/llltranspiler/build.gradle.kts
index b8ecb0c..bcb9281 100644
--- a/lllars/llltranspiler/build.gradle.kts
+++ b/lllars/llltranspiler/build.gradle.kts
@@ -1,3 +1,4 @@
+
plugins {
kotlin("jvm") version "2.1.0"
kotlin("plugin.serialization") version "2.1.0"
@@ -6,6 +7,12 @@ plugins {
group = "me.any"
version = "1.0-SNAPSHOT"
+tasks.withType<Jar> {
+ manifest {
+ attributes["Main-Class"] = "me.any.Main"
+ }
+}
+
repositories {
mavenCentral()
}
diff --git a/lllars/llltranspiler/src/main/kotlin/Input.kt b/lllars/llltranspiler/src/main/kotlin/Input.kt
deleted file mode 100644
index 338c37d..0000000
--- a/lllars/llltranspiler/src/main/kotlin/Input.kt
+++ /dev/null
@@ -1,12 +0,0 @@
-package me.any
-
-
-
-
-const val INPUT = """
- {
- "instructions": [{ "comment": " erster kommentar" },{ "comment": " zweite Kommentar" },{ "comment": " dritter Kommentar" },{ "label": "lars" },{ "goto": "lars" },{ "comment": "/sral 0 @lars" },{ "write": { "target": 0, "source": { "access": { "address": 10 } } }},{ "write": { "target": 0, "source": { "binaryOperation": { "a": { "sAddress": { "sAddress": { "address": 10 } } }, "op": "ADD", "b": { "address": 5 } }} }}]
-
-}
-
-""" \ No newline at end of file