Is - PowerPoint PPT Presentation

About This Presentation
Title:

Is

Description:

Title: Domain-Specific Embedded-Language Design Author: Paul Hudak Last modified by: ECE Created Date: 5/6/1997 10:24:24 PM Document presentation format – PowerPoint PPT presentation

Number of Views:41
Avg rating:3.0/5.0
Slides: 10
Provided by: PaulHu155
Category:
Tags: embedded

less

Transcript and Presenter's Notes

Title: Is


1
Is Higher Level Better?
  • A programming language can be viewed as an
    interface to an abstract machine.
  • Assembly language is just the right abstraction
    for a CPU.
  • Why do some languages better match some
    applications than others?

2
We Need Domain Specificity
  • A domain-specific language (or DSL) is a language
    that precisely captures a domain semantics no
    more, and no less.
  • We also need domain specific
  • specifications (starting point!)
  • optimizations and transformations
  • software tools
  • type systems, aspects, constraints, etc.

3
Advantages of DSL Approach
  • Programs in the target domain are
  • more concise
  • quicker to write
  • easier to maintain
  • easier to reason about
  • can often be written by non-programmers

Contribute to higher programmer productivity
Dominant cost in large SW systems
Verification, transform- ation, optimization
These are the same arguments in favor of any
high-level language. But in addition
Helps bridge gap between developer and user
4
The Bottom Line
5
DSLs Allow Faster Prototyping
Using the Spiral Model of Software Development
specify
specify
design
design
build
test
test
build
With DSL
Without DSL
6
(No Transcript)
7
(No Transcript)
8
(No Transcript)
9
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com