| Title: | Grammar-driven generation of domain-specific language debuggers |
|---|
| Authors: | ID Wu, Hui (Author) ID Gray, Jeffrey G. (Author) ID Mernik, Marjan (Author) |
| Files: | http://dx.doi.org/10.1002/spe.863
|
|---|
| Language: | English |
|---|
| Work type: | Unknown |
|---|
| Typology: | 1.01 - Original Scientific Article |
|---|
| Organization: | FERI - Faculty of Electrical Engineering and Computer Science
|
|---|
| Abstract: | Domain-specific languages (DSLs) assist a software developer (or end-user) in writing a program using idioms that are similar to the abstractions found in a specific problem domain. Tool support for DSLs is lacking when compared with the capabilities provided for standard general-purpose languages (GPLs), such as Java and C++. For example, support for debugging a program written in a DSLis often non-existent. The lack of a debugger at the proper abstraction level limits an end-user's ability to discover and locate faults in a DSL program. This paper describes a grammar-driven technique to build a debugging tool generation framework from existing DSL grammars. The DSL grammars are used to generate the hooks needed to interface with a supporting infrastructure constructed for an integrated development environment that assists in debugging a program written in a DSL. The contribution represents acoordinated approach to bring essential software tools (e.g. debuggers) to different types of DSLs (e.g. imperative, declarative, and hybrid). This approach hides from the end-users the accidental complexities associated with expanding the focus of a language environment to include debuggers. The research described in this paper addresses a long-term goal of empowering end-users with development tools for particular DSL problem domains at the proper level of abstraction without depending on a specific GPL. |
|---|
| Keywords: | debugging, DSL, GPL, grammars, program environments, integrated environments |
|---|
| Year of publishing: | 2008 |
|---|
| PID: | 20.500.12556/DKUM-27405  |
|---|
| UDC: | 004.43 |
|---|
| ISSN on article: | 0038-0644 |
|---|
| COBISS.SI-ID: | 11994134  |
|---|
| NUK URN: | URN:SI:UM:DK:8FWORIFE |
|---|
| Publication date in DKUM: | 01.06.2012 |
|---|
| Views: | 1604 |
|---|
| Downloads: | 115 |
|---|
| Metadata: |  |
|---|
| Categories: | Misc.
|
|---|
|
:
|
Copy citation |
|---|
| | | | Average score: | (0 votes) |
|---|
| Your score: | Voting is allowed only for logged in users. |
|---|
| Share: |  |
|---|
Hover the mouse pointer over a document title to show the abstract or click
on the title to get all document metadata. |