add field labels for ParsedModule
write compileComment
write compileDiagrams