<stefanct>
i dont fully comprehend why it would be hard in the first place... depending on how parsing work. normally "#including" things and just writing the resulting intermediate trees is easy but i havent looked at the code
<teepee>
stefanct: as single file, impossible for the general case
<stefanct>
because the statements can be within functions and stuff (do they?)?
<teepee>
no, because there's no namespacing
<teepee>
use<> will localize things if spread across multiple files
<stefanct>
oh so there are implicit file scopes in openscad?
<teepee>
putting all into a single file can give various surprising effects
<teepee>
plus use<> only imports the modules, not top level variables or module calls
<teepee>
plus there's the question why to have "single file" at all
<teepee>
the only reason I see is for thingiverse, and honestly that's not going to motivate me very much
<teepee>
in my opinion that time would be better spend going into direction of some sort of simple package management everyone can use and benefit from
<stefanct>
fair enough. it's very annoying to share models somewhat in source form :<
<stefanct>
so ppl just put stls online or copy definitions manually if it's trivial
<stefanct>
that would of course be great(er) :)
<teepee>
true, and improving that would be great.
<teepee>
I don't think that requires single file sharing
<stefanct>
thanks
<teepee>
the in-between solution for some of the newer sharing places is to allow uploading additional files and/or providing some commonly used libraries out-of-the-box