## 4 Results
### Use Cases  
The primary use case for the PWCT2 software is as an alternative to the Ring Code Editor, allowing users to create new projects based on Ring or to import and update/execute Ring programs instead of using Ring Notepad. Ring2 PWCT plays a significant role in this process, while the Time Machine feature enables users to read the program step by step and run it from a previous point in time. This functionality facilitates the continued development and maintenance of numerous Ring samples and applications. Figure 16: The PWCT2 system developed using the Ring programming language. In Figure 17, we introduce the SuperMan game, which is distributed with the Ring language. Using PWCT2, it was possible to import the game implementation and check it step by step. The game is based on the Ring game engine, which is designed for developing simple 2D games. PWCT2 comes with many samples related to game programming libraries like Allegro, RayLib, and Tilengine. These samples are converted from the Ring programming language project to PWCT2 through the Ring2 PWCT tool, which converts Ring textual code to a PWCT2 visual source file. Since PWCT2 comes with a Form Designer and the required visual components to build GUI applications, it was possible to use it in developing multiple GUI applications, including an application to predict citation counts in the Otology field using the research paper title, author, and abstract [84]. In the Citations Prediction application, the user interface is designed using the PWCT2 Form Designer (the same designer provided by the Ring language), and the application logic is designed using PWCT2 before generating Ring code. The application receives input from the user and submits it to the machine learning model through the internet using the LibCurl library. The models are developed using Microsoft Azure Machine Learning. The 394 visual components provided by RingPWCT and introduced in Table 3 offer sufficient features to develop such applications. In Figure 18, we demonstrate the Azure class used by the Citations Prediction application to connect to the Machine Learning model. This class could submit the research paper title, authors, or abstract as input to the model and receives the predicted citation count as output. Different machine learning models are utilized based on the selected input. The class contains the web service URL and the API key as attributes. Within the same project, in addition to the azure.pwtc file, there are other files, such as sysdata.pwtc, which includes some research paper samples. There are two form designer files: dataset.rform and predict.rform. The first file provides a table to select a research paper from the available samples. The second form is the main form of our application and allows users to enter the paper information to be used as input for the model and includes a button to open the other form in the dataset.rform file. These forms respond to GUI events that are handled  
Figure 17: Using PWCT2 to visualize and execute Ring language projects. by the files datasetController.pwct and predictController.pwct. When we open a form file using the project files window, PWCT2 will automatically open the corresponding visual source file for the controller class. Another known application in the Ring language community that is developed using PWCT2 is the Find in Files application, which is distributed with Ring Notepad [23]. The application is shown in Figure 19. The application's user interface is developed using the form designer and utilizes Qt layouts to automatically resize the controls. Figure 19: Find in Files application developed using PWCT2. Figure 18: Using PWCT2 to develop the Citations Prediction application. The Find in Files application supports search, replace, and replace all operations on one or more files. During a search operation, the user can enable the (Match Case) checkbox to perform a case-sensitive search. Using the (Browse) button, the user can select a specific folder to be used when searching for files.