Hacker News new | past | comments | ask | show | jobs | submit login

Good stuff, I like how individual tokens have colours in the tree view. it seems like a visual syntax tree.



Thanks for your kind words


How are syntax/structure enforced? Scratch/Blockly uses shapes to ensure things work, while node editors will disallow invalid connections.


As 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.

In 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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: