Julia implementation of the H, G1, G2 system