Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please allow circular dependencies. #21

Open
RayZopf opened this issue Feb 26, 2016 · 1 comment
Open

Please allow circular dependencies. #21

RayZopf opened this issue Feb 26, 2016 · 1 comment
Labels

Comments

@RayZopf
Copy link

RayZopf commented Feb 26, 2016

https://code.google.com/archive/p/lslforge/issues/21
Posted on Jun 11, 2012 by Happy Lion
Forbidding circular dependencies makes it very difficult to properly modularize some code. Take, for example, two different components on a HUD that loosely depend on each other's data, but are implemented in two different lslm files. It can be worked around in hackish ways, but that breaks the idea of clean encapsulation.

Since it's all going into the same .lsl output file anyway, is there any particular reason that circular dependencies are disallowed?

Comment 1

Posted on Jun 13, 2012 by Helpful Kangaroo
Currently modules are implemented in the LSLForge executable, and does not do any circular module detection. A reworking of the compilation process is underway, and this is definitely on the list. A fix will be included in an upcoming release.

Comment 2

Posted on Jun 5, 2013 by Happy Lion
Not trying to be a pain or anything, but... :)

How is this feature coming?

I looked into trying to implement this and send you a patch, but... I am too dumb to grok Haskell, hehe.

Thanks for all the work that you do on this plugin!

@RayZopf
Copy link
Author

RayZopf commented Feb 26, 2016

is this feature request still valid with version 0.1.6?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants