On 2017-10-11, Evan Martin <
evan....@gmail.com> wrote:
> I poked around in the code and it looks super awesome!
Thanks!
> Some questions:
> - Do you have any tests? How did you evaluate correctness?
No, just careful review and manual checks specific to whatever part
I'm working on.
I did run ninja's test cases for CanonicalizePath through my
implementation to make sure I got the behavior right.
> - What are your thoughts on Windows?
I have no interest in Windows, but if someone wanted to contribute
support and it wasn't invasive, I would probably accept it.
> - Are there any major pieces you decided to skip? I noticed you
> implemented pools and the deps database etc. Sorry if the docs there were
> weak, it was intended as an internal detail.
As far as language features, I think I implemented everything except MSVC deps.
Yeah, I know the deps and log formats are internal details, but I
wanted to match the same format so that ninja and samurai agreed on
what needed to be rebuilt (rather than each one trying to rebuild
everything).
In terms of CLI features, I only implemented the clean subtool and
don't currently support NINJA_STATUS.
> - Was there any part that was particular trouble?
The deps and build log were a little troublesome as you suspected, but
nothing too bad. Implementing restat and order-only dependencies was
also a bit tricky to get right.