Peeking once at gpled code isn't enough to create licensing issues, but it's absolutely enough to preclude "clean room" implementations.
There is a big difference in requirements between the two.