Abridge is a project mainly written in GO and SHELL, it's free.
playing with bridge bidding
This is the source for the abridge program. You probably want to look at the program itself.