Carnegie Mellon University
Browse

Greyboxing: towards domain-specific representations for domain-specific languages in electronics design

Download (197.11 kB)
conference contribution
posted on 2023-03-30, 16:42 authored by Richard Lin, Rohit Ramesh, Prabal Dutta, Björn Hartmann, Ankur Mehta

While domain-specific languages (DSLs) can be powerful, textual code interfaces can be unfamiliar to domain practitioners compared to mainstream graphical tools. For example, in board-level electronics design, DSLs enable libraries that automate design calculations, but graphical schematics and their visual patterns dominate mainstream practice. An underappreciated yet inexpensive technique to bridge the power-familiarity gap is to exploit existing and familiar graphical tools, but augmented with DSL semantics and interoperability by hijacking graphical notions of annotation and naming. In this short paper, we apply this technique to our electronics DSL by supporting the importing of graphical schematics. Unlike simple format conversions, we map schematic components to DSL library elements and constructs, augmenting a familiar graphical representation with powerful DSL semantics. We believe this technique can generalize to other domains and help blend the power of DSLs with the familiarity of conventional tools.

Funding

DARPA grants HR00112110008 and FA8750-20-C-0156 (SDCPS)

History

Date

2023-02-13

Usage metrics

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC