Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #76 > unrolled thread

New editor/Integrated Development Environment/compiler

Started byHiramEgl <hiramegl@hotmail.com>
First post2011-04-08 11:40 +0200
Last post2011-04-15 13:25 -0700
Articles 2 on this page of 22 — 11 participants

Back to article view | Back to comp.compilers


Contents

  New editor/Integrated Development Environment/compiler HiramEgl <hiramegl@hotmail.com> - 2011-04-08 11:40 +0200
    Re: New editor/Integrated Development Environment/compiler "C. Bergström" <cbergstrom@pathscale.com> - 2011-04-09 00:17 +0700
    Re: New editor/Integrated Development Environment/compiler "Pascal J. Bourguignon" <pjb@informatimago.com> - 2011-04-08 20:40 +0200
      Re: New editor/Integrated Development Environment/compiler Willem <willem@toad.stack.nl> - 2011-04-10 19:26 +0000
        Re: New editor/Integrated Development Environment/compiler "Pascal J. Bourguignon" <pjb@informatimago.com> - 2011-04-11 18:53 +0200
          Re: New editor/Integrated Development Environment/compiler HiramEgl <hiramegl@hotmail.com> - 2011-04-12 20:31 +0200
        Re: New editor/Integrated Development Environment/compiler HiramEgl <hiramegl@hotmail.com> - 2011-04-12 00:33 +0200
      Re: New editor/Integrated Development Environment/compiler HiramEgl <hiramegl@hotmail.com> - 2011-04-12 00:17 +0200
        Re: New editor/Integrated Development Environment/compiler "Pascal J. Bourguignon" <pjb@informatimago.com> - 2011-04-12 06:00 +0200
        Re: New editor/Integrated Development Environment/compiler Hans-Peter Diettrich <DrDiettrich1@aol.com> - 2011-04-12 13:36 +0200
          Re: New editor/Integrated Development Environment/compiler glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2011-04-15 21:36 +0000
    Re: New editor/Integrated Development Environment/compiler Thomas David Rivers <rivers@dignus.com> - 2011-04-08 15:11 -0400
      Re: New editor/Integrated Development Environment/compiler HiramEgl <hiramegl@hotmail.com> - 2011-04-11 22:53 +0200
    Re: New editor/Integrated Development Environment/compiler Hans-Peter Diettrich <DrDiettrich1@aol.com> - 2011-04-08 23:39 +0200
      Re: New editor/Integrated Development Environment/compiler "Pascal J. Bourguignon" <pjb@informatimago.com> - 2011-04-10 20:53 +0200
      Re: New editor/Integrated Development Environment/compiler Patricia Shanahan <pats@acm.org> - 2011-04-10 13:30 -0700
        Re: New editor/Integrated Development Environment/compiler HiramEgl <hiramegl@hotmail.com> - 2011-04-12 00:54 +0200
    Re: New editor/Integrated Development Environment/compiler arnold@skeeve.com (Aharon Robbins) - 2011-04-10 18:46 +0000
    Re: New editor/Integrated Development Environment/compiler Patricia Shanahan <pats@acm.org> - 2011-04-10 13:33 -0700
    Re: New editor/Integrated Development Environment/compiler Ralph Boland <rpboland@gmail.com> - 2011-04-11 10:01 -0700
      Re: New editor/Integrated Development Environment/compiler "Pascal J. Bourguignon" <pjb@informatimago.com> - 2011-04-12 05:21 +0200
        Re: New editor/Integrated Development Environment/compiler Al Kossow <aek@bitsavers.org> - 2011-04-15 13:25 -0700

Page 2 of 2 — ← Prev page 1 [2]


#94

From"Pascal J. Bourguignon" <pjb@informatimago.com>
Date2011-04-12 05:21 +0200
Message-ID<11-04-027@comp.compilers>
In reply to#89
Ralph Boland <rpboland@gmail.com> writes:

> On Apr 8, 3:40 am, HiramEgl <hiram...@hotmail.com> wrote:
>> My name is Hiram and I would like to know if somebody is interested in
>> joining the development of a new kind of editor/Integrated Development
>> Environment/compiler.
> ...
>>
>> /Hiram
>> [There were structure based tools back in the 1970s.  My recollection
>> is that they were completely unusable other than by the people who
>> wrote them. -John]
>
> Warning:  Long, and possibly pointless post.
>
> I have always wanted to build a parser generator tool that also builds
> a syntax directed editor based on the grammar.  Presumably this would
> make editing easier and the user would only need to know one editor
> though the editor would behave differently for different languages
> (grammars).


http://portal.acm.org/ft_gateway.cfm?id=358755&type=pdf
http://portal.acm.org/ft_gateway.cfm?id=954001&type=pdf
http://www.ics.uci.edu/~andre/ics228s2006/repsteitelbaum.pdf

But this was before the Internet and free software took over the world,
so nothing remains of it...  Perhaps the results weren't satisfactory.


> The big issue though is that the syntax directed editor would need to
> be easy enough to use and productive enough that developers will
> actually use it.  As John pointed out this is a major issue that
> should not be underestimated.

Indeed.  And the point here is that it is often much easier to type
linearly:

      x=a*square(x)+b*x+d;

than it would be to select the = operator, to click on the left box, to
type x, to click on the right box, to select the + operator, to click on
the left box, to select the * operator, to click on the left box, to
type a, to click on the right box, to search square in the list of
functions, to click on the argument list box, to type x, etc...


> It is also worth noting that this would be a lot of work, well unless
> I do it in Smalltalk. :-)

Or Lisp.  But it would be not much work to synthesize the structural
editor from the grammar of the language.  On the other hand, you
couldn't use the same grammar as the compiler: you would have to
annotate it to let the editor accept textual input for some
non-terminal, as shown above.


On the other hand, since it is hard to decide at what level in the
syntactic tree it is worthwhile to switch between the textual input and
the structured editing, perhaps we should let the user choose himself.

This is exactly what we get in emacs with things like paredit,
skeletons, abbrev, etc.  The user gets to choose the level of structured
editing he wants to use.

Also, have a look at:

http://groups.google.com/group/comp.lang.lisp/msg/3050088218d355e5




--
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.

[toc] | [prev] | [next] | [standalone]


#98

FromAl Kossow <aek@bitsavers.org>
Date2011-04-15 13:25 -0700
Message-ID<11-04-031@comp.compilers>
In reply to#94
On 4/11/11 8:21 PM, Pascal J. Bourguignon wrote:

> http://portal.acm.org/ft_gateway.cfm?id=358755&type=pdf
> http://portal.acm.org/ft_gateway.cfm?id=954001&type=pdf
> http://www.ics.uci.edu/~andre/ics228s2006/repsteitelbaum.pdf
>
> But this was before the Internet and free software took over the world,
> so nothing remains of it...  Perhaps the results weren't satisfactory.
>

Are you saying you were unable to find any copies of the Cornell Program Synthesizer?

http://www.threedee.com/jcm/terak/docs.html
Cornell Program Synthesizer manual and disk, v1.02(QB), by Prof. Tim Teitelbaum, June 1981.
[Tim started a company to commercialize it which is still in business.
See www.grammatech.com -John]

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.compilers


csiph-web