4 ms·
Congrats! It looks really nice. It reminds me of when we developed a block-based version of our ProcessingJS editor at Khan Academy. It was a little clunky UI w
by pamelafox 3y ago
Congrats! It looks really nice. It reminds me of when we developed a block-based version of our ProcessingJS editor at Khan Academy. It was a little clunky UI wise and hard to maintain, so we eventually dropped it, but this looks pretty slick. I love that you're giving new programmers more ways to get into typed programming! (I tend to also think most block coding is too far removed).
- zozbot234 3y agoIt should be possible to auto-generate these block editing UI's starting from an abstract description of the syntax, as used e.g. in a tree-sitter parser. Sometimes this kind of block-based editing is also integrated with type checking to enable smart, query-based filling of "holes", as seen perhaps most prominently in editors for Agda (a pure functional language).
- pamelafox 3y agoYeah, we actually took that approach for the block-based experiment for Khan Academy. I think we ran into issues with auto generating the blocks for JS prototype based classes, if I recall correctly, but I can't remember exactly what the issues were. I don't know what approach OP is using.