DSL (Digital Subscriber Loop) technology often called ADSL (Asymmetric Digital Subscriber Line technology). It is a way of using old telephone lines for high speed digital communications. It competes with cable for providing home Internet access.
DSL (Domain Specific Language) is also a specialised language for dealing with a particular narrow class of problem. You can either create an entirely new language or embed it in an existing one. Embedding has the advantage of giving you the full power of the underlying language for extensions. Making it a separate language gives you greater freedom in designing the syntax.
The advantages of DSLs (Domain Specific Languages) are:
Most DSLs are much smaller, simpler and local than the examples I gave and hence not well known. I wrote one called JCLGEN to simplify IBM (International Business Machines) mainframe JCL (Job Control Language). I wrote another called QSL (Queue Simulation Language) to efficiently collect statistics on queue simulations. I wrote Abundance to handle data entry and lookup.
What we nearly always do is twist a problem around until it can easily be specified to a computer. What we could do is create a DSL that let people describe the problem in the same terms they about it. Then have programmers figure out a way to translate this into something the computer can understand.
Which approach is best? If the problem small, there is not enough payback for creating the translator. So you should go with the traditional approach. If the problem is large, then you save enormous amount specifying the problems, maintaining the policies, proofreading… if you code in a DSL.
This page is posted |
http://mindprod.com/jgloss/dsl.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\dsl.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[3.133.152.189] |
| |
Feedback |
You are visitor number | |