There are open source implementations of some K versions - Kona, which is K3, and oK, which is ~K5.
J is available under GPL3.
Reply on news.ycombinator.com