Related articles |
---|
[15 earlier articles] |
Re: language design tradeoffs nickh@CS.CMU.EDU (1992-09-17) |
Re: language design tradeoffs norvell@csri.toronto.edu (1992-09-17) |
Re: language design tradeoffs jlg@cochiti.lanl.gov (1992-09-17) |
Re: language design tradeoffs bks@s27w007.pswfs.gov (1992-09-17) |
Re: language design tradeoffs raveling@Unify.com (1992-09-17) |
Re: language design tradeoffs jlg@cochiti.lanl.gov (1992-09-18) |
Re: language design tradeoffs e86jh@efd.lth.se (1992-09-19) |
Re: language design tradeoffs maniattb@cs.rpi.edu (1992-09-19) |
Re: language design tradeoffs tmb@arolla.idiap.ch (1992-09-20) |
Re: language design tradeoffs eifrig@beanworld.cs.jhu.edu (1992-09-19) |
Re: language design tradeoffs maxtal@extro.ucc.su.OZ.AU (1992-09-21) |
Re: language design tradeoffs jch@rdg.dec.com (1992-09-21) |
Re: language design tradeoffs nickh@CS.CMU.EDU (1992-09-21) |
[13 later articles] |
Newsgroups: | comp.compilers,comp.human-factors |
From: | e86jh@efd.lth.se (Jens Hansson) |
Organization: | Lund Institute of Technology, Sweden |
Date: | Sat, 19 Sep 1992 11:53:38 GMT |
References: | 92-09-048 92-09-115 |
Keywords: | parse, design, comment |
What I would like to see in coding is a two-layer editor. Layer one
contains the code, which could be in any language. Layer two contains the
commentary.
When the compiler runs, it extracts layer one only. When you print the
file, you normally turn all layers on.
Preferably, the commentary layer should be graphical, so that one could
put arrows in connecting pieces of related code (this is one reason why I
want my code on paper) or drawing figures to describe the meaning of
different variables. The code layer could be textual -- I haven't really
seen any good graphical languages.
Of course, comments must be bound to pieces of code, so that comments move
when you add or delete code.
By separating code and comments this way, you cannot do the mistake of
accidentially commenting out big chunks of code (I still want to be able
to disable some code from compiling when testing, but old code isn't
really the same as commentary...).
Oh, while I am wishing: I would also like an A2 sized screen at 300 dpi
resolution, and a computer powerful enough to maintain it. This would
make windowing operating systems really useful :-)
--
Jens Hansson e-mail: e86jh@efd.lth.se Phone int+46-(0)46-112295
snail-mail: Skarpskyttev 6B, S-22242 Lund, Sweden
[You might like CWEB, available from the same places as TeX. -John]
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.