6 ms·
Good stuff, I like how individual tokens have colours in the tree view. it seems like a visual syntax tree.
by JaDogg 2y ago
Good stuff, I like how individual tokens have colours in the tree view. it seems like a visual syntax tree.
- MahmoudFayed 2y agoThanks for your kind words
- WillAdams 2y agoHow are syntax/structure enforced? Scratch/Blockly uses shapes to ensure things work, while node editors will disallow invalid connections.
- MahmoudFayed 2y agoIn PWCT1 we provide two modes 1. (Free Editor + VPL Compiler) which allows syntax errors and can detect them 2. (Syntax Directed Editor) which prevent errors. 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.
- MahmoudFayed 2y agoAs of January 12, 2025, PWCT2 will check rules (defined by each component) to determine the allowed parents and children. This functionality was previously applied in PWCT1 and is now implemented in PWCT2 as well. This prevents composition errors; for example, (Else) or (Elseif) components can't be added outside the (If) component.