|
assignment: twelve:
|
Translate your first DBN program written for assignment three (i.e., letter.dbn) into a Java application. Here is an example of how I translated my (buggy) letter "A" (written in DBN) into a (non-buggy) Java program. Here is the DBN code: example-letter.dbn; The DBN version is buggy because I worked with the assumption that floating point division worked in DBN (when in fct, as we know, only integer division is supported by DBN). And, here is the Java code: ExampleLetter.java with a supporting file: ApplicationFrame.java.
|