Skip to content

Commit

Permalink
Add Spoofax dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Virtlink committed Jul 18, 2024
1 parent aae98ff commit 047dc73
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions depman/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,9 @@ spoofax3-tooling-eclipsebundle = { module = "org.metaborg:tooling.e
spoofax3-transform-pie = { module = "org.metaborg:transform.pie", version.ref = "spoofax3" }


# Dynsem (https://github.com/metaborg/dynsem)
spoofax2-dynsem-lang = { module = "org.metaborg:dynsem", version.ref = "spoofax2" }

# ESV (https://github.com/metaborg/esv)
esv-lang = { module = "org.metaborg.devenv:org.metaborg.meta.lang.esv", version.ref = "esv" }
spoofax2-esv-lang = { module = "org.metaborg:org.metaborg.meta.lang.esv", version.ref = "spoofax2" } # Use Spoofax 2 language for bootstrapping
Expand Down Expand Up @@ -289,6 +292,7 @@ nabl2-runtime = { module = "org.metaborg.devenv:or
nabl2-shared = { module = "org.metaborg.devenv:org.metaborg.meta.nabl2.shared", version.ref = "nabl" }
nabl2-solver = { module = "org.metaborg.devenv:nabl2.solver", version.ref = "nabl" }
nabl2-terms = { module = "org.metaborg.devenv:nabl2.terms", version.ref = "nabl" }
spoofax2-nabl2-extdynsem = { module = "org.metaborg:org.metaborg.meta.nabl2.ext.dynsem", version.ref = "spoofax2" }
statix-generator = { module = "org.metaborg.devenv:statix.generator", version.ref = "nabl" }
statix-lang = { module = "org.metaborg.devenv:statix.lang", version.ref = "nabl" }
statix-runtime = { module = "org.metaborg.devenv:statix.runtime", version.ref = "nabl" }
Expand Down
4 changes: 4 additions & 0 deletions depman/platform-latest/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ dependencies {
api(libs.spoofax3.tooling.eclipsebundle) { version { require("latest.release") } }
api(libs.spoofax3.transform.pie) { version { require("latest.release") } }

// Dynsem (https://github.com/metaborg/dynsem)
api(libs.spoofax2.dynsem.lang) { version { require("latest.release") } }

// ESV (https://github.com/metaborg/esv)
api(libs.esv.lang) { version { require("latest.release") } }
api(libs.spoofax2.esv.lang) { version { require("latest.release") } }
Expand Down Expand Up @@ -165,6 +168,7 @@ dependencies {
api(libs.nabl2.shared) { version { require("latest.release") } }
api(libs.nabl2.solver) { version { require("latest.release") } }
api(libs.nabl2.terms) { version { require("latest.release") } }
api(libs.spoofax2.nabl2.extdynsem) { version { require("latest.release") } }
api(libs.statix.generator) { version { require("latest.release") } }
api(libs.statix.lang) { version { require("latest.release") } }
api(libs.statix.runtime) { version { require("latest.release") } }
Expand Down
4 changes: 4 additions & 0 deletions depman/platform-snapshot/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ dependencies {
api(libs.spoofax3.tooling.eclipsebundle) { version { require("latest.integration") } }
api(libs.spoofax3.transform.pie) { version { require("latest.integration") } }

// Dynsem (https://github.com/metaborg/dynsem)
api(libs.spoofax2.dynsem.lang) { version { require("latest.integration") } }

// ESV (https://github.com/metaborg/esv)
api(libs.esv.lang) { version { require("latest.integration") } }
api(libs.spoofax2.esv.lang) { version { require("latest.integration") } }
Expand Down Expand Up @@ -165,6 +168,7 @@ dependencies {
api(libs.nabl2.shared) { version { require("latest.integration") } }
api(libs.nabl2.solver) { version { require("latest.integration") } }
api(libs.nabl2.terms) { version { require("latest.integration") } }
api(libs.spoofax2.nabl2.extdynsem) { version { require("latest.integration") } }
api(libs.statix.generator) { version { require("latest.integration") } }
api(libs.statix.lang) { version { require("latest.integration") } }
api(libs.statix.runtime) { version { require("latest.integration") } }
Expand Down
4 changes: 4 additions & 0 deletions depman/platform/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ dependencies {
api(libs.spoofax3.tooling.eclipsebundle)
api(libs.spoofax3.transform.pie)

// Dynsem (https://github.com/metaborg/dynsem)
api(libs.spoofax2.dynsem.lang)

// ESV (https://github.com/metaborg/esv)
api(libs.esv.lang)
api(libs.spoofax2.esv.lang)
Expand Down Expand Up @@ -165,6 +168,7 @@ dependencies {
api(libs.nabl2.shared)
api(libs.nabl2.solver)
api(libs.nabl2.terms)
api(libs.spoofax2.nabl2.extdynsem)
api(libs.statix.generator)
api(libs.statix.lang)
api(libs.statix.runtime)
Expand Down
3 changes: 3 additions & 0 deletions example/java-example/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ dependencies {
api(libs.spoofax3.transform.pie)


// Dynsem (https://github.com/metaborg/dynsem)
// api(libs.spoofax2.dynsem.lang) // TODO: spoofax-language component

// ESV (https://github.com/metaborg/esv)
// api(libs.esv.lang) // TODO: spoofax-language component
Expand Down Expand Up @@ -189,6 +191,7 @@ dependencies {
// api(libs.nabl2.shared) // TODO: spoofax-language component
api(libs.nabl2.solver)
api(libs.nabl2.terms)
api(libs.spoofax2.nabl2.extdynsem)
api(libs.statix.generator)
// api(libs.statix.lang) // TODO: spoofax-language component
// api(libs.statix.runtime) // TODO: spoofax-language component
Expand Down

0 comments on commit 047dc73

Please sign in to comment.