Master’s thesis work carried out at the Department of Computer Science, Lund University. — 2018. — 48 p.
Domain Specific Languages (DSL) are programming languages created with specific domains in mind. Programs in these domains may be more easily represented as graphs or other structures, rather than text. Structure editors do just that, represent programs as, for example, graphs (graphical editors) or trees (tree editors), by using the programs’ underlying structures, making structure editors useful tools for DSL programming. We will in this thesis present a generic web-based tree editor that works for creating programs in any language specified in the metacompilation system JastAdd. The tree editor performs semantic analysis and displays semantic errors directly in the web browser.