Working example on using Ada code with XS
included original post from SO
included original post from SO