An early version of the C++ source code of the PDK Framework is available for download here. Unfortunately Makemusic has ceased permitting new developers to access the PDK, so building the PDK Framework does not serve much purpose without it. However, the source code may be useful as a reference for understanding how to use the Framework. (Much of the current source code is viewable in the PDK Framework documentation.)
Frequently when working with Finale, it is useful to discover which data structures the Finale program itself modifies when you make a change through the user interface. To that end there is a free Finale plugin that writes your document out to a simple text file.
The plugin’s normal use case is to create a small file that illustrates what you are working on. Dump it to text before changing it with Finale and again after changing it. Then compare the two using any number of free text file comparison utilities. A common one is
kDiff3, which is available for Windows and macOS. (Links change, so the easiest way to find the current version is a search engine.) The plugin includes both the internal data structure and the corresponding PDK Framework class name if there is one.
You can download it here. Also available on the page is a free plugin to reorganize the script menu for JW Lua. See the page for more details. The sample file linked there arranges the scripts in this GitHub repository into a series of submenus.