Article View: comp.lang.modula2
Article #3654Modula-2 Tool Support
From: Duncan C White
Date: Tue, 07 Apr 1987 20:58
Date: Tue, 07 Apr 1987 20:58
82 lines
3907 bytes
3907 bytes
Hi there ! This is my first news article, so be kind :-)
My name is Duncan White and I work [ and play ... ] at the Dept of
Computing, Imperial College, London, England.
I am supervising a Final Year Undergraduate project about :
"Tool Support for Modula-2"
The general idea of this project is that Modula-2, due to its emphasis
on separate compilation units [ ie. defn & impln modules ], tends to breed
large numbers of files which become difficult to handle with the usual kinds
of tools provided with a system (specifically, editors)
In particular, I find myself spending ludicrously large amounts of time and
effort doing such (logically) simple things as :
o changing a name throughout a multi-module "project"
o changing the order/types/number of parameters
o maintaining comment consistency between defn & impln modules
o reformatting other people's code to my style
[ plus, reformatting my "late night" code properly :-) ]
o splitting/merging modules
o cross referencing
o checking for dead code [ and sundry optimizations ]
It seems to me, at least, that a good way to enhance M-2 as a "programming
system" - rather than a formal language - would be to design and implement
a set of integrated M-2 tools, built around a central M-2 parser [ which
would, however, keep such things as comments intact ]
It seems reasonable to try to establish a simple classification of such
tools. What I propose is a 3-way classification :
1). tools which perform some function on just one compilation-unit
[ such as a reformatter ]
2). tools which process a defn-impn pair together
[ such as a comment consistency checker/enforcer ]
3). tools which require knowledge of an entire "project"
[ such as a "module splitter", a "makefile generator"
or a "project-wide editor" ]
Clearly, this classification is ordered in terms of tool complexity..
----------------- now, the request ----------------
I would welcome any input whatsoever on this subject. In particular,
o Do other M-2 programmers see the need for such tool support ?
If so, are the kind of tools I propose appropriate ?
Are there any other such requirements ?
Is a central parser a good idea ?
Is the 3-way classification adequate ?
o Has anyone else done any relevent work ?
o Are there any PD M-2 parsers / tools ?
[ This info will probably be too late to be of practical
interest : the parser is well underway.. ]
Please reply either by e-mailing to me directly, or by posting news to this
newsgroup. If there is enough interest, I could summarise any replies to the
net...
ecnavda ni sknahT
[ well, people always say I'm backward :-) :-) ]
-----------------------------------------------------------------------------
JANET address : dcw@uk.ac.ic | Snail Mail : Duncan White,
--------------------------------| Dept of Computing,
This space intentionally | Imperial College,
| 180 Queen's Gate,
left blank...... | South Kensington,
| London SW7
----------------------------------------------------------------------------
Tel: UK 01-589-5111 x 4991/4982
----------------------------------------------------------------------------
Technical Details
Message-ID:
<421@ivax.doc.ic.ac.uk>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!ukc!eagle!icdoc!dcwShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!ukc!eagle!icdoc!dcw From: dcw@doc.ic.ac.uk (Duncan C White) Newsgroups: comp.lang.modula2 Subject: Modula-2 Tool Support Message-ID: <421@ivax.doc.ic.ac.uk> Date: Tue, 7-Apr-87 15:58:04 EST Article-I.D.: ivax.421 Posted: Tue Apr 7 15:58:04 1987 Date-Received: Mon, 13-Apr-87 03:43:46 EST Organization: Dept. of Computing, Imperial College, London, UK. Lines: 82 Keywords: Tools, Parser