Re: Looking for new language features (re-elaboration)

Martin.Ward@durham.ac.uk (Martin Ward)
21 Sep 2000 18:07:07 -0400

          From comp.compilers

Related articles
Re: Looking for new language features (re-elaboration) lingolanguage@hotmail.com (William Rayer) (2000-09-13)
Re: Looking for new language features (re-elaboration) brangdon@cix.compulink.co.uk (2000-09-15)
Re: Looking for new language features (re-elaboration) joachim_d@gmx.de (Joachim Durchholz) (2000-09-17)
Re: Looking for new language features (re-elaboration) joachim_d@gmx.de (Joachim Durchholz) (2000-09-17)
Re: Looking for new language features (re-elaboration) vbdis@aol.com (2000-09-17)
Re: Looking for new language features (re-elaboration) Martin.Ward@durham.ac.uk (2000-09-21)
Re: Looking for new language features (re-elaboration) genew@shuswap.net (2000-09-21)
Re: Looking for new language features (re-elaboration) joachim_d@gmx.de (Joachim Durchholz) (2000-09-21)
Re: Looking for new language features (re-elaboration) etoffi@bigfoot.com (2000-09-21)
Re: Looking for new language features (re-elaboration) rhyde@cs.ucr.edu (Randall Hyde) (2000-09-23)
| List of all articles for this month |
From: Martin.Ward@durham.ac.uk (Martin Ward)
Newsgroups: comp.compilers
Date: 21 Sep 2000 18:07:07 -0400
Organization: Compilers Central
Keywords: design

brangdon@cix.compulink.co.uk writes:
> > Thanks for all the ideas and feedback. What I am really after, and the
> > fault is mine for not being more detailed in my original post, is
> > higher level features / semantics / control structures / data types /
> > language elements or whatever that make it "easier to program".
>
> An old idea which is often underrated: static data. A lot of problems
> are best solved by writing the answer in by hand - by tables of static
> data.


And one of the best ways to put such tables of data into your program
is via simple, commented text files.


With a bit more work (and for a large and complex application,
the work is more than worth it), the data tables can also contain
control information. You end up with a little domain-specific
language in which your actual application is implemented.


See this paper for details and examples:


%A M. Ward
%T Language Oriented Programming
%J Software---Concepts and Tools
%I |Springer|
%V 15
%P 147-161
%D 1994


http://www.dur.ac.uk/~dcs0mpw/martin/papers/middle-out-t.ps.gz


Martin


Martin.Ward@durham.ac.uk http://www.dur.ac.uk/~dcs0mpw/ Erdos number: 4
Maintainer of the G.K.Chesterton web site: http://www.dur.ac.uk/~dcs0mpw/gkc/


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.