On 11/09/2014 12:04 AM, David Roundy wrote:
But my primary reason for wanting scripting is to be able to automate the actual creation of dependency relationships.
Tup should automatically detect file dependencies of source files without a language-specific parser. My impression was that this was what CMake's file parsers are for. You may already know this though; I may be underestimating the complexity of your situation.

Many languages have existing libraries that would be effective for this sort of task, which is what makes run-script so great.
Integrating a language directly in the Tup binary solves a lot of the complexities of using run-scripts, but with the obvious caveat that you're limited to the language that is integrated.

If it would help though, it should be possible to enable Lua's require keyword for including external modules. I disabled it because I didn't know how to track module dependencies, dealing with dependencies outside the project root, etc. but including common parsers would be a very good use case.

--
--
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- You received this message because you are subscribed to the Google Groups "tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to