Назад към всички

dsl-compiler-generator

// Generate compilers and interpreters for domain-specific languages

$ git log --oneline --stat
stars:384
forks:73
updated:March 4, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
namedsl-compiler-generator
descriptionGenerate compilers and interpreters for domain-specific languages
allowed-toolsBash,Read,Write,Edit,Glob,Grep
metadata[object Object]

DSL Compiler Generator

Purpose

Provides expert guidance on generating compilers and interpreters for domain-specific languages from high-level specifications.

Capabilities

  • Parser generation from grammar
  • Type checker generation from rules
  • Interpreter generation from semantics
  • Code generation templates
  • Language workbench integration
  • IDE support generation

Usage Guidelines

  1. Grammar Design: Define DSL syntax
  2. Parser Generation: Generate parser from grammar
  3. Type System: Implement type checking
  4. Semantics: Implement interpreter or code generator
  5. IDE Integration: Generate editor support

Tools/Libraries

  • ANTLR
  • Xtext
  • Racket
  • MPS