Virtual Domain Specific Languages via Embedded Projectional Editing
summary
Presents a working hybrid editor that matches AST patterns in Python or JavaScript and renders matched code as live web components, serializing always back to pure GPL text so existing toolchains (linters, LSP) keep working. Implements pattern+projection elements, a small program‑by‑example generator that creates patterns and text widgets from paired samples, and a CodeMirror 6 web demo at https://puredit.korz.dev/. Matches are dynamic with fallback to source when projection fails; implementation is incremental and used on multiple domain examples.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 2:14Mixed Python custom syntax
- 3:39Hybrid projectional editor
- 7:39Defining DSL elements
- 10:57Pattern matching details
- 12:43Generating patterns from samples
- 14:50Related work design
- 16:41Implementation future plans
- 17:25Q&A
related talks
27mReclaiming the Unexplored in Hybrid Visual Programming
35mRestaging Domain-Specific Languages: A Flexible Design Pattern for Rapid Development of(…)
36mCool kids' way of generating code
29mMy Little Parser: Tooling is Magic
14mExample-Based Live Programming for Everyone: Building Language-Agnostic Tools for Live Programming w
59mExpression Templates: Past, Present, Future
20mAn Approach to Generate Text-Based IDEs for Syntax Correction based on Syntax Specification
53mDeveloping DSLs in a pragmatic way
