Select the file to open and click the Open button. In the Open File, type kpl in the File Extension text-box (far right side), and press the Enter key. On the left pane, select the folder where the KJP program files are located.Ĭlick the File menu, and select Open. The jGRASP main window appears on the screen, as shown in Figure A.4. To use KJP with jGRASP for translating programs from KJP to Java, follow the sequence of steps: Figure A.6 shows this window.įigure A.6: The jGRASP Global Settings window.Ī.4.2 Translating KJP Programs with jGRASP On the directory column, type: C:\KJP, or any other folder that contains the KJP translator.īack on the Global Settings window, click User:kjp. On the Settings menu, select Compiler Settings.Ĭhoose Global, click on Language, and select Plain Text.Ĭlick the Environment button, and select Empty.Ī new dialog box appears on the screen with the title: User Compiler Environment (Plain Text). Start jGRASP the main window appears on the screen as shown in Figure A.4. Place the KJP translator and additional files in an appropriate directory, such as 'c:\kjp'. The following steps will guide you in configuring KJP to work with jGRASP. For KJP, the jGRASP tool needs to be configured so that it will execute the KJP translator when the user issues the Compile command.Ī.4.1 Configuring KJP Translator with jGRASP The tool was designed mainly for Java programs. Under Windows, jGRASP is a more flexible and powerful environment to develop programs in Java and in KJP.
0 Comments
Leave a Reply. |