I'm happy to answer your questions and try to help you get Jianpu working in LilyPond. It will take learning some Scheme, and how LilyPond can be extended with Scheme. I'd suggest looking at the "extending" manual and searching the LSR for examples of code that uses "stencil" or "path". The GNU guile manuals are a good reference for info about Scheme.