4 karma · joined Aug 10, 2024 (2y ago) · 11 submissions
comment 1y ago · link · parent
comment 1y ago · link · parent
The visual representation could be improved and made easier to customize over time. What truly matters is the concept and the interaction approach, which enable the creation of a general-purpose VPL that can be used for any programming task.
comment 1y ago · link · parent
In PWCT2, just click the (Start Point) and press CTRL+L and all of the interaction pages will be opened to quickly modify the input for any component.
PWCT2 is designed to be used in different ways based on the context.
1- If you like writing code, just write code, and PWCT2 will convert it to a visual representation.
2- If you want to explore the environment and learn about the visual components, you can use the mouse to discover and use any component.
3- If you know the component name, just use keyboard shortcuts to create programs quickly.
4- Using the Time Machine and playing programs as a movie, you can read large programs without touching your mouse or keyboard. Just watch while drinking your coffee.
5- The advantages of interaction pages (data-entry forms) become apparent when using large components, such as those representing GUI classes.
6- Using the steps tree, we have drag-and-drop functionality, allowing us to quickly organize the logic of our programs.
comment 1y ago · link · parent
This video demonstrates how to use LLMs to generate code that can be directly used in PWCT2: https://www.youtube.com/watch?v=Fx--dNZvncc
comment 1y ago · link · parent
With respect to Visual Programming Languages, the main contributions of PWCT are:
1- Introducing the Graphical Code Replacement (GCR) method as an alternative to Drag-and-Drop. (Research paper: https://link.springer.com/article/10.1007/s42486-020-00038-y)
2- Using the Time dimension at the program design level, which allows running programs in the past and playing programs as a movie.
3- The first VPL to be used in the development of a Compiler and Virtual Machine for a TPL.
PWCT is influenced by Lava, Forms/3, and Limnor. PWCT2 incorporates more features from other VPLs like Scratch and Envision.
PWCT2 improves upon PWCT by providing a faster, cross-platform environment that supports importing and exporting Ring code. Additionally, the implementation of the environment has been switched from Visual FoxPro to the Ring language. Since PWCT2 supports importing Ring code and is written in Ring, it is a self-hosting VPL. Also, PWCT2 adds the auto-run feature to the Time dimension.
comment 1y ago · link · parent
In PWCT2 at the current stage we provide (Free Editor), The (VPL Compiler) will be added to detect errors and the SDE will be added to prevent them as we did in PWCT1.
comment 1y ago · link · parent
To run the software without steam, install Ring language (Windows/Linux/macOS) then run it directly from the source code: https://github.com/PWCT/pwct2?tab=readme-ov-file#running-pwc...
In terms of adding more graphical/symbolic elements, we will address this in PWCT3. Additionally, publishing the PWCT2 source code will enable developers to extend the software in various directions based on their vision.
comment 1y ago · link · parent
PWCT2 is influenced by:
1- Lava visual language - Using the TreeView
2- Forms/3 - Using the Data-Entry forms
3- Scratch - Blocks, Colors, and Translation
4- Visual Basic - Form Designer
5- Envision - Rich comments & Interactive Visualization
6- PWCT1
6.1 Graphical Code Replacement (GCR) method instead of drag and drop
6.2 PWCT1 - The Time Machine (Run programs in the past & Play programs as a movie)
PWCT2 introduces more features compared to PWCT1, such as importing Ring code, inserting steps, and more.
comment 1y ago · link · parent