Converting make to redo?
anonymous
January 15 2011, 05:36:48 UTC
I haven't looked at redo yet; so I can't comment to its usefulness.
That said, many projects use this thing called Automake. Its a perl script that reads a definition file and spits out a make file. You could probably rewrite it to spit out redo files, and get something that works out of the box for thousands of projects.
Side note: In most languages, trying to do fine-grain dependency tracking outside the compiler is a lost cause. Being 99% correct means you are horribly broken for many users. A good build system should have a mechanism for using compilation output to add more dependencies into the definition file. See automake's use of deps.
Re: Converting make to redo?pozorvlakJanuary 15 2011, 14:21:50 UTC
I've heard of automake, but never actually used it. If it's possible to input automake syntax and push out .do files (and right now I have no idea how big an "if" that is) it might help solve the migration problem.
After-the-fact dependency checking: you'll be delighted to learn that this was one of the guiding principles of redo's design. See my talk notes.
Comments 13
That said, many projects use this thing called Automake. Its a perl script that reads a definition file and spits out a make file. You could probably rewrite it to spit out redo files, and get something that works out of the box for thousands of projects.
Side note: In most languages, trying to do fine-grain dependency tracking outside the compiler is a lost cause. Being 99% correct means you are horribly broken for many users. A good build system should have a mechanism for using compilation output to add more dependencies into the definition file. See automake's use of deps.
Reply
After-the-fact dependency checking: you'll be delighted to learn that this was one of the guiding principles of redo's design. See my talk notes.
Reply
Leave a comment