Skip to content
This repository has been archived by the owner on Jul 14, 2024. It is now read-only.

Commit

Permalink
Add Spoofax 3/PIE dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Virtlink committed Jul 11, 2024
1 parent f6147dc commit 67fb2cf
Show file tree
Hide file tree
Showing 4 changed files with 258 additions and 18 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
## [Unreleased]


## [0.4.2] - 2024-07-11
- Add Spoofax 3/PIE dependencies.


## [0.4.1] - 2024-07-11
- Add Spoofax 2 dependencies.

Expand Down
92 changes: 85 additions & 7 deletions example/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,95 @@ dependencies {
api(libs.metaborg.pie.task.java)
api(libs.metaborg.pie.task.java.ecj)
api(libs.metaborg.pie.taskdefs.guice)
// TODO: spoofax-language component
//api(libs.spoofax3.pie.lang)
// api(libs.spoofax3.pie.lang) // TODO: spoofax-language component
api(libs.metaborg.pie.lang.runtime.java)
api(libs.metaborg.pie.lang.runtime.kotlin)
api(libs.metaborg.pie.lang.test)

// Spoofax 3
api(libs.spoofax3.lwb.compiler)
api(libs.spoofax3.lwb.compiler.dagger)
api(libs.spoofax3.lwb.compiler.gradle)
api(libs.spoofax3.lwb.dynamicloading)
// Spoofax 3/PIE
api(libs.spoofax3.spoofax.common)
api(libs.spoofax3.aterm.common)
api(libs.spoofax3.jsglr.common)
api(libs.spoofax3.jsglr.pie)
api(libs.spoofax3.jsglr1.common)
api(libs.spoofax3.jsglr2.common)
api(libs.spoofax3.esv.common)
api(libs.spoofax3.stratego.common)
api(libs.spoofax3.stratego.pie)
api(libs.spoofax3.constraint.common)
api(libs.spoofax3.constraint.pie)
api(libs.spoofax3.nabl2.common)
api(libs.spoofax3.statix.codecompletion)
api(libs.spoofax3.statix.codecompletion.pie)
api(libs.spoofax3.statix.common)
api(libs.spoofax3.statix.pie)
api(libs.spoofax3.statix.multilang)
// api(libs.spoofax3.statix.multilang.eclipse) // TODO: Needs org.eclipse.core.runtime
api(libs.spoofax3.spt.api)
api(libs.spoofax3.tego.runtime)
api(libs.spoofax3.spoofax2.common)
// api(libs.spoofax3.tooling.eclipsebundle) // TODO: Needs org.eclipse.core.runtime
api(libs.spoofax3.transform.pie)
api(libs.spoofax3.spoofax.core)
api(libs.spoofax3.spoofax.resource)
api(libs.spoofax3.spoofax.test)
api(libs.spoofax3.spoofax.cli)
api(libs.spoofax3.spoofax.intellij)
// api(libs.spoofax3.spoofax.eclipse) // TODO: Needs org.eclipse.core.runtime
api(libs.spoofax3.spoofax.compiler)
api(libs.spoofax3.spoofax.compiler.spoofax2)
api(libs.spoofax3.spoofax.compiler.spoofax2.dagger)
api(libs.spoofax3.spoofax.compiler.interfaces)
api(libs.spoofax3.spoofax.compiler.gradle)
api(libs.spoofax3.spoofax.compiler.gradle.spoofax2)
// api(libs.spoofax3.spoofax.compiler.eclipsebundle) // TODO: Needs org.eclipse.core.runtime
api(libs.spoofax3.spoofax.lwb.compiler)
api(libs.spoofax3.spoofax.lwb.compiler.gradle)
api(libs.spoofax3.spoofax.lwb.dynamicloading)
api(libs.spoofax3.cfg)
// api(libs.spoofax3.cfg.cli) // Not released
// api(libs.spoofax3.cfg.eclipse) // Not released
// api(libs.spoofax3.cfg.intellij) // Not released
// api(libs.spoofax3.cfg.spoofax2) // TODO: spoofax-language component
api(libs.spoofax3.dynamix)
// api(libs.spoofax3.dynamix.cli) // Not released
// api(libs.spoofax3.dynamix.eclipse) // Not released
// api(libs.spoofax3.dynamix.intellij) // Not released
// api(libs.spoofax3.dynamix.spoofax2) // TODO: spoofax-language component
api(libs.spoofax3.sdf3extdynamix)
// api(libs.spoofax3.sdf3extdynamix.eclipse) // Not released
// api(libs.spoofax3.sdf3extdynamix.spoofax2) // TODO: spoofax-language component
api(libs.spoofax3.sdf3)
// api(libs.spoofax3.sdf3.cli) // Not released
// api(libs.spoofax3.sdf3.eclipse) // Not released
// api(libs.spoofax3.sdf3.intellij) // Not released
api(libs.spoofax3.stratego)
// api(libs.spoofax3.stratego.cli) // Not released
// api(libs.spoofax3.stratego.eclipse) // Not released
// api(libs.spoofax3.stratego.intellij) // Not released
api(libs.spoofax3.esv)
// api(libs.spoofax3.esv.cli) // Not released
// api(libs.spoofax3.esv.eclipse) // Not released
// api(libs.spoofax3.esv.intellij) // Not released
api(libs.spoofax3.statix)
// api(libs.spoofax3.statix.cli) // Not released
// api(libs.spoofax3.statix.eclipse) // Not released
// api(libs.spoofax3.statix.intellij) // Not released
api(libs.spoofax3.sdf3extstatix)
// api(libs.spoofax3.sdf3extstatix.eclipse) // Not released
api(libs.spoofax3.spt)
api(libs.spoofax3.spt.dynamicloading)
// api(libs.spoofax3.spt.cli) // Not released
// api(libs.spoofax3.spt.eclipse) // Not released
// api(libs.spoofax3.spt.intellij) // Not released
api(libs.spoofax3.libspoofax2)
// api(libs.spoofax3.libspoofax2.eclipse) // Not released
api(libs.spoofax3.libstatix)
// api(libs.spoofax3.libstatix.eclipse) // Not released
api(libs.spoofax3.strategolib)
// api(libs.spoofax3.strategolib.eclipse) // TODO: Needs org.eclipse.core.runtime
api(libs.spoofax3.gpp)
// api(libs.spoofax3.gpp.eclipse) // TODO: Needs org.eclipse.core.runtime

// Stratego XT
api(libs.strategoxt.strj)
Expand Down
91 changes: 85 additions & 6 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ metaborg-common = "0.11.0" # https://github.com
metaborg-log = "0.5.5" # https://github.com/metaborg/log/
metaborg-pie = "0.21.0" # https://github.com/metaborg/pie/
strategoxt = "0.1.36" # https://github.com/metaborg/strategoxt/
spoofax3 = "0.8.0" # https://github.com/metaborg/spoofax-pie
spoofax3 = "0.22.1" # https://github.com/metaborg/spoofax-pie
spoofax2 = "2.6.0-SNAPSHOT" # https://spoofax.dev/ (https://github.com/metaborg/spoofax-releng)

# Kotlin
Expand Down Expand Up @@ -138,11 +138,90 @@ metaborg-pie-lang-runtime-java = { module = "org.metaborg:pie.lang.runtime.java
metaborg-pie-lang-runtime-kotlin= { module = "org.metaborg:pie.lang.runtime.kotlin", version.ref = "metaborg-pie" }
metaborg-pie-lang-test = { module = "org.metaborg:pie.lang.test", version.ref = "metaborg-pie" }

# Spoofax 3
spoofax3-lwb-compiler = { module = "org.metaborg:spoofax.lwb.compiler", version.ref = "spoofax3" }
spoofax3-lwb-compiler-dagger = { module = "org.metaborg:spoofax.lwb.compiler.dagger", version.ref = "spoofax3" }
spoofax3-lwb-compiler-gradle = { module = "org.metaborg:spoofax.lwb.compiler.gradle", version.ref = "spoofax3" }
spoofax3-lwb-dynamicloading = { module = "org.metaborg:spoofax.lwb.dynamicloading", version.ref = "spoofax3" }
# Spoofax 3/PIE
spoofax3-spoofax-common = { module = "org.metaborg:spoofax.common", version.ref = "spoofax3" }
spoofax3-aterm-common = { module = "org.metaborg:aterm.common", version.ref = "spoofax3" }
spoofax3-jsglr-common = { module = "org.metaborg:jsglr.common", version.ref = "spoofax3" }
spoofax3-jsglr-pie = { module = "org.metaborg:jsglr.pie", version.ref = "spoofax3" }
spoofax3-jsglr1-common = { module = "org.metaborg:jsglr1.common", version.ref = "spoofax3" }
spoofax3-jsglr2-common = { module = "org.metaborg:jsglr2.common", version.ref = "spoofax3" }
spoofax3-esv-common = { module = "org.metaborg:esv.common", version.ref = "spoofax3" }
spoofax3-stratego-common = { module = "org.metaborg:stratego.common", version.ref = "spoofax3" }
spoofax3-stratego-pie = { module = "org.metaborg:stratego.pie", version.ref = "spoofax3" }
spoofax3-constraint-common = { module = "org.metaborg:constraint.common", version.ref = "spoofax3" }
spoofax3-constraint-pie = { module = "org.metaborg:constraint.pie", version.ref = "spoofax3" }
spoofax3-nabl2-common = { module = "org.metaborg:nabl2.common", version.ref = "spoofax3" }
spoofax3-statix-codecompletion = { module = "org.metaborg:statix.codecompletion", version.ref = "spoofax3" }
spoofax3-statix-codecompletion-pie = { module = "org.metaborg:statix.codecompletion.pie", version.ref = "spoofax3" }
spoofax3-statix-common = { module = "org.metaborg:statix.common", version.ref = "spoofax3" }
spoofax3-statix-pie = { module = "org.metaborg:statix.pie", version.ref = "spoofax3" }
spoofax3-statix-multilang = { module = "org.metaborg:statix.multilang", version.ref = "spoofax3" }
spoofax3-statix-multilang-eclipse = { module = "org.metaborg:statix.multilang.eclipse", version.ref = "spoofax3" }
spoofax3-spt-api = { module = "org.metaborg:spt.api", version.ref = "spoofax3" }
spoofax3-tego-runtime = { module = "org.metaborg:tego.runtime", version.ref = "spoofax3" }
spoofax3-spoofax2-common = { module = "org.metaborg:spoofax2.common", version.ref = "spoofax3" }
spoofax3-tooling-eclipsebundle = { module = "org.metaborg:tooling.eclipsebundle", version.ref = "spoofax3" }
spoofax3-transform-pie = { module = "org.metaborg:transform.pie", version.ref = "spoofax3" }
spoofax3-spoofax-core = { module = "org.metaborg:spoofax.core", version.ref = "spoofax3" }
spoofax3-spoofax-resource = { module = "org.metaborg:spoofax.resource", version.ref = "spoofax3" }
spoofax3-spoofax-test = { module = "org.metaborg:spoofax.test", version.ref = "spoofax3" }
spoofax3-spoofax-cli = { module = "org.metaborg:spoofax.cli", version.ref = "spoofax3" }
spoofax3-spoofax-intellij = { module = "org.metaborg:spoofax.intellij", version.ref = "spoofax3" }
spoofax3-spoofax-eclipse = { module = "org.metaborg:spoofax.eclipse", version.ref = "spoofax3" }
spoofax3-spoofax-compiler = { module = "org.metaborg:spoofax.compiler", version.ref = "spoofax3" }
spoofax3-spoofax-compiler-spoofax2 = { module = "org.metaborg:spoofax.compiler.spoofax2", version.ref = "spoofax3" }
spoofax3-spoofax-compiler-spoofax2-dagger = { module = "org.metaborg:spoofax.compiler.spoofax2.dagger", version.ref = "spoofax3" }
spoofax3-spoofax-compiler-interfaces = { module = "org.metaborg:spoofax.compiler.interfaces", version.ref = "spoofax3" }
spoofax3-spoofax-compiler-gradle = { module = "org.metaborg:spoofax.compiler.gradle", version.ref = "spoofax3" }
spoofax3-spoofax-compiler-gradle-spoofax2 = { module = "org.metaborg:spoofax.compiler.gradle.spoofax2", version.ref = "spoofax3" }
spoofax3-spoofax-compiler-eclipsebundle = { module = "org.metaborg:spoofax.compiler.eclipsebundle", version.ref = "spoofax3" }
spoofax3-spoofax-lwb-compiler = { module = "org.metaborg:spoofax.lwb.compiler", version.ref = "spoofax3" }
spoofax3-spoofax-lwb-compiler-gradle = { module = "org.metaborg:spoofax.lwb.compiler.gradle", version.ref = "spoofax3" }
spoofax3-spoofax-lwb-dynamicloading = { module = "org.metaborg:spoofax.lwb.dynamicloading", version.ref = "spoofax3" }
spoofax3-cfg = { module = "org.metaborg:cfg", version.ref = "spoofax3" }
#spoofax3-cfg-cli = { module = "org.metaborg:cfg.cli", version.ref = "spoofax3" } # Not published
#spoofax3-cfg-eclipse = { module = "org.metaborg:cfg.eclipse", version.ref = "spoofax3" } # Not published
#spoofax3-cfg-intellij = { module = "org.metaborg:cfg.intellij", version.ref = "spoofax3" } # Not published
spoofax3-cfg-spoofax2 = { module = "org.metaborg:cfg.spoofax2", version.ref = "spoofax3" }
spoofax3-dynamix = { module = "org.metaborg:dynamix", version.ref = "spoofax3" }
#spoofax3-dynamix-cli = { module = "org.metaborg:dynamix.cli", version.ref = "spoofax3" } # Not published
#spoofax3-dynamix-eclipse = { module = "org.metaborg:dynamix.eclipse", version.ref = "spoofax3" } # Not published
#spoofax3-dynamix-intellij = { module = "org.metaborg:dynamix.intellij", version.ref = "spoofax3" } # Not published
spoofax3-dynamix-spoofax2 = { module = "org.metaborg:dynamix.spoofax2", version.ref = "spoofax3" }
spoofax3-sdf3extdynamix = { module = "org.metaborg:sdf3_ext_dynamix", version.ref = "spoofax3" }
#spoofax3-sdf3extdynamix-eclipse = { module = "org.metaborg:sdf3_ext_dynamix.eclipse", version.ref = "spoofax3" } # Not published
spoofax3-sdf3extdynamix-spoofax2 = { module = "org.metaborg:sdf3_ext_dynamix.spoofax2", version.ref = "spoofax3" }
spoofax3-sdf3 = { module = "org.metaborg:sdf3", version.ref = "spoofax3" }
#spoofax3-sdf3-cli = { module = "org.metaborg:sdf3.cli", version.ref = "spoofax3" } # Not published
#spoofax3-sdf3-eclipse = { module = "org.metaborg:sdf3.eclipse", version.ref = "spoofax3" } # Not published
#spoofax3-sdf3-intellij = { module = "org.metaborg:sdf3.intellij", version.ref = "spoofax3" } # Not published
spoofax3-stratego = { module = "org.metaborg:stratego", version.ref = "spoofax3" }
#spoofax3-stratego-cli = { module = "org.metaborg:stratego.cli", version.ref = "spoofax3" } # Not published
#spoofax3-stratego-eclipse = { module = "org.metaborg:stratego.eclipse", version.ref = "spoofax3" } # Not published
#spoofax3-stratego-intellij = { module = "org.metaborg:stratego.intellij", version.ref = "spoofax3" } # Not published
spoofax3-esv = { module = "org.metaborg:esv", version.ref = "spoofax3" }
#spoofax3-esv-cli = { module = "org.metaborg:esv.cli", version.ref = "spoofax3" } # Not published
#spoofax3-esv-eclipse = { module = "org.metaborg:esv.eclipse", version.ref = "spoofax3" } # Not published
#spoofax3-esv-intellij = { module = "org.metaborg:esv.intellij", version.ref = "spoofax3" } # Not published
spoofax3-statix = { module = "org.metaborg:statix", version.ref = "spoofax3" }
#spoofax3-statix-cli = { module = "org.metaborg:statix.cli", version.ref = "spoofax3" } # Not published
#spoofax3-statix-eclipse = { module = "org.metaborg:statix.eclipse", version.ref = "spoofax3" } # Not published
#spoofax3-statix-intellij = { module = "org.metaborg:statix.intellij", version.ref = "spoofax3" } # Not published
spoofax3-sdf3extstatix = { module = "org.metaborg:sdf3_ext_statix", version.ref = "spoofax3" }
#spoofax3-sdf3extstatix-eclipse = { module = "org.metaborg:sdf3_ext_statix.eclipse", version.ref = "spoofax3" } # Not published
spoofax3-spt = { module = "org.metaborg:spt", version.ref = "spoofax3" }
spoofax3-spt-dynamicloading = { module = "org.metaborg:spt.dynamicloading", version.ref = "spoofax3" }
#spoofax3-spt-cli = { module = "org.metaborg:spt.cli", version.ref = "spoofax3" } # Not published
#spoofax3-spt-eclipse = { module = "org.metaborg:spt.eclipse", version.ref = "spoofax3" } # Not published
#spoofax3-spt-intellij = { module = "org.metaborg:spt.intellij", version.ref = "spoofax3" } # Not published
spoofax3-libspoofax2 = { module = "org.metaborg:libspoofax2", version.ref = "spoofax3" }
#spoofax3-libspoofax2-eclipse = { module = "org.metaborg:libspoofax2.eclipse", version.ref = "spoofax3" } # Not published
spoofax3-libstatix = { module = "org.metaborg:libstatix", version.ref = "spoofax3" }
#spoofax3-libstatix-eclipse = { module = "org.metaborg:libstatix.eclipse", version.ref = "spoofax3" } # Not published
spoofax3-strategolib = { module = "org.metaborg:strategolib", version.ref = "spoofax3" }
spoofax3-strategolib-eclipse = { module = "org.metaborg:strategolib.eclipse", version.ref = "spoofax3" }
spoofax3-gpp = { module = "org.metaborg:gpp", version.ref = "spoofax3" }
spoofax3-gpp-eclipse = { module = "org.metaborg:gpp.eclipse", version.ref = "spoofax3" }

# Stratego XT
strategoxt-strj = { module = "org.metaborg.devenv:org.strategoxt.strj", version.ref = "strategoxt" }
Expand Down
Loading

0 comments on commit 67fb2cf

Please sign in to comment.