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

Commit

Permalink
Add Spoofax 2 dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Virtlink committed Jul 11, 2024
1 parent 30876bc commit f6147dc
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 14 deletions.
14 changes: 9 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,29 @@ All notable changes to this project will be documented in this file.
## [Unreleased]


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


## [0.4.0] - 2024-07-10
- *Breaking*: Many Spoofax dependencies now have `metaborg` as the prefix instead of `spoofax3`.
- *Breaking*: The platform is now named `metaborg.platform` instead of `spoofax3.platform`.
- Add Spoofax 3 LWB, SLF4J, JMH dependencies.


## [0.3.11]- 2024-07-09
## [0.3.11] - 2024-07-09
- Add PIE dependencies.


## [0.3.10]- 2024-07-09
## [0.3.10] - 2024-07-09
- Add dependencies for PIE.


## [0.3.9]- 2024-07-09
## [0.3.9] - 2024-07-09
- Provide version for platform dependency.


## [0.3.8]- 2024-07-09
## [0.3.8] - 2024-07-09
- Add JimFS and JUnit Params dependencies.


Expand Down
12 changes: 9 additions & 3 deletions example/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,26 @@ dependencies {
api(libs.spoofax3.lwb.compiler.gradle)
api(libs.spoofax3.lwb.dynamicloading)

// Stratego XT
api(libs.strategoxt.strj)
api(libs.spoofax2.strategoxt)

// Spoofax 2
api(libs.spoofax2.metaborg.util)
api(libs.spoofax2.util.vfs2)
api(libs.spoofax2.terms)
api(libs.spoofax2.interpreter.core)
api(libs.spoofax2.interpreter.library.xml)
api(libs.spoofax2.interpreter.library.java)
api(libs.spoofax2.interpreter.library.index)
api(libs.spoofax2.interpreter.library.jsglr)
api(libs.spoofax2.core)
api(libs.spoofax2.meta.core)
api(libs.spoofax2.spt.core)
api(libs.spoofax2.meta.lib.spoofax)
api(libs.spoofax2.meta.lib.analysis)
api(libs.spoofax2.strategoxt.strj)
api(libs.spoofax2.jsglr.shared)
api(libs.spoofax2.jsglr)
api(libs.spoofax2.jsglr2)
api(libs.spoofax2.nabl2.terms)
api(libs.spoofax2.nabl2.solver)
Expand All @@ -72,12 +80,10 @@ dependencies {
api(libs.spoofax2.makepermissive)
api(libs.spoofax2.parsetable)
api(libs.spoofax2.renaming.java)
api(libs.spoofax2.interpreter.library.index)
api(libs.spoofax2.flowspec.runtime)
api(libs.spoofax2.runtime.task)
api(libs.spoofax2.stratego.build)
api(libs.spoofax2.stratego.build.spoofax2)
api(libs.spoofax2.strategoxt)

// Spoofax languages
api(libs.spoofax.lang.esv)
Expand Down
13 changes: 10 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ metaborg-resource = "0.14.1" # https://github.com
metaborg-common = "0.11.0" # https://github.com/metaborg/common/
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
spoofax2 = "2.6.0-SNAPSHOT" # https://spoofax.dev/ (https://github.com/metaborg/spoofax-releng)

Expand Down Expand Up @@ -143,18 +144,26 @@ spoofax3-lwb-compiler-dagger = { module = "org.metaborg:spoofax.lwb.compiler.
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" }

# Stratego XT
strategoxt-strj = { module = "org.metaborg.devenv:org.strategoxt.strj", version.ref = "strategoxt" }
spoofax2-strategoxt = { module = "org.metaborg:strategoxt-min-jar", version.ref = "spoofax2" } # TODO: Should this be prefixed with strategoxt? Should this be built by the StrategoXT repo Gradle?

# Spoofax 2
spoofax2-metaborg-util = { module = "org.metaborg:org.metaborg.util", version.ref = "spoofax2" }
spoofax2-util-vfs2 = { module = "org.metaborg:util-vfs2", version.ref = "spoofax2" }
spoofax2-terms = { module = "org.metaborg:org.spoofax.terms", version.ref = "spoofax2" }
spoofax2-interpreter-core = { module = "org.metaborg:org.spoofax.interpreter.core", version.ref = "spoofax2" }
spoofax2-interpreter-library-xml = { module = "org.metaborg:org.spoofax.interpreter.library.xml", version.ref = "spoofax2" }
spoofax2-interpreter-library-java = { module = "org.metaborg:org.spoofax.interpreter.library.java", version.ref = "spoofax2" }
spoofax2-interpreter-library-index = { module = "org.metaborg:org.spoofax.interpreter.library.index", version.ref = "spoofax2" }
spoofax2-interpreter-library-jsglr = { module = "org.metaborg:org.spoofax.interpreter.library.jsglr", version.ref = "spoofax2" }
spoofax2-core = { module = "org.metaborg:org.metaborg.spoofax.core", version.ref = "spoofax2" }
spoofax2-meta-core = { module = "org.metaborg:org.metaborg.spoofax.meta.core", version.ref = "spoofax2" }
spoofax2-spt-core = { module = "org.metaborg:org.metaborg.spt.core", version.ref = "spoofax2" }
spoofax2-meta-lib-spoofax = { module = "org.metaborg:meta.lib.spoofax", version.ref = "spoofax2" }
spoofax2-meta-lib-analysis = { module = "org.metaborg:org.metaborg.meta.lib.analysis", version.ref = "spoofax2" }
spoofax2-strategoxt-strj = { module = "org.metaborg:org.strategoxt.strj", version.ref = "spoofax2" }
spoofax2-jsglr-shared = { module = "org.metaborg:jsglr.shared", version.ref = "spoofax2" }
spoofax2-jsglr = { module = "org.metaborg:org.spoofax.jsglr", version.ref = "spoofax2" }
spoofax2-jsglr2 = { module = "org.metaborg:org.spoofax.jsglr2", version.ref = "spoofax2" }
spoofax2-nabl2-terms = { module = "org.metaborg:nabl2.terms", version.ref = "spoofax2" }
spoofax2-nabl2-solver = { module = "org.metaborg:nabl2.solver", version.ref = "spoofax2" }
Expand All @@ -164,12 +173,10 @@ spoofax2-sdf2parenthesize = { module = "org.metaborg:sdf2parenthesize",
spoofax2-makepermissive = { module = "org.metaborg:make-permissive", version.ref = "spoofax2" }
spoofax2-parsetable = { module = "org.metaborg:org.metaborg.parsetable", version.ref = "spoofax2" }
spoofax2-renaming-java = { module = "org.metaborg:renaming.java", version.ref = "spoofax2" }
spoofax2-interpreter-library-index = { module = "org.metaborg:org.spoofax.interpreter.library.index", version.ref = "spoofax2" }
spoofax2-flowspec-runtime = { module = "org.metaborg:flowspec.runtime", version.ref = "spoofax2" }
spoofax2-runtime-task = { module = "org.metaborg:org.metaborg.runtime.task", version.ref = "spoofax2" }
spoofax2-stratego-build = { module = "org.metaborg:stratego.build", version.ref = "spoofax2" }
spoofax2-stratego-build-spoofax2 = { module = "org.metaborg:stratego.build.spoofax2", version.ref = "spoofax2" }
spoofax2-strategoxt = { module = "org.metaborg:strategoxt-min-jar", version.ref = "spoofax2" }

# Spoofax Languages
spoofax-lang-esv = { module = "org.metaborg:org.metaborg.meta.lang.esv", version.ref = "spoofax2" }
Expand Down
12 changes: 9 additions & 3 deletions platform/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,26 @@ dependencies {
api(libs.spoofax3.lwb.compiler.gradle)
api(libs.spoofax3.lwb.dynamicloading)

// Stratego XT
api(libs.strategoxt.strj)
api(libs.spoofax2.strategoxt)

// Spoofax 2
api(libs.spoofax2.metaborg.util)
api(libs.spoofax2.util.vfs2)
api(libs.spoofax2.terms)
api(libs.spoofax2.interpreter.core)
api(libs.spoofax2.interpreter.library.xml)
api(libs.spoofax2.interpreter.library.java)
api(libs.spoofax2.interpreter.library.index)
api(libs.spoofax2.interpreter.library.jsglr)
api(libs.spoofax2.core)
api(libs.spoofax2.meta.core)
api(libs.spoofax2.spt.core)
api(libs.spoofax2.meta.lib.spoofax)
api(libs.spoofax2.meta.lib.analysis)
api(libs.spoofax2.strategoxt.strj)
api(libs.spoofax2.jsglr.shared)
api(libs.spoofax2.jsglr)
api(libs.spoofax2.jsglr2)
api(libs.spoofax2.nabl2.terms)
api(libs.spoofax2.nabl2.solver)
Expand All @@ -71,12 +79,10 @@ dependencies {
api(libs.spoofax2.makepermissive)
api(libs.spoofax2.parsetable)
api(libs.spoofax2.renaming.java)
api(libs.spoofax2.interpreter.library.index)
api(libs.spoofax2.flowspec.runtime)
api(libs.spoofax2.runtime.task)
api(libs.spoofax2.stratego.build)
api(libs.spoofax2.stratego.build.spoofax2)
api(libs.spoofax2.strategoxt)

// Spoofax languages
api(libs.spoofax.lang.esv)
Expand Down

0 comments on commit f6147dc

Please sign in to comment.