eclipse-langium / langium-website

Source of langium.org
https://langium.org/
MIT License
14 stars 34 forks source link

Recipe: Dependency loop detection #240

Closed Lotes closed 2 weeks ago

Lotes commented 2 months ago

I added a recipe for detecting any kind of dependency loop and resolving acyclic dependencies.

It is not specific to Langium, but it is one of these problems, that might need to be solved for several language features. Like recursion detection or recursive data structures.

The detection is implemented as a Langium validation. I think this is useful for users, that have never came across with such graph algorithms.

github-actions[bot] commented 2 months ago

PR Preview Action v1.4.6 :---: Preview removed because the pull request was closed. 2024-08-28 12:36 UTC

JohannesMeierSE commented 1 month ago

Thanks @Lotes for the improvements! The two use cases are much more clear in the introduction now and I like the explicit examples. "approved" from my side 🙂