Other Harmonia ApplicationsIn addition to Harmonia-Mode, our flagship end-user application, and Blender, our lexer and parser generator, the Harmonia project is working on several other small applications that utilize the Harmonia analysis framework. language kernel via the Tcl language bindings.
One of our internal debugging applications is a syntax tree viewer written in Tcl/Tk (using Harmonia bindings for the Tcl language). While our current viewer works well, it has several important shortcomings. First, it lacks many useful features that Harmonia programmers would love to have. Second, it is limited to displaying trees, whereas Harmonia syntax trees may include graph-like parts. Finally, it uses an antiquated tree-drawing library which is inefficient and is no longer maintained by its author.
We are building a new syntax tree viewer application in Tcl using a more advanced graph layout library called GraphViz. We are also exploring the possibility of using OpenGL for scalable visualization of large syntax tree.
One of the goals of Harmonia is to support spoken programming, essentially using voice recognition to write and edit code. Part of this support involved creating a dialect of Java called Spoken Java, which is easier to say. Spoken Java is grammatically isomorphic to Java (and semantically identical), but many of the keywords and ordering of concrete syntax has been changed.
In order to enable our speech recognizer to easily understand Spoken Java, we are creating a corpus of Spoken Java programs by translating existing Java programs to the new dialect. We built a Java to Spoken Java translator (and vice versa) and are currently creating a dictation training file for IBM ViaVoice based on these translated programs.
IBM ViaVoice to provide speech recognition services to XEmacs. Just as we describe a programming language grammar using Ladle, ViaVoice provides a grammar description language to support spoken command languages called SRCL. Ladle and ViaVoice's descriptions are similar but not compatible.
Brian Chin has written a tool to convert Ladle grammar descriptions into ViaVoice grammar descriptions and wrote the SRCL language module for Harmonia.